ffr.InquiryTemplateServiceglobal with sharing class InquiryTemplateService
Encapsulates all service layer logic for the Action View Template functionality. For more guidelines and details see https://developer.salesforce.com/page/Apex_Enterprise_Patterns_-_Service_Layer Date2016 Methods
loadglobal static List<ffr.InquiryTemplateService.InquiryTemplate> load(set<ID> ids) Loads the specified action view templates. Input Parameters
Return ValueThis service returns a list of c2g.InquiryTemplateService.InquiryTemplate objects. saveglobal static List<ffr.InquiryTemplateService.InquiryTemplate> save(List<ffr.InquiryTemplateService.InquiryTemplate> templates) Saves the specified action view templates. The rules here are that all fields must be provided as they are to be saved. This means that nulls will be saved as null, potentially wiping any previous value, i.e. partial updates are not supported. Also all child records (the InquiryTemplateColumns and InquiryTemplateFilters) must also be provided with all fields set, any existing child records not in this list will be deleted. The order of InquiryTemplateFilters is preserved on save. Return ValueThis service returns a list of the saved c2g.InquiryTemplateService.InquiryTemplate objects. getAvailableForExportglobal static List<ffr.InquiryTemplateService.InquiryTemplateBaggage> getAvailableForExport() Returns a list of action view templates and dataviews, as baggage descriptors, that are available for export, one for each template available for export. Each baggage descriptor describes the template and its direct dependancies. Return ValueThis service returns a list of c2g.InquiryTemplateService.InquiryTemplateBaggage objects for available templates. getAvailableRCPsglobal static List<ffr.InquiryTemplateService.InquiryTemplateAvailableRCP> getAvailableRCPs(DataviewService.DataView dataview) Get a list of RCPs which could be used with the specified dataview. Return ValueThe related content panes which could be used with the specified dataview. exportBagglobal static ffr.InquiryTemplateService.InquiryTemplateBag exportBag(Set<Id> templatesToExport) Exports the specified action view templates and associated records for running Action Views. All IDs are removed as they are not Org portable (references are by name). Input Parameters
Return ValueThis service returns a c2g.InquiryTemplateService.InquiryTemplateBag object. importBagglobal static ffr.InquiryTemplateService.InquiryTemplateImportsIgnored importBag(ffr.InquiryTemplateService.InquiryTemplateBag bag) Imports the action view templates and associated records in the specified bag. Any which already exist are ignored. No IDs should be present, so all references are resolved by name. Input Parameters
Return ValueThis service returns a c2g.InquiryTemplateService.InquiryTemplateImportsIgnored object containing any imports which were ignored (because they already existed). ffr.InquiryTemplateService.InquiryTemplateglobal class InquiryTemplate Holds an action view template. See "What is an Action View Template?" in the FinancialForce Help for more details. Properties
Methods
InquiryTemplateglobal InquiryTemplate() Creates an API version of an empty action view template object. InquiryTemplateglobal InquiryTemplate(ffr__InquiryTemplate__c sObj, ffr.CommonService.Identity view) Creates an API version of an action view template object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplate__c createSObject() Creates an SObject version of the action view template instance from its API version. ffr.InquiryTemplateService.InquiryTemplateRCPglobal class InquiryTemplateRCP Properties
Methods
InquiryTemplateRCPglobal InquiryTemplateRCP() InquiryTemplateRCPglobal InquiryTemplateRCP(ffr__InquiryTemplateRCP__c sObj) createSObjectglobal ffr__InquiryTemplateRCP__c createSObject() ffr.InquiryTemplateService.InquiryTemplateColumnglobal class InquiryTemplateColumn Holds details of a column defined on an action view template. See "What is an Action View Template?" in the FinancialForce Help for more details. Properties
Methods
InquiryTemplateColumnglobal InquiryTemplateColumn() Creates an API version of an empty action view template column object. InquiryTemplateColumnglobal InquiryTemplateColumn(ffr__InquiryTemplateColumn__c sObj, ffr.CommonService.Identity aField, ffr.CommonService.Identity aDrill) Creates an API version of an action view template column object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateColumn__c createSObject() Creates an SObject version of the action view template instance from its API version. Return ValueThis service returns an InquiryTemplateColumn__c object. ffr.InquiryTemplateService.InquiryTemplateCommonNameglobal class InquiryTemplateCommonName Holds details of a common name override set on an action view template column. Properties
Methods
InquiryTemplateCommonNameglobal InquiryTemplateCommonName() Creates an API version of an empty action view template common name object. InquiryTemplateCommonNameglobal InquiryTemplateCommonName(ffr__InquiryTemplateCommonName__c sObj) Creates an API version of an action view template common name object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateCommonName__c createSObject() Creates an SObject version of the action view template common name instance from its API version. Return ValueThis service returns an InquiryTemplateCommonName__c object. ffr.InquiryTemplateService.InquiryTemplateFilterglobal class InquiryTemplateFilter Holds details of the selection rule defined on an action view template. See "What is an Action View Template?" in the FinancialForce Help for more details. Properties
Methods
InquiryTemplateFilterglobal InquiryTemplateFilter() Creates an API version of an empty action view template filter object. InquiryTemplateFilterglobal InquiryTemplateFilter(ffr__InquiryTemplateFilter__c sObj, ffr.CommonService.Identity theField) Creates an API version of an action view template filter object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateFilter__c createSObject(Id fieldId) Creates an SObject version of the action view template filter instance from its API version. Input Parameters
Return ValueThis service returns an InquiryTemplateFilter__c object. ffr.InquiryTemplateService.InquiryTemplateColumnFilterglobal class InquiryTemplateColumnFilter Creates an API version of an empty action view template filter object. Properties
Methods
InquiryTemplateColumnFilterglobal InquiryTemplateColumnFilter() Creates an API version of an empty action view template column filter object. InquiryTemplateColumnFilterglobal InquiryTemplateColumnFilter(ffr__InquiryTemplateColumnFilter__c sObj, ffr.CommonService.Identity theField) Creates an API version of an action view template column filter object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateColumnFilter__c createSObject(Id fieldId) Creates an SObject version of the action view template column filter instance from its API version. Input Parameters
Return ValueThis service returns an InquiryTemplateColumnFilter__c object. ffr.InquiryTemplateService.InquiryTemplateColumnFormulaglobal class InquiryTemplateColumnFormula Holds details of the formula defined on an action view template column. See "Building Formulae for use in Action Views" in the FinancialForce Help for more details. Properties
Methods
InquiryTemplateColumnFormulaglobal InquiryTemplateColumnFormula() Creates an API version of an empty action view template column formula object. InquiryTemplateColumnFormulaglobal InquiryTemplateColumnFormula(ffr__InquiryTemplateColumnFormula__c sObj) Creates an API version of an action view template column formula object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateColumnFormula__c createSObject() Creates an SObject version of the action view template column formula instance from its API version. ffr.InquiryTemplateService.InquiryTemplateSignFilterglobal class InquiryTemplateSignFilter Holds details of the reverse sign rule defined on an action view template. See "What is an Action View Template?" in the FinancialForce Help for more details. Properties
Methods
InquiryTemplateSignFilterglobal InquiryTemplateSignFilter() Creates an API version of an empty action view template sign filter object. InquiryTemplateSignFilterglobal InquiryTemplateSignFilter(ffr__InquiryTemplateSignFilter__c sObj, ffr.CommonService.Identity theField) Creates an API version of an action view template sign filter object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateSignFilter__c createSObject(Id fieldId) Creates an SObject version of the action view template sign filter instance from its API version. Input Parameters
Return ValueThis service returns an InquiryTemplateSignFilter__c object. ffr.InquiryTemplateService.InquiryTemplateSortItemglobal class InquiryTemplateSortItem Holds details of sorting and grouping options defined on an action view template. Properties
Methods
InquiryTemplateSortItemglobal InquiryTemplateSortItem() Creates an API version of an empty action view template sort item object. InquiryTemplateSortItemglobal InquiryTemplateSortItem(ffr__InquiryTemplateSortItem__c sObj) Creates an API version of an action view template sort item object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateSortItem__c createSObject() Creates an SObject version of the action view template sort item instance from its API version. Return ValueThis service returns an InquiryTemplateSortItem__c object. ffr.InquiryTemplateService.InquiryTemplateExcludedActionglobal class InquiryTemplateExcludedAction Holds details of an action that the action view template excludes from the list of actions available to be performed at runtime. Properties
Methods
InquiryTemplateExcludedActionglobal InquiryTemplateExcludedAction() Creates an API version of an empty action view template excluded action object. InquiryTemplateExcludedActionglobal InquiryTemplateExcludedAction(ffr__InquiryTemplateExcludedAction__c sObj) Creates an API version of an empty action view template excluded action object. Input Parameters
createSObjectglobal ffr__InquiryTemplateExcludedAction__c createSObject(Id DataViewActionId) Creates an SObject version of the action view template excluded action instance from its API version. Input Parameters
Return ValueThis service returns an InquiryTemplateExcludedAction__c object. ffr.InquiryTemplateService.InquiryTemplateTransposeDrillglobal class InquiryTemplateTransposeDrill Holds details of the drill template to use for each value of a transposed field in an action view template column. Properties
Methods
InquiryTemplateTransposeDrillglobal InquiryTemplateTransposeDrill() Creates an API version of an empty action view template transpose drill object. InquiryTemplateTransposeDrillglobal InquiryTemplateTransposeDrill(ffr__InquiryTemplateTransposeDrill__c sObj, ffr.CommonService.Identity fieldIdentity, ffr.CommonService.Identity drillTemplateIdentity) Creates an API version of an action view template transpose drill object using the specified parameters. Input Parameters
createSObjectglobal ffr__InquiryTemplateTransposeDrill__c createSObject() Creates an SObject version of the action view template transpose drill instance from its API version. ffr.InquiryTemplateService.InquiryTemplateBaggageglobal class InquiryTemplateBaggage Holds a list of action view templates and dataviews that are available for export. Properties
MethodsInquiryTemplateBaggageglobal InquiryTemplateBaggage() Creates an API version of an empty action view template baggage object. ffr.InquiryTemplateService.InquiryTemplateBagglobal class InquiryTemplateBag Holds action view templates and associated records that you are exporting from one organization and importing into another organization. Properties
MethodsInquiryTemplateBagglobal InquiryTemplateBag() Creates an API version of an empty action view template bag object. ffr.InquiryTemplateService.InquiryTemplateImportsIgnoredglobal class InquiryTemplateImportsIgnored Holds details of any dataviews, action view templates and summarization templates that were ignored by the import process. This happens when a dataview, action view template or summarization template with the same name already exists in the organization. Properties
MethodsInquiryTemplateImportsIgnoredglobal InquiryTemplateImportsIgnored() Creates an API version of an empty action view template imports ignored object. ffr.InquiryTemplateService.InquiryTemplateAvailableRCPglobal class InquiryTemplateAvailableRCP Properties
Methods
InquiryTemplateAvailableRCPglobal InquiryTemplateAvailableRCP() InquiryTemplateAvailableRCPglobal InquiryTemplateAvailableRCP(ffr__RelatedContentPane__c pane) |