Reporting API Documentation
|
ffr.RelatedContentPaneComponentBaseglobal abstract class RelatedContentPaneComponentBase Base class for a Related Content Pane Component Date2016 Properties
Methods
requiredPicklistFieldsglobal virtual Map<SObjectType, Set<SObjectField>> requiredPicklistFields() Gets any required picklist fields for the component addDependentComponentsglobal virtual void addDependentComponents(Map<String, ApexPages.Component> dependentComponentMap) getDependenciesglobal virtual Map<Schema.SObjectType, List<String>> getDependencies(String config) A method to get a map of dependancies of a component. This is keyed by sObject type of any dependancies Input Parameters
createPaletteComponentglobal abstract ffr.RelatedContentPaneComponentBase.PaletteComponent createPaletteComponent(Schema.DescribeSObjectResult drivingEntity) A base method to return the pallette component for the given driving entity. Return null if not supported. Input Parameters
createRuntimeComponentglobal abstract ffr.RelatedContentPaneComponentBase.RuntimeComponent createRuntimeComponent(Schema.DescribeSObjectResult drivingEntity, String configJson) A base method to return the component instance for the given driving entity and configuration. Input Parameters
requiredLabelsglobal abstract Map<String, String> requiredLabels() Gets any required labels for the component getApexClassglobal abstract String getApexClass() A base method to get the name of the components apex class ffr.RelatedContentPaneComponentBase.ObjectReferenceglobal class ObjectReference Holds a reference to a salesforce object. Properties
Methods
ObjectReferenceglobal ObjectReference(Schema.SObjectType objectType) Creates an API version of an object reference object using the specified parameters. Input Parameters
addFieldglobal void addField(Schema.SObjectField field) Adds a field to the objects set of fields Input Parameters
lookupglobal ffr.RelatedContentPaneComponentBase.ObjectReference lookup(Schema.SObjectField lookupField) Gets the object reference from a lookup field Input Parameters
subQueryglobal ffr.RelatedContentPaneComponentBase.ObjectReference subQuery(Schema.ChildRelationship relationship) Gets the object reference from a child relationship Input Parameters
buildQueryglobal String buildQuery(String whereClause) Builds a query for the object Input Parameters
ffr.RelatedContentPaneComponentBase.IPaletteCommandHandlerglobal interface IPaletteCommandHandler An interface for a palette command handler MethodsgetArgumentTypeType getArgumentType() runObject run(Schema.DescribeSObjectResult drivingEntity, Object arg) ffr.RelatedContentPaneComponentBase.ICommandHandlerglobal interface ICommandHandler An interface for a command handler MethodsgetArgumentTypeType getArgumentType() Returns the class type that describes the third parameter of the run method. This is used for deserialising the generic object. runObject run(Id drivingId, Object config, Object arg) Performs the runtime command. Because of the limitations of Salesforce's reflection, we can only generically create instances of classes, not methods. Input Parameters
ffr.RelatedContentPaneComponentBase.PaletteComponentglobal abstract class PaletteComponent A base for a palette component Properties
Methods
PaletteComponentglobal PaletteComponent(Schema.DescribeSObjectResult drivingEntity) Creates an API version of a palette component using the specified parameters. Input Parameters
getRuntimeComponentClassglobal abstract String getRuntimeComponentClass() A base method to get the runtime component class of the component getConfigDialogClassglobal virtual String getConfigDialogClass() Get the config dialog class of the component getMinSizeglobal abstract ffr.CommonService.Size getMinSize() A base method to get the minimum size of the component getMaxSizeglobal abstract ffr.CommonService.Size getMaxSize() A base method to get the maximum size of the component getApexClassglobal abstract String getApexClass() A base method to get the apex class name for the component validateConfigglobal abstract void validateConfig(ffr.RelatedContentPaneService.Component rcpCompDTO) A base method to validate the config for a related content pane component Input Parameters
performPaletteCallglobal virtual Object performPaletteCall(String command, String argJSON) Perform a request on behalf of the client. ffr.RelatedContentPaneComponentBase.RuntimeComponentglobal abstract class RuntimeComponent A base for a runtime component Properties
Methods
RuntimeComponentglobal RuntimeComponent(Schema.DescribeSObjectResult drivingEntity, Object config) Creates an API version of a runtime component using the specified parameters. Input Parameters
getQueryRequirementsglobal virtual void getQueryRequirements(ffr.RelatedContentPaneComponentBase.ObjectReference drivingEntityRef) Get the query requirements for a component Input Parameters
getExtraDataglobal virtual void getExtraData(Id dataId, SObject dataRow, Map<String, Object> extraData) Gets any extra data needed for a component getApexClassglobal abstract String getApexClass() A base method to get the apex class name of a component performServerCallglobal virtual Object performServerCall(Id drivingId, String command, String argJSON) Perform a request on behalf of the client. |