Package | Description |
---|---|
com.platform.api |
Modifier and Type | Method and Description |
---|---|
static Result |
Functions.addRecord(String objectId,
Parameters params,
TenantContext tenantContext)
This method Adds a new record of type objectId with values from params in specified Tenant.
|
static Result |
Functions.deleteRecord(String objectId,
String id,
TenantContext tenantContext)
This Method deletes the specified Record in specified tenant
|
static FieldMetaDataBean |
Functions.getFieldMetaData(String objectName,
String fieldName,
TenantContext tenantContext)
This method return the meta data information of specified field of an object
|
static Result |
Functions.getRecord(String objectId,
String columns,
String recordId,
TenantContext tenantContext)
This method gets the record with specified fields for the specified Tenant
|
static Result |
Functions.getRecord(String objectId,
String columns,
String recordId,
TenantContext tenantContext,
Parameters scriptingParams)
This method gets the record with specified fields for a specified Tenant.
|
static int |
Functions.getRecordCount(String objectId,
String criteria,
TenantContext tenantContext)
This method returns the number of records and results depends on the criteria in a specified tenant
|
static String |
Functions.replaceTemplateVariables(String text,
String objectId,
String recordId,
TenantContext tenantContext)
This method is used to mail merge using tenant context
|
static Result |
Functions.searchRecords(String objectId,
String fields,
String criteria,
String sortBy,
String sortOrder,
String sortBy2,
String sortOrder2,
int offset,
int numberOfRows,
TenantContext tenantContext)
This method Search and retrieve the records for an object.
|
static Result |
Functions.searchRecords(String objectId,
String fields,
String criteria,
String sortBy,
String sortOrder,
String sortBy2,
String sortOrder2,
int offset,
int numberOfRows,
TenantContext tenantContext,
Parameters params)
This method Search and retrieve the records for an object for a specified Tenant.
|
static Result |
Functions.searchRecords(String objectId,
String columns,
String criteria,
TenantContext tenantContext)
This method Search and retrieve the records for an object in specified Tenant
|
static Result |
Functions.searchRecords(String objectId,
String columns,
String criteria,
TenantContext tenantContext,
Parameters params)
This method Search and retrieve the records for an object in specified Tenant.
|
static Result |
Functions.sendEmail(String objectId,
String id,
String to,
String cc,
String subject,
String body,
String attachmentTemplateId,
String attachmentIdList,
TenantContext tenantContext)
This method sends a Email for another tenant Record ID using Tenant Context.
|
static Result |
Functions.updateRecord(String objectId,
String id,
Parameters params,
TenantContext tenantContext)
This method Updates record of type objectId with values params in specified tenant.
|