public class CRMBONotificationTypeBean extends CRMBOConfigurationEntity
| Constructor and Description |
|---|
CRMBONotificationTypeBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
calculateUpcomingBillAsOfDate(com.crm.dataobject.notifications.CRMDONotificationType notificationType,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Calculates the as of date of the upcoming bill to be calculated.
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a notification type.
|
java.lang.String |
getEntityTags(com.crm.dataobject.notifications.CRMDONotificationType notificationType) |
java.lang.String |
getLatestVersionID(com.crm.dataobject.notifications.CRMDONotificationType notificationType) |
java.lang.Boolean |
isAccessible(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
Determines if a Notification Type is accessible.
|
java.lang.Boolean |
isUsedByEffectiveProcess(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
Checks if the notification type is used by effective process.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Loads a list of notification types base on a communication template
|
com.crm.dataobject.notifications.CRMDONotificationType |
loadByAltCode(java.lang.String value,
java.util.ArrayList<java.lang.String> associations) |
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByClassification(java.lang.String classification)
Loads the associated notification types based the classification .
|
com.crm.dataobject.notifications.CRMDONotificationType |
loadByName(java.lang.String value,
java.util.ArrayList<java.lang.String> associations) |
com.crm.dataobject.notifications.CRMDONotificationType |
loadEffective(java.lang.String unifiedCode,
java.util.Date fromDate,
java.util.ArrayList<java.lang.String> associations) |
isDefault, loadDefault, setDefaultconstruct, construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, isAssignable, load, load, load, load, load, load, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, loadAllEntityStatusDO, loadAllEntityStatusDO, loadDataObject, loadDataObject, loadDataObject, loadDataObjects, loadDataObjects, loadEntityCategoryDO, loadEntityCategoryDO, loadEntityDO, loadEntityDO, loadEntityStatusDO, loadEntityStatusDO, parseAssociations, parseAssociations, parseAssociations, save, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateApprovalRequestEntity, validateFormatSettings, validateFormatSettings, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSavedeepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMBONotificationTypeBean()
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOConfigurationEntitypublic java.lang.Boolean isUsedByEffectiveProcess(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
throws java.lang.Exception
notificationType - - the notificationType to checkjava.lang.Exceptionpublic com.crm.dataobject.notifications.CRMDONotificationType loadByName(java.lang.String value,
java.util.ArrayList<java.lang.String> associations)
throws com.crm.exception.businessnetwork.CannotViewRecordException,
java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordExceptionjava.lang.Exceptionpublic com.crm.dataobject.notifications.CRMDONotificationType loadByAltCode(java.lang.String value,
java.util.ArrayList<java.lang.String> associations)
throws com.crm.exception.businessnetwork.CannotViewRecordException,
java.lang.Exception
com.crm.exception.businessnetwork.CannotViewRecordExceptionjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadByClassification(java.lang.String classification)
throws java.lang.Exception
classification - a notification type classification classificationjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
throws java.lang.Exception
communicationTemplate - - a communication template to load notification types use that communication templatejava.lang.Exceptionpublic com.crm.dataobject.notifications.CRMDONotificationType loadEffective(java.lang.String unifiedCode,
java.util.Date fromDate,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getLatestVersionID(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getEntityTags(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Boolean isAccessible(com.crm.dataobject.notifications.CRMDONotificationType notificationType)
throws java.lang.Exception
notificationType - - the Notification Type to determine whether it is accessible or notjava.lang.Exceptionpublic java.util.Date calculateUpcomingBillAsOfDate(com.crm.dataobject.notifications.CRMDONotificationType notificationType,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
throws java.lang.Exception
notificationType - - the notification typeaccountReceivable - - the accounts receivable to calculate the as of date of its upcoming billjava.lang.Exception