Accounting API Developer's Reference
|
c2g.SummarizationServiceglobal with sharing class SummarizationService The service class relating to Summarization in FinancialForce Accounting. Methods
getAvailableSummarizationObjectsglobal static List<c2g.SummarizationService.Destination> getAvailableSummarizationObjects(String objectNameFragment) Returns a list of available summarization object names with the given fragment Input Parameters
Return ValueList<String> a list of available summarization object names with the given fragment getTemplatesglobal static List<c2g.SummarizationService.SummarizationTemplate> getTemplates(Set<Id> templateIds) Returns a list containing all Summarization Templates in the database for the given Ids Input Parameters
Return ValueList<SummarizationService.SummarizationTemplate> a list of all Summarization Templates for the given ids. saveTemplatesglobal static List<Id> saveTemplates(Set<c2g.SummarizationService.SummarizationTemplate> templates) Save the given Summarization Templates Input Parameters
Return ValueList<Id> The Ids of the Summarization Templates which have been saved runSummarizationglobal static void runSummarization(Set<Id> summarizationTemplateIds) Run the summarization batch job for the specified summarization templates. Input Parameters
Exceptions Thrown
saveAndRunSummarizationTemplatesglobal static List<Id> saveAndRunSummarizationTemplates(Set<c2g.SummarizationService.SummarizationTemplate> templates) Save and run the given Summarization Templates. Input Parameters
Return ValueList<Id> The Ids of the Summarization Templates which have been saved purgeTemplateDataglobal static void purgeTemplateData(Set<id> templatesToPurge) Purges all summarized data (Ie data on the destination table) for the given summarization template Ids Input Parameters
scheduleSummarizationglobal static void scheduleSummarization(Set<Id> summarizationTemplateIds, c2g.CronSpec cron) Schedule the summarizations for the template Ids passed in to run based on the c2g.CronSpec given. Input Parameters
unscheduleSummarizationglobal static void unscheduleSummarization(Set<Id> summarizationTemplateIds) Remove the summarization schedules for the template Ids passed in. Input Parameters
c2g.SummarizationService.Filterglobal class Filter implements ISummarizationServiceObject A data transfer object (DTO) that corresponds to the Filter__c SObject. A Filter contains a number of filter elements to define the rules to be imposed on a particular field of a table (SObject). These rules determine the inclusion of data in particular cells of the specified field. Properties
MethodsFilterglobal Filter() c2g.SummarizationService.FilterElementglobal class FilterElement implements ISummarizationServiceObject, Comparable A data transfer object (DTO) that corresponds to the FilterElement__c SObject. A FilterElement defines the rules to be imposed on a particular field of a table (SObject). These rules determine the inclusion of data in particular cells of the specified field. Properties
MethodsFilterElementglobal FilterElement() c2g.SummarizationService.SummarizationTemplateglobal class SummarizationTemplate implements ISummarizationServiceObject A data transfer object (DTO) that corresponds to the SummarizationTemplate__c SObject. A summarization template groups all the objects relating to one summarization template. Properties
MethodsSummarizationTemplateglobal SummarizationTemplate() c2g.SummarizationService.SummarizationTemplateFieldProcessglobal class SummarizationTemplateFieldProcess implements ISummarizationServiceObject A data transfer object (DTO) that corresponds to the SummarizationTemplateFieldProcess__c SObject. A summarization template field process object defines the means of aggregation to be imposed upon a particular field. Properties
MethodsSummarizationTemplateFieldProcessglobal SummarizationTemplateFieldProcess() c2g.SummarizationService.ObjectToObjectMapglobal class ObjectToObjectMap implements ISummarizationServiceObject A data transfer object (DTO) that corresponds to the ObjectToObjectMap__c SObject. An ObjectToObjectMap represents how one or more SObject's fields link to another's, or to several other SObjects' fields. Properties
MethodsObjectToObjectMapglobal ObjectToObjectMap() c2g.SummarizationService.ObjectToObjectMapFieldLinkglobal class ObjectToObjectMapFieldLink implements ISummarizationServiceObject A data transfer object (DTO) that corresponds to the ObjectToObjectMapFieldLink__c SObject. An ObjectToObjectMapFieldLink defines the association between a field on one SObject and a field on another. Properties
MethodsObjectToObjectMapFieldLinkglobal ObjectToObjectMapFieldLink() c2g.SummarizationService.Destinationglobal class Destination A data transfer object (DTO) that specifies a destination object for the summarization process. This object is read only. Properties
|