|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is the request that invokes the customer merge process, and holds information about the customers being merged.
Field Summary | |
static java.lang.String |
DISPLAY_CODE
|
static java.lang.String |
MERGE_CUSTOMERS
|
static java.lang.String |
REQUEST_TYPE
|
Method Summary | |
void |
addMergeCustomer(Customer mergeCustomer)
Add a merge customer to the merge request. |
Customer |
getActiveCustomer()
Return the active (primary) customer for the merge request. |
RDate |
getCreateDate()
Return the date the merge request was created. |
User |
getCreatedByUser()
Return the user that created the merge request. |
java.lang.String |
getDisplayCode()
Return the display code (external identifier) for the customer merge request. |
java.util.Set |
getMergeCustomers()
Return the merge customers for the merge request. |
RDate |
getProcessedDate()
Return the date the request was processed (either the date it was exported if it is an 'Export' request OR the date the merge was processed if it is an 'Import' request). |
CustomerMergeRequestType |
getRequestType()
Return the type for the customer merge request. |
boolean |
isProcessed()
Return boolean indicating if the request was processed (either exported or imported). |
void |
markProcessed()
Mark the merge request as processed. |
void |
submit()
Submit the customer merge request. |
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
Methods inherited from interface com.retek.commons.component.BusinessObject |
getBusinessInterface |
Field Detail |
public static final java.lang.String REQUEST_TYPE
public static final java.lang.String DISPLAY_CODE
public static final java.lang.String MERGE_CUSTOMERS
Method Detail |
public java.lang.String getDisplayCode() throws SystemException
SystemException
public CustomerMergeRequestType getRequestType() throws SystemException
SystemException
public RDate getCreateDate() throws SystemException
SystemException
public User getCreatedByUser() throws SystemException
SystemException
public RDate getProcessedDate() throws SystemException
SystemException
public boolean isProcessed() throws SystemException
SystemException
public Customer getActiveCustomer() throws SystemException
SystemException
public java.util.Set getMergeCustomers() throws SystemException
SystemException
public void markProcessed() throws SystemException
SystemException
public void addMergeCustomer(Customer mergeCustomer) throws SystemException
mergeCustomer
- customer to be merged
SystemException
public void submit() throws SystemException, BusinessException
SystemException
BusinessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |