public class CRMUICommunicationTemplateBean extends CRMUI
Constructor and Description |
---|
CRMUICommunicationTemplateBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
createButton()
Creates a communication template.
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
deleteButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Deletes the communication template.
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
editButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Loads a form of communication template.
|
com.crm.framework.main.LookupBuilder |
getDefinedLanguageOptions(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Loads the language options which is defined on the communication template.
|
com.crm.framework.main.LookupBuilder |
getLanguageOptions(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Loads the language options
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions()
Loads the communication template life cycle state options.
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions(java.lang.String emptyValue)
Loads the communication template life cycle state options.
|
com.crm.framework.main.LookupBuilder |
getMediaOptions()
Loads the media options defined in active communication definition.
|
com.crm.framework.main.LookupBuilder |
getMediaOptions(java.lang.String emptyValue)
Loads the media options defined in active communication definition.
|
com.crm.framework.main.LookupBuilder |
getMediaOptions(java.lang.String direction,
java.lang.String emptyValue)
Loads the media options defined in active communication definition.
|
com.crm.framework.main.LookupBuilder |
getOptions()
Loads the communication template options.
|
com.crm.framework.main.LookupBuilder |
getOptions(java.lang.String emptyValue)
Loads the communication template options.
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
loadForm(java.lang.String id)
Loads a communication template form.
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
loadLanguages(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Loads and sets the communication template languages of the given communication template
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
resetLanguage(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Resets the subject and content of the communication template given the chosen language
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
saveButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Saves a communication template.
|
com.crm.dataobject.communications.CRMDOCommunicationTemplate |
setDefaultLanguageInformation(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate)
Sets the default language information for the given communication template
|
addAttachmentButton, addTrace, assignEntity, echoDto, echoDto, echoDto, echoDtos, getAccountsReceivableEntityOptions, getActiveInactiveOptions, getActiveInactiveOptions, getAllowedDeniedOptions, getAllowedDeniedOptions, getApplicationOptions, getArchiveDataEntityOptions, getArchiveDataEntityOptions, getArchiveEntityOptions, getArchiveEntityOptions, getAssignableEntityOptions, getCurrentDateString, getCurrentDay, getCurrentMonth, getCurrentYear, getDayOfWeekOptions, getDayOfWeekOptions, getDtoFromCollection, getEntityCategoryOptions, getEntityFieldOptions, getEntityOptions, getEntityStateOptions, getEntityStatusOptions, getEntityTypeOptions, getExplicitViewingAccessEntityOptions, getHourOptions, getHourOptions, getImplicitViewingAccessEntityOptions, getModuleOptions, getModulePrintoutOptions, getModuleProcessOptions, getMonthEndDate, getMonthStartDate, getOperatorOptions, getOperatorOptions, getStateOptions, getStringFormattingOptions, getStringFormattingOptions, getTimeOfDayOptions, getTimeOfDayOptions, getTrueFalseOptions, getTrueFalseOptions, getUnitOfTimeOptions, getUnitOfTimeOptions, getWeekEndDate, getWeekStartDate, getYesNoOptions, getYesNoOptions, invoke, load, loadAchivedData, loadAttachmentsTab, loadDaysOfMonthOptions, loadMonthNumberOptions, loadMonthNumberOptions, loadMonthOptions, loadMonthOptions, readFileContent, removeAttachmentButton, setDtoAsNotEditable, setMandatoryField, setMandatoryFields, setOwnerGroup
public CRMUICommunicationTemplateBean()
public com.crm.dataobject.communications.CRMDOCommunicationTemplate loadForm(java.lang.String id) throws java.lang.Exception
id
- - the communication template id to loadjava.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate loadLanguages(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to load the languages forjava.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate setDefaultLanguageInformation(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws com.crm.exception.CRMException, java.lang.Exception
communicationTemplate
- the communication template to set the default language information forjava.lang.Exception
com.crm.exception.CRMException
public com.crm.dataobject.communications.CRMDOCommunicationTemplate createButton() throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate saveButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to savejava.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate editButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - a form of communication templatejava.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate deleteButton(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to be deletedjava.lang.Exception
public com.crm.framework.main.LookupBuilder getOptions() throws java.lang.Exception
java.lang.Exception
public com.crm.framework.main.LookupBuilder getOptions(java.lang.String emptyValue) throws java.lang.Exception
emptyValue
- - an empty value for a communication templatejava.lang.Exception
public com.crm.framework.main.LookupBuilder getLifeCycleStateOptions() throws java.lang.Exception
java.lang.Exception
public com.crm.framework.main.LookupBuilder getLifeCycleStateOptions(java.lang.String emptyValue) throws java.lang.Exception
emptyValue
- - an empty value for a communication templatejava.lang.Exception
public com.crm.framework.main.LookupBuilder getMediaOptions() throws java.lang.Exception
java.lang.Exception
public com.crm.framework.main.LookupBuilder getMediaOptions(java.lang.String emptyValue) throws java.lang.Exception
java.lang.Exception
public com.crm.framework.main.LookupBuilder getMediaOptions(java.lang.String direction, java.lang.String emptyValue) throws java.lang.Exception
direction
- - the direction to load the mediaemptyValue
- - an empty value for a mediajava.lang.Exception
public com.crm.dataobject.communications.CRMDOCommunicationTemplate resetLanguage(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to reset the subject and contentjava.lang.Exception
public com.crm.framework.main.LookupBuilder getDefinedLanguageOptions(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to load the defined languagesjava.lang.Exception
public com.crm.framework.main.LookupBuilder getLanguageOptions(com.crm.dataobject.communications.CRMDOCommunicationTemplate communicationTemplate) throws java.lang.Exception
communicationTemplate
- - the communication template to load the defined languagesjava.lang.Exception