Package | Description |
---|---|
com.platform.api |
Modifier and Type | Method and Description |
---|---|
static Result |
Functions.addAuditLog(String referenceId,
String descriptionKey,
String typeCode,
String operationCode,
String objectKey,
String oldName,
String newName,
Parameters params)
Adding audit log entry
|
static Result |
Functions.addEvent(String subject,
String ownerID,
Date startDate,
int hour,
int min,
int duration)
This method Adds an event with specified values.
|
static Result |
Functions.addEvent(String subject,
String ownerID,
Date startDate,
int hour,
int min,
int duration,
Parameters params)
This method Adds an event with specified values.
|
static Result |
Functions.addRecord(String objectId,
Parameters params)
This method Adds a new record of type objectId with values from params.
|
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.addTask(String subject,
Date dueDate,
String ownerId)
Deprecated.
Use addRecord("tasks",...) instead.
|
static Result |
Functions.addTask(String subject,
Date dueDate,
String ownerId,
Parameters params)
Deprecated.
Use addRecord("tasks",...) instead.
|
static Result |
Functions.addToRecordForImport(HashMap paramsToRecord) |
static Result |
Functions.assignToTeam(String objectId,
String recordId,
String teamId)
This method does ownership change to team
|
static Result |
Functions.changeOwnerShipInfo(String objectId,
String recordId,
String ownerId,
boolean notifyOwner)
This method does ownership change and sends notification email to the new owner
|
static Result |
Functions.deleteEvent(String eventId)
This method Deletes the event of the specified eventID.
|
static Result |
Functions.deleteJob(String jobId)
This method will be called when user requests for deleting the scheduled job
|
static Result |
Functions.deleteRecord(String objectId,
String id)
This Method deletes the specified Record
|
static Result |
Functions.deleteRecord(String objectId,
String id,
Parameters params)
This Method deletes the specified Record, This is a overloaded method which takes Parameters Instance also,
This method is useful if user would like to skip the data policy on delete or use the parameters to other data policies,
all these can be possible through the params.
|
static Result |
Functions.deleteRecord(String objectId,
String id,
TenantContext tenantContext)
This Method deletes the specified Record in specified tenant
|
static Result |
Functions.deleteTask(String record_id)
Deprecated.
Use deleteRecord("tasks",...) instead.
|
static Result |
Functions.execSQL(String sql) |
static Result |
Functions.generateDocument(String objectId,
String id,
String templateId,
String format)
This Method Generates document of templateId evaluated with params in the format.
|
static Result |
Functions.getDocument(String documentId)
This method returns the document for the specified document id.
|
static Result |
Functions.getRecord(String objectId,
String columns,
String recordId)
This method gets the record with specified fields.
|
static Result |
Functions.getRecord(String objectId,
String columns,
String recordId,
Parameters scriptingParams)
This method gets the record with specified fields.
|
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 Result |
Functions.logActivity(String subject,
String objectId,
String id,
String activityByID,
Parameters params)
This method Logs an activity in a record; Logged activities appear in the Activity History section of Related Information.
|
static Result |
Functions.removeFromRecordForImport(HashMap paramsToRecord) |
static Result |
Functions.searchRecords(SearchContext searchContext)
This method is used to search the records using Search Context
SearchContext has to filled with valid objectId, field List etc.
|
static Result |
Functions.searchRecords(String objectId,
String fields,
String criteria)
This method Search and retrieve the records for an object.
|
static Result |
Functions.searchRecords(String objectId,
String fields,
String criteria,
Parameters params)
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)
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,
Parameters params)
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)
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)
This method sends a Email.
|
static Result |
Functions.sendEmail(String objectId,
String id,
String to,
String cc,
String bcc,
String subject,
String body,
String attachmentTemplateId,
String attachmentIdList)
This method sends an Email.
|
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.sendEmailUsingTemplate(String objectId,
String id,
String to,
String cc,
String subject,
String bodyTemplateId,
String attachmentTemplateId,
String attachmentIdList)
This method sends an Email evaluating the Template identified by bodyTemplateId as the body of the email message.
|
static Result |
Functions.sendEmailUsingTemplate(String objectId,
String id,
String to,
String cc,
String bcc,
String subject,
String bodyTemplateId,
String attachmentTemplateId,
String attachmentIdList)
This method sends an Email evaluating the Template identified by bodyTemplateId as the body of the email message.
|
static Result |
Functions.sendEmailUsingTemplate(String objectId,
String id,
String to,
String cc,
String bcc,
String subject,
String bodyTemplateId,
String attachmentTemplateId,
String attachmentIdList,
String fromName,
String fromAddress)
This method sends an Email, evaluating the Template identified by bodyTemplateId as the body of the email message.
|
static Result |
Functions.updateEvent(String eventId,
Parameters params)
This method Updates an event with values in params.
|
static Result |
Functions.updateRecord(String objectId,
String id,
Parameters params)
This method Updates record of type objectId with values params.
|
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.
|
static Result |
Functions.updateTask(String taskId,
Parameters params)
Deprecated.
- Use updateRecord("tasks",...) instead.
|