@AccessLevel(value=EXTERNAL)
public abstract class ProviderNotification
extends curam.cpm.sl.base.ProviderNotification
Modifier and Type | Field and Description |
---|---|
protected curam.core.sl.infrastructure.cmis.impl.CMISAccessInterface |
cmisAccessInterface
Reference to CMIS Access Interface.
|
protected curam.provider.impl.CommunicationCVLinkDAO |
communicationCVLinkDAO
Reference to communication contract version link DAO.
|
protected curam.provider.impl.CommunicationLicenseLinkDAO |
communicationLicenseLinkDAO
Reference to communication license link DAO.
|
protected curam.provider.impl.CommunicationPOLinkDAO |
communicationPOLinkDAO
Reference to communication provider offering link DAO.
|
protected curam.provider.impl.CommunicationPRLILinkDAO |
communicationPRLILinkDAO
Reference to communication provider roster line item link DAO.
|
protected curam.provider.impl.CommunicationSILILinkDAO |
communicationSILILinkDAO
Reference to communication service invoice line item link DAO.
|
protected ContractVersionDAO |
contractVersionDAO
Reference to contract version DAO.
|
protected curam.provider.impl.LicenseDAO |
licenseDAO
Reference to license DAO.
|
protected ProviderOfferingDAO |
providerOfferingDAO
Reference to provider offering DAO.
|
protected ProviderRosterLineItemDAO |
providerRosterLineItemDAO
Reference to provider roster line item DAO.
|
protected ServiceInvoiceLineItemDAO |
serviceInvoiceLineItemDAO
Reference to service invoice line item DAO.
|
protected ServiceOfferingDAO |
serviceOfferingDAO
Reference to service offering DAO.
|
protected curam.serviceoffering.impl.ServiceRateDAO |
serviceRateDAO
Service Offering DAO
|
Constructor and Description |
---|
ProviderNotification()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected curam.cpm.facade.struct.ProviderNotificationReturnDocDetails |
createAndPreviewContract(curam.core.sl.struct.DataSetData dataSetData,
curam.cpm.sl.struct.CommunicationDetails communicationDetails)
Generates an XML document from the specified XSL template and previews
that document.
|
protected void |
createCommunicationPOLink(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls,
curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey)
Creates an association between communication and provider offering.
|
void |
createDocumentAndInsertProviderCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey,
curam.core.struct.ConcernRoleDocumentDetails concernRoleDocumentDetails,
curam.cpm.sl.struct.ProviderNotificationDetails providerNotificationDetails)
Creates an XML document from the specified XSL template and inserts
provider communication.
|
void |
createDocumentFromDetails(curam.core.struct.ConcernRoleDocumentDetails details,
curam.cpm.sl.struct.ProviderNotificationDetails data)
Generates an XML document from the specified XSL template and prints that
document.
|
curam.core.sl.struct.DataSetData |
generateDocument(curam.core.struct.ConcernRoleDtls concernRoleDtls,
curam.cpm.sl.struct.ProviderNotificationKey key)
Method for generating the document
|
void |
generateDocumentFromTemplate(curam.core.struct.ConcernRoleDtls concernRoleDtls,
curam.cpm.sl.struct.ProviderNotificationKey key)
Method for generating the document
|
protected curam.core.sl.struct.ProFormaReturnDocDetails |
generatePrintAndPreviewProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls)
Generates an XML document from the specified XSL template and prints and
previews that document.
|
protected curam.cpm.facade.struct.ContractNotificationDetails |
getContractNotificationDetails(java.lang.Long communicationID)
Gets the contract notification details based on the communication ID.
|
protected curam.cpm.sl.struct.FinancialNotificationDetails |
getFinancialNotificationDetails(java.lang.Long communicationID)
Gets the financial notification details based on the communication ID.
|
protected curam.cpm.facade.struct.LicenseNotificationDetails |
getLicenseNotificationDetails(java.lang.Long communicationID)
Gets the license notification details based on the communication ID.
|
protected java.lang.String |
getOrganisationName()
Method for returning the organization name.By default theres one
organization and function fetches the name of that from database.
|
protected curam.cpm.sl.struct.ProviderNotificationDetails |
getProviderNotificationDetails(curam.core.struct.ConcernRoleDtls concernRoleDtls,
curam.cpm.sl.struct.CommunicationDetails communicationDetails)
This method gets the provider notification details
|
protected curam.cpm.sl.struct.ProviderNotificationDetails |
getProviderNotificationDetails(curam.core.struct.ConcernRoleDtls concernRoleDtls,
curam.cpm.sl.struct.ProviderNotificationKey key)
This method gets the provider notification details
|
protected curam.cpm.sl.struct.RosterNotificationDetails |
getRosterNotificationDetails(java.lang.Long communicationID)
Gets the roster notification details based on the communication ID.
|
protected curam.cpm.sl.entity.struct.ServiceOfferingDtls |
getServiceOfferingDetails(curam.cpm.sl.struct.ProviderNotificationKey key)
Method for getting service offering details using service offering ID
|
protected java.lang.String |
getTemplateIDCode(curam.cpm.sl.struct.ProviderNotificationKey key)
This method gets the Template ID code
|
protected java.lang.String |
getTemplateIDCodeForContractNotification(java.lang.String event)
Gets the Template ID code based on the contract notification event.
|
protected java.lang.String |
getTemplateIDCodeForFinancialNotification(java.lang.String event)
Gets the Template ID code based on the financial notification event.
|
protected java.lang.String |
getTemplateIDCodeForLicenseNotification(java.lang.String event)
Gets the Template ID code based on the license notification event.
|
protected java.lang.String |
getTemplateIDCodeForPreview(java.lang.String event)
Gets the Template ID code based on the communication event.
|
protected java.lang.String |
getTemplateIDCodeForRosterNotification(java.lang.String event)
Gets the Template ID code based on the roster notification event.
|
void |
insertCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey)
Deprecated.
Since Curam 6.0 SP2, replaced by
insertProviderCommunication(ProviderNotificationKey) . This method
is deprecated because it is not returning
concern role communication details which is required while
storing the document content to the content management
system. See release note: CR00292749. |
curam.core.struct.ConcernRoleCommunicationDtls |
insertProviderCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey)
Inserts the provider communication details for a new communication.
|
protected boolean |
isContractNotificationEvent(java.lang.String event)
Returns the boolean value for the contract notification event.
|
protected boolean |
isFinancialNotificationEvent(java.lang.String event)
Returns the boolean value for the financial notification event.
|
protected boolean |
isLicenseNotificationEvent(java.lang.String event)
Returns the boolean value for the license notification event.
|
protected boolean |
isRosterNotificationEvent(java.lang.String event)
Returns the boolean value for the roster notification event.
|
protected curam.core.facade.struct.ListProFormaTemplateByTypeAndParticpant |
listProFormaTemplateByTypeAndProviderParticipant(curam.core.facade.struct.ListProFormaTemplateByTypeAndParticipantKey listProFormaTemplateByTypeAndParticipantKey)
Lists pro forma templates based on the template type and the participant
identifier.
|
curam.core.facade.struct.ListProFormaTemplateByTypeAndParticpant |
listTemplateByTypeAndProviderParticipant(curam.core.facade.struct.ListProFormaTemplateByTypeAndParticipantKey listProFormaTemplateByTypeAndParticipantKey)
Returns a list of templates based on template type and the participant
identifier,provider and provider group.
|
curam.cpm.facade.struct.ProviderNotificationReturnDocDetails |
previewProForma(curam.cpm.sl.struct.CommunicationDetails communicationDetails)
Previews a pro forma communication.
|
protected curam.core.sl.struct.ProFormaReturnDocDetails |
previewProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls)
Generates an XML document from the specified XSL template and previews
that document.
|
void |
printProFormaCommunication(curam.core.facade.struct.PrintProFormaKey key)
Prints a pro forma communication.
|
protected void |
printProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls)
Generates an XML document from the specified XSL template and prints that
document.
|
protected void |
recordClientInteraction(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls)
Records client and correspondent interaction.
|
void |
sendNotification(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey)
This methods sends the notifications by either using the XSL or XML
templates for a particular event.
|
@Inject protected curam.core.sl.infrastructure.cmis.impl.CMISAccessInterface cmisAccessInterface
@Inject protected curam.provider.impl.CommunicationCVLinkDAO communicationCVLinkDAO
@Inject protected curam.provider.impl.CommunicationLicenseLinkDAO communicationLicenseLinkDAO
@Inject protected curam.provider.impl.CommunicationSILILinkDAO communicationSILILinkDAO
@Inject protected ContractVersionDAO contractVersionDAO
@Inject protected curam.provider.impl.LicenseDAO licenseDAO
@Inject protected ServiceInvoiceLineItemDAO serviceInvoiceLineItemDAO
@Inject protected curam.provider.impl.CommunicationPRLILinkDAO communicationPRLILinkDAO
@Inject protected ProviderRosterLineItemDAO providerRosterLineItemDAO
@Inject protected curam.serviceoffering.impl.ServiceRateDAO serviceRateDAO
@Inject protected curam.provider.impl.CommunicationPOLinkDAO communicationPOLinkDAO
@Inject protected ServiceOfferingDAO serviceOfferingDAO
@Inject protected ProviderOfferingDAO providerOfferingDAO
@AccessLevel(value=EXTERNAL) public void sendNotification(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerNotificationKey
- Contains ProviderNotificationKeycuram.util.exception.AppException
curam.util.exception.InformationalException
public void generateDocumentFromTemplate(curam.core.struct.ConcernRoleDtls concernRoleDtls, curam.cpm.sl.struct.ProviderNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleDtls
- ConcernRoleDtlskey
- ProviderNotificationKeycuram.util.exception.AppException
curam.util.exception.InformationalException
public void createDocumentFromDetails(curam.core.struct.ConcernRoleDocumentDetails details, curam.cpm.sl.struct.ProviderNotificationDetails data) throws curam.util.exception.AppException, curam.util.exception.InformationalException
details
- Contains details of the document to be useddata
- Contains the data to be entered into the documentcuram.util.exception.AppException
curam.util.exception.InformationalException
public void createDocumentAndInsertProviderCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey, curam.core.struct.ConcernRoleDocumentDetails concernRoleDocumentDetails, curam.cpm.sl.struct.ProviderNotificationDetails providerNotificationDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerNotificationKey
- Contains details for which provider communication will be
created.concernRoleDocumentDetails
- Contains details of the document to be used.providerNotificationDetails
- Contains the details to be entered into the document.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected java.lang.String getOrganisationName() throws curam.util.exception.AppException, curam.util.exception.InformationalException
curam.util.exception.AppException
curam.util.exception.InformationalException
protected java.lang.String getTemplateIDCode(curam.cpm.sl.struct.ProviderNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains ProviderNotificationKeycuram.util.exception.InformationalException
curam.util.exception.AppException
protected curam.cpm.sl.struct.ProviderNotificationDetails getProviderNotificationDetails(curam.core.struct.ConcernRoleDtls concernRoleDtls, curam.cpm.sl.struct.ProviderNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleDtls
- Contains ConcernRoleDtlskey
- Contains ProviderNotificationKeycuram.util.exception.InformationalException
curam.util.exception.AppException
protected curam.cpm.sl.entity.struct.ServiceOfferingDtls getServiceOfferingDetails(curam.cpm.sl.struct.ProviderNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
key
- Contains ProviderNotificationKeycuram.util.exception.AppException
curam.util.exception.InformationalException
@Deprecated public void insertCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
insertProviderCommunication(ProviderNotificationKey)
. This method
is deprecated because it is not returning
concern role communication details which is required while
storing the document content to the content management
system. See release note: CR00292749.providerNotificationKey
- Contains providerNotificationKey.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.public curam.core.struct.ConcernRoleCommunicationDtls insertProviderCommunication(curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerNotificationKey
- Contains details for which provider communication will be
created.curam.util.exception.AppException
- curam.message.GENERALCONCERN.ERR_PROFORMATEMPLATE_RNFE
- If the pro
forma template ID is not found.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- curam.message.GENERALCONCERN.ERR_PROFORMATEMPLATE_WITH_LOCALE_RNFE
- If the pro forma template is not found.public curam.core.sl.struct.DataSetData generateDocument(curam.core.struct.ConcernRoleDtls concernRoleDtls, curam.cpm.sl.struct.ProviderNotificationKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleDtls
- Contains concernRoleDtlskey
- Contains ProviderNotificationKeycuram.util.exception.AppException
curam.util.exception.InformationalException
@AccessLevel(value=EXTERNAL) public curam.core.facade.struct.ListProFormaTemplateByTypeAndParticpant listTemplateByTypeAndProviderParticipant(curam.core.facade.struct.ListProFormaTemplateByTypeAndParticipantKey listProFormaTemplateByTypeAndParticipantKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
listProFormaTemplateByTypeAndParticipantKey
- Contains key to read the
list of templates.curam.util.exception.AppException
curam.util.exception.InformationalException
protected curam.core.facade.struct.ListProFormaTemplateByTypeAndParticpant listProFormaTemplateByTypeAndProviderParticipant(curam.core.facade.struct.ListProFormaTemplateByTypeAndParticipantKey listProFormaTemplateByTypeAndParticipantKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
listProFormaTemplateByTypeAndParticipantKey
- Contains a key to read
the
list of templates.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public curam.cpm.facade.struct.ProviderNotificationReturnDocDetails previewProForma(curam.cpm.sl.struct.CommunicationDetails communicationDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
communicationDetails
- Contains communication ID.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected curam.cpm.facade.struct.ProviderNotificationReturnDocDetails createAndPreviewContract(curam.core.sl.struct.DataSetData dataSetData, curam.cpm.sl.struct.CommunicationDetails communicationDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerNotificationKey
- Details of the document to be used.dataSetData
- The XML data to be entered into the document.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected void createCommunicationPOLink(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls, curam.cpm.sl.struct.ProviderNotificationKey providerNotificationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleCommunicationDtls
- Communication details.providerNotificationKey
- Provider notification key.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected curam.cpm.sl.struct.ProviderNotificationDetails getProviderNotificationDetails(curam.core.struct.ConcernRoleDtls concernRoleDtls, curam.cpm.sl.struct.CommunicationDetails communicationDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleDtls
- Contains ConcernRoleDtls.communicationDetails
- Communication details.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@AccessLevel(value=EXTERNAL) public void printProFormaCommunication(curam.core.facade.struct.PrintProFormaKey key) throws curam.util.exception.AppException, curam.util.exception.InformationalException
printProFormaKey
- Contains communication identifier.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected void printProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleCommunicationDtls
- Contains details of the document to be printed.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected curam.core.sl.struct.ProFormaReturnDocDetails generatePrintAndPreviewProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleCommunicationDtls
- Contains the details of the document to be used.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected curam.core.sl.struct.ProFormaReturnDocDetails previewProFormaDocument(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleCommunicationDtls
- Contains details of the document to be previewed.curam.util.exception.AppException
- ERR_INVALID_FORMAT_NOT_PRINTABLE
- If the the
document format is invalid.curam.util.exception.InformationalException
- Generic Exception Signature.protected void recordClientInteraction(curam.core.struct.ConcernRoleCommunicationDtls concernRoleCommunicationDtls) throws curam.util.exception.AppException, curam.util.exception.InformationalException
concernRoleCommunicationDtls
- Contains communication details.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.protected curam.cpm.facade.struct.LicenseNotificationDetails getLicenseNotificationDetails(java.lang.Long communicationID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
communicationID
- Contains communicationID for which license notification
details are required.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected curam.cpm.facade.struct.ContractNotificationDetails getContractNotificationDetails(java.lang.Long communicationID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
communicationID
- Contains communicationID for which contract notification
details are required.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected curam.cpm.sl.struct.FinancialNotificationDetails getFinancialNotificationDetails(java.lang.Long communicationID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
communicationID
- Contains communicationID for which financial notification
details are required.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected curam.cpm.sl.struct.RosterNotificationDetails getRosterNotificationDetails(java.lang.Long communicationID) throws curam.util.exception.AppException, curam.util.exception.InformationalException
communicationID
- Contains communicationID for which roster notification details are
required.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected java.lang.String getTemplateIDCodeForPreview(java.lang.String event) throws curam.util.exception.AppException, curam.util.exception.InformationalException
event
- Contains communication event for which XSL template ID code is
required.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.protected java.lang.String getTemplateIDCodeForContractNotification(java.lang.String event)
event
- Contains contract notification event for which XSL template ID
code is required.protected java.lang.String getTemplateIDCodeForFinancialNotification(java.lang.String event)
event
- Contains financial notification event for which XSL template
ID code is required.protected java.lang.String getTemplateIDCodeForRosterNotification(java.lang.String event)
event
- Contains roster notification event for which XSL template ID code
is required.protected java.lang.String getTemplateIDCodeForLicenseNotification(java.lang.String event)
event
- Contains license notification event for which XSL template ID
code is required.protected boolean isContractNotificationEvent(java.lang.String event)
event
- Contains notification event for which contract notifications
are considered.protected boolean isFinancialNotificationEvent(java.lang.String event)
event
- Contains notification event for which financial notifications
are considered.protected boolean isLicenseNotificationEvent(java.lang.String event)
event
- Contains notification event for which license notifications
are considered.protected boolean isRosterNotificationEvent(java.lang.String event)
event
- Contains notification event for which roster notifications are
considered.