Editor Apex API

For more advanced business users and organizations Centerpoint for Salesforce has made available the Editor Apex API giving the organization the ability to fully customize and integrate Centerpoint letters, documents and archive functionality into their business applications in Salesforce.

The Editor Apex API will give access to low level functionality that gives full control, such as:

  • finding templates
  • retrieving data
  • creating letter editing sessions
  • creating, sending and archiving documents on demand and in batch
  • uploading documents
  • reading and writing metadata in the document archive
  • searching for and retrieving documents

Apex Reference Guide

Miscellaneous

MFAPI_WebEditor

This class is the main entry point for the Editor Apex API.

MFWED_ApiTypes

This class contains the data types used by the Editor Apex API.

MFCORE_DataService

This class provides methods to retrieve data from Salesforce and transform it into a complex node.

MFCORE_DataServiceInterface

This class provides the interface for the methods to retrieve data from Salesforce and transform it into a complex node.

MFCORE_TestFactory

This class provides methods to create test data for Salesforce objects.

CustomPermissionsReader

This class is designed to help with caching the results of querying (via SOQL) Custom Permissions for the current user, it will load all defined Custom Permissions in one go for a given default or specified namespace (so not all defined in the org). This is done on the basis the caller will make 2 or more calls to the hasPermission method, thus benefiting from the bulkification approach used. Note that the query to the database is demand loaded only on the first call to the hasPermission method thus constructing the object carries no SOQL / database overhead.