public class CommunicationScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.CommunicationScriptService
Accela Automation
File: CommunicationScript.java
Accela, Inc.
Copyright (C): 2012-2014
Description:
The implementation for the communication script, which will be used by the scripters.
Notes:
$Id: CommunicationScript.java 72642 2009-01-01 20:01:57Z ..\tom.liang $
Revision History
<Date>, <Who>, <What>
Dec 31, 2012 tom.liang Initial.
| Constructor and Description |
|---|
CommunicationScript()
CommunicationScript Constructor.
|
CommunicationScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
CommunicationScript Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
associateEnities(java.lang.String communicationId,
java.lang.String entityId,
java.lang.String entityType)
associate entities.
|
ScriptResult |
createTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
create external outlook task
|
ScriptResult |
deleteTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
delete external outlook task
|
ScriptResult |
getContactList(java.lang.String[][] params,
java.lang.String messageType)
Get contanct list.
|
ScriptResult |
getEmailMessageScriptModel()
Return email message object.
|
ScriptResult |
getI18nVariables()
Get I18n variables.
|
ScriptResult |
getNewTaskModel()
Returns a new TaskModel object.
|
ScriptResult |
getNotificationTemplate(java.lang.String templateName)
Get notification template.
|
ScriptResult |
getNotificationTemplateModel()
Return notification template object.
|
ScriptResult |
getSMSMessageScriptModel()
Return sms message object.
|
ScriptResult |
resendFailedMessages(java.lang.String[] types)
Resend failed messages.
|
ScriptResult |
sendMessage(EmailMessageScriptModel messageScriptModel)
Send message by message model.
|
ScriptResult |
sendMessage(SMSMessageScriptModel messageScriptModel)
Send message.
|
ScriptResult |
sendMessages(java.lang.String templateName,
java.util.Hashtable<java.lang.String,java.lang.String> variables,
java.lang.String triggerEvent)
Send message by notification template.
|
ScriptResult |
sendMessages(java.lang.String templateName,
java.util.Hashtable<java.lang.String,java.lang.String> variables,
java.lang.String triggerEvent,
java.lang.String[][] relatedEntities)
Send messages.
|
ScriptResult |
sendMessagesWithI18NParameters(java.lang.String templateName,
java.util.Hashtable<java.lang.String,java.util.Hashtable<java.lang.String,java.lang.String>> i18nVariables,
java.lang.String triggerEvent)
Send message with I18N parameters
|
ScriptResult |
updateTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
update external outlook task
|
public CommunicationScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - The AA exceptionpublic CommunicationScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
serviceProviderCode - auditID - com.accela.aa.exception.AAExceptionpublic ScriptResult createTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
com.accela.aa.emse.dom.service.CommunicationScriptServicecreateTask in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult deleteTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
com.accela.aa.emse.dom.service.CommunicationScriptServicedeleteTask in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult updateTask(com.accela.aa.notification.model.CalendarTaskModel taskModel)
com.accela.aa.emse.dom.service.CommunicationScriptServiceupdateTask in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult getNewTaskModel()
com.accela.aa.emse.dom.service.CommunicationScriptServicegetNewTaskModel in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult associateEnities(java.lang.String communicationId, java.lang.String entityId, java.lang.String entityType)
com.accela.aa.emse.dom.service.CommunicationScriptServiceassociateEnities in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult getEmailMessageScriptModel()
com.accela.aa.emse.dom.service.CommunicationScriptServicegetEmailMessageScriptModel in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult getSMSMessageScriptModel()
com.accela.aa.emse.dom.service.CommunicationScriptServicegetSMSMessageScriptModel in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult getNotificationTemplate(java.lang.String templateName) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.CommunicationScriptServicegetNotificationTemplate in interface com.accela.aa.emse.dom.service.CommunicationScriptServicecom.accela.aa.exception.AAExceptionpublic ScriptResult getNotificationTemplateModel()
com.accela.aa.emse.dom.service.CommunicationScriptServicegetNotificationTemplateModel in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult sendMessage(EmailMessageScriptModel messageScriptModel) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.CommunicationScriptServicesendMessage in interface com.accela.aa.emse.dom.service.CommunicationScriptServicecom.accela.aa.exception.AAExceptionpublic ScriptResult sendMessage(SMSMessageScriptModel messageScriptModel) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.CommunicationScriptServicesendMessage in interface com.accela.aa.emse.dom.service.CommunicationScriptServicemessageScriptModel - the message script modelcom.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult sendMessages(java.lang.String templateName, java.util.Hashtable<java.lang.String,java.lang.String> variables, java.lang.String triggerEvent) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.CommunicationScriptServicesendMessages in interface com.accela.aa.emse.dom.service.CommunicationScriptServicecom.accela.aa.exception.AAExceptionpublic ScriptResult sendMessages(java.lang.String templateName, java.util.Hashtable<java.lang.String,java.lang.String> variables, java.lang.String triggerEvent, java.lang.String[][] relatedEntities) throws com.accela.aa.exception.AAException
sendMessages in interface com.accela.aa.emse.dom.service.CommunicationScriptServicetemplateName - the template namevariables - the variablestriggerEvent - the trigger eventrelatedEntities - the related entitiescom.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult sendMessagesWithI18NParameters(java.lang.String templateName, java.util.Hashtable<java.lang.String,java.util.Hashtable<java.lang.String,java.lang.String>> i18nVariables, java.lang.String triggerEvent) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.CommunicationScriptServicesendMessagesWithI18NParameters in interface com.accela.aa.emse.dom.service.CommunicationScriptServicecom.accela.aa.exception.AAExceptionpublic ScriptResult getContactList(java.lang.String[][] params, java.lang.String messageType)
com.accela.aa.emse.dom.service.CommunicationScriptServicegetContactList in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult resendFailedMessages(java.lang.String[] types)
com.accela.aa.emse.dom.service.CommunicationScriptServiceresendFailedMessages in interface com.accela.aa.emse.dom.service.CommunicationScriptServicepublic ScriptResult getI18nVariables()
com.accela.aa.emse.dom.service.CommunicationScriptServicegetI18nVariables in interface com.accela.aa.emse.dom.service.CommunicationScriptService