| | |
| | | public String sobjectPrefix{set;get;} |
| | | public String sobjecttypeForFrontEnd{set;get;} |
| | | public String sfRecordIdForEdit{set;get;}//Add By LiJun for edit record from daily report, 20220510 |
| | | public final string ApiPrefix{get;private set;} //Add By zhj 20220511 |
| | | public Map<string,string> AWSToSobjectEncryptedMap{get;private set;}//Add By zhj 20220511 |
| | | public string AWSToSobjectEncryptedMapJson{get{return JSON.serialize(AWSToSobjectEncryptedMap);}}//Add By zhj 20220511 |
| | | //zhj MEBG新方案改造 2022-11-29 start |
| | | public String staticResourceV2 {get; set;} |
| | | //zhj MEBG新方案改造 2022-11-29 end |
| | | |
| | | // public String sobjectId{set;get;} |
| | | public OnCallController(ApexPages.StandardController controller) { |
| | | ApiPrefix = 'PIBackApi'; |
| | | // sobjectId = [SELECT CustomObjectId,CustomObjectName FROM CustomObjectUserLicenseMetrics where CustomObjectName ='OnCall' limit 1].CustomObjectId; |
| | | isNewMode = true; |
| | | isCloneMode = false; |
| | |
| | | staticResource = JSON.serialize(piIntegration); |
| | | encryptedAPIList = piIntegration.PIFields; |
| | | sobjectPrefix = piIntegration.sobjectPrefix; |
| | | //Add By zhj 20220511 |
| | | AWSToSobjectEncryptedMap = new Map<String,String>(); |
| | | for (PI_Field_Policy_Detail__c PIDetail : piIntegration.PIDetails) { |
| | | AWSToSobjectEncryptedMap.put(PIDetail.AWS_Field_API__c, PIDetail.SF_Field_API_Name__c); |
| | | } |
| | | //zhj MEBG新方案改造 2022-11-29 start |
| | | staticResourceV2 = JSON.serialize(PIHelper.getPIIntegrationInfo('On_Call__cV2')); |
| | | //zhj MEBG新方案改造 2022-11-29 end |
| | | } |
| | | |
| | | global class Response{ |