public class CRMUISegmentBean extends CRMUI
| Constructor and Description |
|---|
CRMUISegmentBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
addExceptionalItemButton(com.crm.dataobject.segments.CRMDOSegment segment,
java.util.ArrayList<java.lang.String> entityIDs,
java.lang.String entityID)
Adds an exceptional item to the segment.
|
com.crm.dataobject.segments.CRMDOSegment |
createButton()
Creates a segment.
|
com.crm.dataobject.segments.CRMDOSegment |
deleteButton(com.crm.dataobject.segments.CRMDOSegment segment)
Deletes a segment.
|
com.crm.dataobject.segments.CRMDOSegment |
editButton(com.crm.dataobject.segments.CRMDOSegment segment)
Loads a segment form.
|
com.crm.dataobject.segments.CRMDOSegment |
exportButton(com.crm.dataobject.segments.CRMDOSegment segment)
Creates a download link to export a segment.
|
com.crm.framework.main.LookupBuilder |
getAccountReceivableSegmentOptions()
Loads the segments of Accounts Receivable entity type.
|
com.crm.framework.main.LookupBuilder |
getContactInformationSegmentOptions()
Loads the segments of contact information entity type.
|
com.crm.framework.main.LookupBuilder |
getEntityOptions(java.lang.String emptyValue)
Loads the entity options.
|
com.crm.framework.main.LookupBuilder |
getEntityTypeOptions()
Loads the segment entity type options.
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions()
Loads the segment life cycle state options.
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions(java.lang.String emptyValue)
Loads the segment life cycle state options.
|
com.crm.framework.main.LookupBuilder |
getRewardParticipantSegmentOptions()
Loads the segments of Rewards Participant entity type.
|
com.crm.framework.main.LookupBuilder |
getRewardParticipantSegmentOptions(java.lang.String lifeCycleState) |
com.crm.framework.main.LookupBuilder |
getSegmentOptions(java.lang.String segmentEntityType)
Loads the segment entity type options.
|
com.crm.framework.main.LookupBuilder |
getSegmentOptions(java.lang.String segmentEntityType,
com.crm.dataobject.segments.SegmentLifeCycleState segmentLifeCycleState) |
com.crm.framework.main.LookupBuilder |
getSubscriptionSegmentOptions()
Loads the segments of subscription entity type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadExceptionalItemsTab(com.crm.dataobject.segments.CRMDOSegment segment)
Loads the exceptional items of a segment.
|
com.crm.dataobject.segments.CRMDOSegment |
loadExportForm(com.crm.dataobject.segments.CRMDOSegment segment)
Loads an export form.
|
com.crm.dataobject.segments.CRMDOSegment |
loadForm(java.lang.String id)
Loads a segment form.
|
com.crm.dataobject.segments.CRMDOSegment |
loadPreviewForm(com.crm.dataobject.segments.CRMDOSegment segment)
Loads a preview form.
|
java.util.ArrayList<java.lang.Object> |
previewSegment(java.util.ArrayList<java.lang.Object> parameterList)
Returns a query to preview a segment.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
removeAllExceptionalItems(java.util.ArrayList<com.crm.dataobject.CRMDO> dtoList)
Removes all the exceptional items from the segment.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
removeExceptionalItemButton(java.util.ArrayList<com.crm.dataobject.CRMDO> dtoList)
Removes a list of exceptional items from the segment.
|
com.crm.dataobject.segments.CRMDOSegment |
saveAsDraftButton(com.crm.dataobject.segments.CRMDOSegment segment)
Saves a segment with draft life cycle state.
|
com.crm.dataobject.segments.CRMDOSegment |
saveButton(com.crm.dataobject.segments.CRMDOSegment segment)
Saves and posts a segment.
|
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, setOwnerGrouppublic com.crm.dataobject.segments.CRMDOSegment loadForm(java.lang.String id)
throws java.lang.Exception
id - - the segment id to loadjava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment createButton()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment saveButton(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to save and postjava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment saveAsDraftButton(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to savejava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment editButton(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to loadjava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment deleteButton(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to deletejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadExceptionalItemsTab(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to load the exceptional items fromjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> addExceptionalItemButton(com.crm.dataobject.segments.CRMDOSegment segment,
java.util.ArrayList<java.lang.String> entityIDs,
java.lang.String entityID)
throws java.lang.Exception
segment - - the segment to add the exceptional item toentityIDs - - a list of segment exceptional item IDs to addentityID - - the entity type of the segmentjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> removeExceptionalItemButton(java.util.ArrayList<com.crm.dataobject.CRMDO> dtoList)
throws java.lang.Exception
dtoList - - a list of exceptional items to deletejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> removeAllExceptionalItems(java.util.ArrayList<com.crm.dataobject.CRMDO> dtoList)
throws java.lang.Exception
dtoList - - a list of exceptional items to deletejava.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getLifeCycleStateOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getLifeCycleStateOptions(java.lang.String emptyValue)
throws java.lang.Exception
emptyValue - - an empty value for a segmentjava.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getEntityTypeOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getSubscriptionSegmentOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getAccountReceivableSegmentOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getContactInformationSegmentOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getRewardParticipantSegmentOptions()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getRewardParticipantSegmentOptions(java.lang.String lifeCycleState)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getSegmentOptions(java.lang.String segmentEntityType)
throws java.lang.Exception
segmentEntityType - - an empty value for an entity typejava.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getSegmentOptions(java.lang.String segmentEntityType,
com.crm.dataobject.segments.SegmentLifeCycleState segmentLifeCycleState)
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment loadPreviewForm(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to validatejava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment loadExportForm(com.crm.dataobject.segments.CRMDOSegment segment)
segment - - the segment to loadpublic java.util.ArrayList<java.lang.Object> previewSegment(java.util.ArrayList<java.lang.Object> parameterList)
throws java.lang.Exception
parameterList - - a list of parameters to retrieve the segment fromjava.lang.Exceptionpublic com.crm.framework.main.LookupBuilder getEntityOptions(java.lang.String emptyValue)
throws java.lang.Exception
emptyValue - - an empty value for an entityjava.lang.Exceptionpublic com.crm.dataobject.segments.CRMDOSegment exportButton(com.crm.dataobject.segments.CRMDOSegment segment)
throws java.lang.Exception
segment - - the segment to exportjava.lang.Exception