public class CRMProcessCommunicationBean extends CRMProcess
| Constructor and Description |
|---|
CRMProcessCommunicationBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
anonymizeContactCommunications(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Anonymizes the given contact information communication
|
com.crm.dataobject.communications.CRMDOCommunication |
applyCommonOperations(com.crm.dataobject.communications.CRMDOCommunication communication)
Executes the common operations of a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
applyURLShortener(com.crm.dataobject.communications.CRMDOCommunication communication)
Applies a URL shortener to a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
assignReferringEntity(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.CRMDO mainDTO)
Assigns a related entity to a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
communicateEntity(com.crm.dataobject.CRMDO mainDTO,
java.lang.String recipient,
java.lang.String subject,
java.lang.String content,
com.crm.dataobject.communications.CommunicationLifeCycleState lifeCycleState,
java.util.Date expirationDate,
com.crm.dataobject.communications.CRMDOCommunicationCategory category,
com.crm.dataobject.communications.CommunicationMedia media,
com.crm.dataobject.communications.CommunicationDirection direction,
com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate,
com.crm.dataobject.communications.CRMDOCommunicationQueueExternalSystem queueExternalSystem,
java.util.HashMap<java.lang.String,java.lang.Object> unboundParameters,
com.crm.dataobject.communications.CRMDOCommunicationDefinition definition)
Creates a communication for a referring entity.
|
com.crm.dataobject.communications.CRMDOCommunication |
complete(com.crm.dataobject.communications.CRMDOCommunication communication)
Complete communication process:
The job's actual completed date is set
Validate if communication can complete
Stock out physical goods
Validate and save communication
|
com.crm.dataobject.communications.CRMDOCommunication |
complete(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Complete communication process:
The job's actual completed date is set
Validate if communication can complete
Stock out physical goods
Validate and save communication
|
com.crm.dataobject.communications.CRMDOCommunication |
copyAttributesFromDefinition(com.crm.dataobject.communications.CRMDOCommunication communication)
Copies the default information of the active communication definition to a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
copyAttributesFromDefinition(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition definition)
Copies the default information of the active communication definition to a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
copyAttributesFromTemplate(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationTemplate template)
Copies a communication's template attributes into a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
create(com.crm.dataobject.communications.CRMDOCommunication communication)
Creates a communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
delete(com.crm.dataobject.communications.CRMDOCommunication communication)
Deletes a communication.
|
void |
dynamicActionEmailTrack(java.lang.String action,
java.lang.String communicationID,
java.lang.String organisationID,
java.lang.String token)
Update a communication based on dynamic action
|
void |
dynamicActionLinkTrack(java.lang.String action,
java.lang.String link,
java.lang.String communicationID,
java.lang.String organisationID,
java.lang.String token)
Update a communication based on dynamic action
|
com.crm.dataobject.communications.CRMDOCommunication |
followUp(com.crm.dataobject.communications.CRMDOCommunication communication)
This process follows up a communication (does not save the followed up communication)
Creates a followed up communication of a communication
Sets followed up communication as Draft
Set initial communication on followed up communication
Copies default information from the active definition
|
void |
handleExternalLinks(java.lang.String action,
java.lang.String entityID,
java.lang.String organisationID,
java.lang.String redirectionURL,
java.lang.String token)
Handles the external links and updates the related entity based on the dynamic action.
|
void |
handleExternalLinks(java.lang.String action,
java.lang.String entityID,
java.lang.String contactInformationID,
java.lang.String organisationID,
java.lang.String redirectionURL,
java.lang.String token)
Handles the external links and updates the related entity based on the dynamic action.
|
com.crm.dataobject.communications.CRMDOCommunication |
initialize(com.crm.dataobject.communications.CRMDOCommunication communication)
Initializes a communication with default values when needed.
|
java.lang.Boolean |
isAccessible(com.crm.dataobject.communications.CRMDOCommunication communication)
Determines if a communication is retrievable.
|
java.lang.Boolean |
isAccessible(com.crm.dataobject.communications.CRMDOCommunicationTrackingLink communicationTrackingLink)
Determines if a communication tracking link is retrievable.
|
java.lang.Boolean |
isAccessible(com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter communicationUnboundParameter)
Determines if a communication unbound parameter is retrievable.
|
java.lang.Boolean |
isExpired(com.crm.dataobject.communications.CRMDOCommunication communication) |
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> |
list(com.crm.dataobject.communications.CommunicationSearchCriteria searchCriteria)
Lists communication objects based on the given criteria.
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> |
listFollowUpCommunications(com.crm.dataobject.communications.CRMDOCommunication communication)
Lists follow up communications of the given communication.
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> |
listFollowUpCommunications(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
Lists follow up communications of the given communication.
|
java.util.ArrayList<com.crm.framework.metadata.Entity> |
listRelatedEntities(com.crm.dataobject.communications.CRMDOCommunication communication)
Loads the communication related entities
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationTrackingLink> |
listTrackingLinks(com.crm.dataobject.communications.CRMDOCommunication communication)
Lists the tracking links of the given communication.
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationTrackingLink> |
listTrackingLinks(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
Lists the tracking links of the given communication.
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter> |
listUnboundParameters(com.crm.dataobject.communications.CRMDOCommunication communication)
Lists the unbound parameters of the given communication.
|
java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter> |
listUnboundParameters(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
Lists the unbound parameters of the given communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
newCommunication(com.crm.dataobject.CRMDO mainDTO)
Instantiates and initializes a new communication.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
newUnboundParameter(com.crm.dataobject.communications.CRMDOCommunication communication)
Instantiates and initializes a new communication unbound parameter.
|
com.crm.dataobject.communications.CRMDOCommunication |
read(com.crm.dataobject.notifications.CRMDONotification notification)
Reads a communication by specifying the notification.
|
com.crm.dataobject.communications.CRMDOCommunication |
read(com.crm.dataobject.notifications.CRMDONotification notification,
java.util.ArrayList<java.lang.String> associations)
Reads a communication by specifying the notification.
|
com.crm.dataobject.communications.CRMDOCommunication |
read(java.lang.String id)
Reads a communication by specifying the communication ID.
|
com.crm.dataobject.communications.CRMDOCommunication |
read(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
Reads a communication by specifying the communication ID.
|
com.crm.dataobject.communications.CRMDOCommunication |
readByNumber(java.lang.String number)
Reads a communication by specifying the communication number.
|
com.crm.dataobject.communications.CRMDOCommunication |
readByNumber(java.lang.String number,
java.util.ArrayList<java.lang.String> associations)
Reads a communication by specifying the communication number.
|
com.crm.dataobject.communications.CRMDOCommunicationTrackingLink |
readTrackingLink(com.crm.dataobject.communications.CRMDOCommunication communication,
java.lang.String url)
Reads a communication tracking link by specifying the related communication and a url.
|
com.crm.dataobject.communications.CRMDOCommunicationTrackingLink |
readTrackingLink(com.crm.dataobject.communications.CRMDOCommunication communication,
java.lang.String url,
java.util.ArrayList<java.lang.String> associations)
Reads a communication tracking link by specifying the related communication and a url.
|
com.crm.dataobject.communications.CRMDOCommunicationTrackingLink |
readTrackingLink(java.lang.String id)
Reads a communication tracking link by specifying the tracking link ID.
|
com.crm.dataobject.communications.CRMDOCommunicationTrackingLink |
readTrackingLink(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
Reads a communication tracking link by specifying the tracking link ID.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameter(java.lang.String id)
Reads a communication unbound parameter by specifying the unbound parameter ID.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameter(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
Reads a communication unbound parameter by specifying the unbound parameter ID.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameterByKey(java.lang.String key,
com.crm.dataobject.communications.CRMDOCommunication communication)
Reads a communication unbound parameter by specifying the unbound parameter key and the related communication.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameterByKey(java.lang.String key,
com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
Reads a communication unbound parameter by specifying the unbound parameter key and the related communication.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameterByName(java.lang.String name,
com.crm.dataobject.communications.CRMDOCommunication communication)
Reads a communication tracking link by specifying the unbound parameter name and the related communication.
|
com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter |
readUnboundParameterByName(java.lang.String name,
com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
Reads a communication unbound parameter by specifying the unbound parameter name and the related communication.
|
com.crm.dataobject.communications.CRMDOCommunication |
replaceDynamicLinks(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Replace the dynamic links on a communication's content
|
com.crm.dataobject.communications.CRMDOCommunication |
replaceTags(com.crm.dataobject.communications.CRMDOCommunication communication)
Replace the tags of a communication.
|
void |
sendCommunications(AccessTokenRequiresVerificationEvent communicationEvent) |
void |
sendCommunications(AccountReceivableActivateEvent communicationEvent) |
void |
sendCommunications(AccountReceivableAddMemberInGroupEvent communicationEvent) |
void |
sendCommunications(AccountReceivableRemoveMemberFromGroupEvent communicationEvent) |
void |
sendCommunications(AccountReceivableSuspendEvent communicationEvent) |
void |
sendCommunications(AccountReceivableTerminateEvent communicationEvent) |
void |
sendCommunications(AccountReceivableUpdateEvent communicationEvent) |
void |
sendCommunications(ActivityCancellationEvent communicationEvent) |
void |
sendCommunications(ActivityCompletionEvent communicationEvent) |
void |
sendCommunications(ActivityCreationEvent communicationEvent) |
void |
sendCommunications(ActivityStartProgressEvent communicationEvent) |
void |
sendCommunications(ActivityUpdateEvent communicationEvent) |
void |
sendCommunications(java.util.ArrayList<com.crm.dataobject.communications.CommunicationInfo> communicationsInfo) |
void |
sendCommunications(AssignAccessTokenToAccountEvent communicationEvent) |
void |
sendCommunications(AssignKYCProfileEvent communicationEvent) |
void |
sendCommunications(AutoGenerateAccessTokenPassCodeForAccountEvent communicationEvent) |
void |
sendCommunications(CancelElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(CancelJobEvent communicationEvent) |
void |
sendCommunications(CancelMemberElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(CancelMemberJobEvent communicationEvent) |
void |
sendCommunications(CancelMemberPrintedVoucherEvent communicationEvent) |
void |
sendCommunications(CancelPrintedVoucherEvent communicationEvent) |
void |
sendCommunications(CompleteJobEvent communicationEvent) |
void |
sendCommunications(CompleteMemberJobEvent communicationEvent) |
void |
sendCommunications(CompleteMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(CompleteServiceRequestEvent communicationEvent) |
void |
sendCommunications(CreateContactInformationEvent communicationEvent) |
void |
sendCommunications(CreateCreditWalletTransactionEvent communicationEvent) |
void |
sendCommunications(CreateDebitWalletTransactionEvent communicationEvent) |
void |
sendCommunications(CreateJobEvent communicationEvent) |
void |
sendCommunications(CreateMemberCreditWalletTransactionEvent communicationEvent) |
void |
sendCommunications(CreateMemberDebitWalletTransactionEvent communicationEvent) |
void |
sendCommunications(CreateMemberJobEvent communicationEvent) |
void |
sendCommunications(CreateMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(CreateServiceRequestEvent communicationEvent) |
void |
sendCommunications(DistributePromotionCodeEvent communicationEvent) |
void |
sendCommunications(ExpireKYCProfileEvent communicationEvent) |
void |
sendCommunications(FinalResolveMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(FinalResolveServiceRequestEvent communicationEvent) |
void |
sendCommunications(IssueMemberRefundVoucherEvent communicationEvent) |
void |
sendCommunications(IssueRefundVoucherEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnCreateJobEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnCreateMemberJobEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnSettingJobAsPendingEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnSettingMemberJobAsPendingEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnStartProgressJobEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnStartProgressMemberJobEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnUpdateJobEvent communicationEvent) |
void |
sendCommunications(JobQuotationOnUpdateMemberJobEvent communicationEvent) |
void |
sendCommunications(LeadCancellationEvent communicationEvent) |
void |
sendCommunications(LeadCreationEvent communicationEvent) |
void |
sendCommunications(LeadLostEvent communicationEvent) |
void |
sendCommunications(LeadStartProgressEvent communicationEvent) |
void |
sendCommunications(LeadUpdateEvent communicationEvent) |
void |
sendCommunications(LeadWinEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableActivateEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableAddMemberInGroupEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableRemoveMemberFromGroupEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableSuspendEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableTerminateEvent communicationEvent) |
void |
sendCommunications(MemberAccountReceivableUpdateEvent communicationEvent) |
void |
sendCommunications(MemberPurchaseCustomerEventSubmissionEvent communicationEvent) |
void |
sendCommunications(MemberRewardParticipantSignUpEvent communicationEvent) |
void |
sendCommunications(MemberRewardSchemeSignUpEvent communicationEvent) |
void |
sendCommunications(MemberSpendRequestCustomerEventSubmissionEvent communicationEvent) |
void |
sendCommunications(MemberSubscriptionEvent communicationEvent) |
void |
sendCommunications(MemberTransferFromAccountToWalletEvent communicationEvent) |
void |
sendCommunications(MemberTransferFromWalletToAccountEvent communicationEvent) |
void |
sendCommunications(NotifyEntityEvent communicationEvent) |
void |
sendCommunications(PostAwardExpirationTransactionEvent communicationEvent) |
void |
sendCommunications(PostAwardTransactionEvent communicationEvent) |
void |
sendCommunications(PostMemberAwardExpirationTransactionEvent communicationEvent) |
void |
sendCommunications(PostMemberAwardTransactionEvent communicationEvent) |
void |
sendCommunications(PostMemberPaymentEvent communicationEvent) |
void |
sendCommunications(PostMemberPaymentGatewayRequestFailureEvent communicationEvent) |
void |
sendCommunications(PostMemberRefundEvent communicationEvent) |
void |
sendCommunications(PostMemberSpendTransactionEvent communicationEvent) |
void |
sendCommunications(PostPaymentCommunicationEvent communicationEvent) |
void |
sendCommunications(PostPaymentGatewayRequestFailureEvent communicationEvent) |
void |
sendCommunications(PostRefundEvent communicationEvent) |
void |
sendCommunications(PostSpendTransactionEvent communicationEvent) |
void |
sendCommunications(PurchaseCustomerEventSubmissionEvent communicationEvent) |
void |
sendCommunications(PurchaseElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(PurchaseMemberElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(RefuteKYCProfileEvent communicationEvent) |
void |
sendCommunications(RequestMemberRewardsSchemeReferenceCodeEvent communicationEvent) |
void |
sendCommunications(RequestRewardsSchemeReferenceCodeEvent communicationEvent) |
void |
sendCommunications(ResetAccessTokenPassCodeEvent communicationEvent) |
void |
sendCommunications(ResetAccessTokenVerificationCodeEvent communicationEvent) |
void |
sendCommunications(RespondMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(RespondServiceRequestEvent communicationEvent) |
void |
sendCommunications(RewardParticipantSignUpEvent communicationEvent) |
void |
sendCommunications(RewardSchemeSignUpEvent communicationEvent) |
void |
sendCommunications(SpendRequestCustomerEventSubmissionEvent communicationEvent) |
void |
sendCommunications(StartProgressJobEvent communicationEvent) |
void |
sendCommunications(StartProgressMemberJobEvent communicationEvent) |
void |
sendCommunications(SubscriptionEvent communicationEvent) |
void |
sendCommunications(TemporaryResolveMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(TemporaryResolveServiceRequestEvent communicationEvent) |
void |
sendCommunications(TransferFromAccountToWalletEvent communicationEvent) |
void |
sendCommunications(TransferFromWalletToAccount communicationEvent) |
void |
sendCommunications(UpdateContactInformationEvent communicationEvent) |
void |
sendCommunications(UpdateJobEvent communicationEvent) |
void |
sendCommunications(UpdateMemberJobEvent communicationEvent) |
void |
sendCommunications(UpdateMemberServiceRequestEvent communicationEvent) |
void |
sendCommunications(UpdateServiceRequestEvent communicationEvent) |
void |
sendCommunications(UseElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(UseMemberElectronicVoucherEvent communicationEvent) |
void |
sendCommunications(UseMemberPrintedVoucherEvent communicationEvent) |
void |
sendCommunications(UsePrintedVoucherEvent communicationEvent) |
void |
sendCommunications(VerifyAccessTokenEvent communicationEvent) |
void |
sendCommunications(VerifyKYCProfileEvent communicationEvent) |
void |
sendEmail(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Sends a communication through email
|
java.lang.Boolean |
sendEmail(java.lang.String fromEmail,
java.lang.String toEmailAddress,
java.lang.String subject,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition,
java.lang.String filesPath,
java.util.ArrayList<com.crm.dataobject.CRMDO> attachments)
Sends a communication through email
|
void |
sendSMS(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Sends a communication through SMS
|
void |
sendSMS(java.lang.String toPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Sends a communication through SMS
|
void |
sendSMS(java.lang.String toPhone,
java.lang.String fromPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Sends a communication through SMS
|
void |
sendSMS(java.lang.String toPhone,
java.lang.String fromPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition,
com.crm.dataobject.communications.CRMDOCommunication communication)
Sends a communication through SMS
|
com.crm.dataobject.communications.CRMDOCommunication |
setAsViewed(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.Date viewedOn)
Sets a communication as viewed by the recipient.
|
com.crm.dataobject.communications.CRMDOCommunication |
update(com.crm.dataobject.communications.CRMDOCommunication communication)
Updates a communication.
|
void |
validateCompletion(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
Validates the completion of a communication.
|
void |
validateTemplate(com.crm.dataobject.communications.CRMDOCommunication communication)
Validates that required referring entities are specified in the communication.
|
createCronExpressionFromDate, createCronExpressionFromDate, setMandatoryFielddeepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, loadEntityCategories, loadEntityNumber, loadEntityStates, loadEntityStatuses, loadEntityTypes, rollback, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMProcessCommunicationBean()
public com.crm.dataobject.communications.CRMDOCommunication applyCommonOperations(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
communication - - the communication for which common operations will be executedjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic void validateTemplate(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.communications.MissingReferringEntitiesException
communication - - the communication to validatejava.lang.Exceptioncom.crm.exception.communications.MissingReferringEntitiesExceptionpublic java.lang.Boolean isAccessible(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to determine whether it is accessible or notjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication initialize(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to initializejava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication newCommunication(com.crm.dataobject.CRMDO mainDTO)
throws java.lang.Exception
mainDTO - - the main data objectjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication communicateEntity(com.crm.dataobject.CRMDO mainDTO,
java.lang.String recipient,
java.lang.String subject,
java.lang.String content,
com.crm.dataobject.communications.CommunicationLifeCycleState lifeCycleState,
java.util.Date expirationDate,
com.crm.dataobject.communications.CRMDOCommunicationCategory category,
com.crm.dataobject.communications.CommunicationMedia media,
com.crm.dataobject.communications.CommunicationDirection direction,
com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate,
com.crm.dataobject.communications.CRMDOCommunicationQueueExternalSystem queueExternalSystem,
java.util.HashMap<java.lang.String,java.lang.Object> unboundParameters,
com.crm.dataobject.communications.CRMDOCommunicationDefinition definition)
throws java.lang.Exception
mainDTO - - the referring entity to create the communication forrecipient - - the recipient of the communicationsubject - - the subject of the communicationcontent - - the content of the communicationlifeCycleState - - the life cycle state of the communicationexpirationDate - - the expiration date of the communicationcategory - - the category of the communicationmedia - - the media of the communicationdirection - - the direction of the communicationcommunicationTemplate - - the template of the communicationqueueExternalSystem - - the external system that should process the communicationunboundParameters - - the list of unbound parametersdefinition - - the active communication definitionjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication assignReferringEntity(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.CRMDO mainDTO)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
mainDTO - - the main data objectjava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.communications.CRMDOCommunication create(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.CannotCreateException
communication - - the communication to createjava.lang.Exceptioncom.crm.exception.CannotCreateExceptionpublic com.crm.dataobject.communications.CRMDOCommunication update(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.CannotUpdateEntityException
communication - - the communication to updatejava.lang.Exceptioncom.crm.exception.CannotUpdateEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication delete(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException,
com.crm.exception.communications.CannotDeleteException
communication - - the communication to deletejava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptioncom.crm.exception.communications.CannotDeleteExceptionpublic com.crm.dataobject.communications.CRMDOCommunication read(java.lang.String id)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
id - - the communication IDjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication read(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
id - - the communication IDassociations - - a list of associated data objectsjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication readByNumber(java.lang.String number)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
number - - the communication numberjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication readByNumber(java.lang.String number,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
number - - the communication numberassociations - - a list of associated data objectsjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication read(com.crm.dataobject.notifications.CRMDONotification notification)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
notification - - the communication notificationjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication read(com.crm.dataobject.notifications.CRMDONotification notification,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
notification - - the communication notificationassociations - - a list of associated data objectsjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> list(com.crm.dataobject.communications.CommunicationSearchCriteria searchCriteria)
throws java.lang.Exception
searchCriteria - - the criteria that will be used to load the communication objectsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> listFollowUpCommunications(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to load the follow up communications forjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunication> listFollowUpCommunications(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
communication - - the communication to load the follow up communications forassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication setAsViewed(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.Date viewedOn)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException,
com.crm.exception.communications.CommunicationIsNotCompletedException
communication - - the communication to set as viewedviewedOn - - the date that communication viewedjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptioncom.crm.exception.communications.CommunicationIsNotCompletedExceptionpublic com.crm.dataobject.communications.CRMDOCommunication followUp(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to follow upjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication replaceTags(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
communication - - the communication to replace the tags forjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunication copyAttributesFromTemplate(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationTemplate template)
throws java.lang.Exception
communication - - the communication to copy the template attributestemplate - - a communication templatejava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication copyAttributesFromDefinition(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to set the default informationjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication copyAttributesFromDefinition(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition definition)
throws java.lang.Exception
communication - - the communication to set the default informationdefinition - - the active communication definitionjava.lang.Exceptionpublic void validateCompletion(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception,
com.crm.exception.communications.AlreadyCompletedException,
com.crm.exception.communications.ContentLimitException
communication - - the communication to validatecommunicationDefinition - - the active communication definitionjava.lang.Exceptioncom.crm.exception.communications.AlreadyCompletedExceptioncom.crm.exception.communications.ContentLimitExceptionpublic com.crm.dataobject.communications.CRMDOCommunication complete(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to completejava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication complete(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception
communication - - the communication to completecommunicationDefinition - - the active communication definitionjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunication replaceDynamicLinks(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception
communication - - the communication to updatecommunicationDefinition - - the active communication definitionjava.lang.Exceptionpublic void sendEmail(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception,
com.crm.exception.communications.CommunicationExpirationException
communication - - the communication to sendcommunicationDefinition - - the active communication definitionjava.lang.Exceptioncom.crm.exception.communications.CommunicationExpirationExceptionpublic java.lang.Boolean sendEmail(java.lang.String fromEmail,
java.lang.String toEmailAddress,
java.lang.String subject,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition,
java.lang.String filesPath,
java.util.ArrayList<com.crm.dataobject.CRMDO> attachments)
throws java.lang.Exception
fromEmail - toEmailAddress - subject - message - communicationDefinition - filesPath - attachments - java.lang.Exceptionpublic void sendSMS(com.crm.dataobject.communications.CRMDOCommunication communication,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception
communicationDefinition - - the active communication definitionjava.lang.Exceptionpublic void sendSMS(java.lang.String toPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception
toPhone - - the phone of recipientmessage - - the message of smscommunicationDefinition - - the active communication definitionjava.lang.Exceptionpublic void sendSMS(java.lang.String toPhone,
java.lang.String fromPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition)
throws java.lang.Exception
toPhone - - the phone of recipientfromPhone - - the phone of sendermessage - - the message of SMScommunicationDefinition - - the active communication definitionjava.lang.Exceptionpublic void sendSMS(java.lang.String toPhone,
java.lang.String fromPhone,
java.lang.String message,
com.crm.dataobject.communications.CRMDOCommunicationDefinition communicationDefinition,
com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception,
com.crm.exception.communications.CommunicationExpirationException
toPhone - - the phone of recipientfromPhone - - the phone of sendermessage - - the message of SMScommunicationDefinition - - the active communication definitioncommunication - - the communication to send the sms forjava.lang.Exceptioncom.crm.exception.communications.CommunicationExpirationExceptionpublic void dynamicActionEmailTrack(java.lang.String action,
java.lang.String communicationID,
java.lang.String organisationID,
java.lang.String token)
throws java.lang.Exception
action - - the action to executecommunicationID - - the id of the communicationorganisationID - - the id of the organisationtoken - - the token to validate the actionjava.lang.Exceptionpublic void dynamicActionLinkTrack(java.lang.String action,
java.lang.String link,
java.lang.String communicationID,
java.lang.String organisationID,
java.lang.String token)
throws java.lang.Exception
action - - the action to executelink - - the linkcommunicationID - - the id of the communicationorganisationID - - the id of the organisationtoken - - the token to validate the actionjava.lang.Exceptionpublic void sendCommunications(CreateContactInformationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UpdateContactInformationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(VerifyKYCProfileEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AssignKYCProfileEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RefuteKYCProfileEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ExpireKYCProfileEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ActivityCreationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ActivityUpdateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ActivityStartProgressEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ActivityCompletionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ActivityCancellationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadCreationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadUpdateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadStartProgressEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadWinEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadLostEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(LeadCancellationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UpdateJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UpdateMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(StartProgressJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(StartProgressMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CompleteJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CompleteMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UpdateServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UpdateMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RespondServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RespondMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(TemporaryResolveServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(TemporaryResolveMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(FinalResolveServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(FinalResolveMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CompleteServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CompleteMemberServiceRequestEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableUpdateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableUpdateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableTerminateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableTerminateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableSuspendEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableSuspendEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableActivateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableActivateEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableAddMemberInGroupEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableAddMemberInGroupEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccountReceivableRemoveMemberFromGroupEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberAccountReceivableRemoveMemberFromGroupEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PurchaseCustomerEventSubmissionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberPurchaseCustomerEventSubmissionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(SpendRequestCustomerEventSubmissionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberSpendRequestCustomerEventSubmissionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostPaymentCommunicationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberPaymentEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostRefundEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberRefundEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateCreditWalletTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateMemberCreditWalletTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateDebitWalletTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CreateMemberDebitWalletTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(TransferFromAccountToWalletEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberTransferFromAccountToWalletEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(TransferFromWalletToAccount communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberTransferFromWalletToAccountEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostAwardTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberAwardTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostSpendTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberSpendTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostAwardExpirationTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberAwardExpirationTransactionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RewardParticipantSignUpEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberRewardParticipantSignUpEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RewardSchemeSignUpEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberRewardSchemeSignUpEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(SubscriptionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(MemberSubscriptionEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PurchaseElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PurchaseMemberElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UseElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UseMemberElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelMemberElectronicVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UsePrintedVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(UseMemberPrintedVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelPrintedVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(CancelMemberPrintedVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(IssueRefundVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(IssueMemberRefundVoucherEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnCreateJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnCreateMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnStartProgressJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnStartProgressMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnSettingJobAsPendingEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnSettingMemberJobAsPendingEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnUpdateJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(JobQuotationOnUpdateMemberJobEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostPaymentGatewayRequestFailureEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(PostMemberPaymentGatewayRequestFailureEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(DistributePromotionCodeEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(NotifyEntityEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RequestRewardsSchemeReferenceCodeEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(RequestMemberRewardsSchemeReferenceCodeEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AssignAccessTokenToAccountEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AutoGenerateAccessTokenPassCodeForAccountEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ResetAccessTokenPassCodeEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(ResetAccessTokenVerificationCodeEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(AccessTokenRequiresVerificationEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(VerifyAccessTokenEvent communicationEvent) throws java.lang.Exception
java.lang.Exceptionpublic void sendCommunications(java.util.ArrayList<com.crm.dataobject.communications.CommunicationInfo> communicationsInfo)
throws java.lang.Exception
java.lang.Exceptionpublic void anonymizeContactCommunications(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
throws java.lang.Exception
contact - - the contact information to anonymize its communicationjava.lang.Exceptionpublic void handleExternalLinks(java.lang.String action,
java.lang.String entityID,
java.lang.String organisationID,
java.lang.String redirectionURL,
java.lang.String token)
throws java.lang.Exception,
com.crm.exception.InvalidLinkException
action - - the action to executeentityID - - the id of the entity to updateorganisationID - - the id of the organisationredirectionURL - - the redirection URLtoken - - the token to validate the actionjava.lang.Exceptioncom.crm.exception.InvalidLinkExceptionpublic void handleExternalLinks(java.lang.String action,
java.lang.String entityID,
java.lang.String contactInformationID,
java.lang.String organisationID,
java.lang.String redirectionURL,
java.lang.String token)
throws java.lang.Exception,
com.crm.exception.InvalidLinkException
action - - the action to executeentityID - - the id of the entity to updatecontactInformationID - - the id of the contact informationorganisationID - - the id of the organisationredirectionURL - - the redirection URLtoken - - the token to validate the actionjava.lang.Exceptioncom.crm.exception.InvalidLinkExceptionpublic com.crm.dataobject.communications.CRMDOCommunication applyURLShortener(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to apply the URL shortener forjava.lang.Exceptionpublic java.lang.Boolean isExpired(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter newUnboundParameter(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to create the communication unbound parameter forjava.lang.Exceptionpublic java.lang.Boolean isAccessible(com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter communicationUnboundParameter)
throws java.lang.Exception
communicationUnboundParameter - - the communication unbound parameter to determine whether it is accessible or notjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameter(java.lang.String id)
throws java.lang.Exception
id - - the communication unbound parameter IDjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameter(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
id - - the communication unbound parameter IDassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameterByKey(java.lang.String key,
com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
key - - the communication unbound parameter keycommunication - - the related communicationjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameterByKey(java.lang.String key,
com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
key - - the communication unbound parameter keycommunication - - the related communicationassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameterByName(java.lang.String name,
com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
name - - the communication unbound parameter namecommunication - - the related communicationjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter readUnboundParameterByName(java.lang.String name,
com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
name - - the communication unbound parameter namecommunication - - the related communicationassociations - - a list of associated data objectsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter> listUnboundParameters(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to load the unbound parameters forjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationUnboundParameter> listUnboundParameters(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
communication - - the communication to load the unbound parameters forassociations - - a list of associated data objectsjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationTrackingLink readTrackingLink(java.lang.String id)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
id - - the communication tracking link IDjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunicationTrackingLink readTrackingLink(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception,
com.crm.exception.CannotAccessEntityException
id - - the communication tracking link IDassociations - - a list of associated data objectsjava.lang.Exceptioncom.crm.exception.CannotAccessEntityExceptionpublic com.crm.dataobject.communications.CRMDOCommunicationTrackingLink readTrackingLink(com.crm.dataobject.communications.CRMDOCommunication communication,
java.lang.String url)
throws java.lang.Exception
communication - - the related communicationurl - - the url to load the communication tracking linkjava.lang.Exceptionpublic com.crm.dataobject.communications.CRMDOCommunicationTrackingLink readTrackingLink(com.crm.dataobject.communications.CRMDOCommunication communication,
java.lang.String url,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
communication - - the related communicationurl - - the url to load the communication tracking linkassociations - - a list of associated data objectsjava.lang.Exceptionpublic java.lang.Boolean isAccessible(com.crm.dataobject.communications.CRMDOCommunicationTrackingLink communicationTrackingLink)
throws java.lang.Exception
communicationTrackingLink - - the communication tracking link to determine whether it is accessible or notjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationTrackingLink> listTrackingLinks(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to load the tracking links forjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.communications.CRMDOCommunicationTrackingLink> listTrackingLinks(com.crm.dataobject.communications.CRMDOCommunication communication,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
communication - - the communication to load the tracking links forassociations - - a list of associated data objectsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.framework.metadata.Entity> listRelatedEntities(com.crm.dataobject.communications.CRMDOCommunication communication)
throws java.lang.Exception
communication - - the communication to get its related entitiesjava.rmi.RemoteExceptionjava.lang.Exception