|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.customer.impl.CustomerMergeRequestImpl
Nested Class Summary |
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
DistributedObjectImpl.DtoBurgular |
Field Summary |
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl |
context |
Fields inherited from interface com.retek.component.customer.CustomerMergeRequest |
DISPLAY_CODE, MERGE_CUSTOMERS, REQUEST_TYPE |
Constructor Summary | |
CustomerMergeRequestImpl(DistributedContext context,
DistributedReference reference)
|
|
CustomerMergeRequestImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
|
Method Summary | |
void |
addMergeCustomer(Customer mergeCustomer)
Add a merge customer to the merge request. |
void |
addMergeCustomerRef(DistributedReference customerRef)
|
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. |
CustomerMergeRequestDto |
getDto()
|
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. |
protected Dto |
readLatest()
|
void |
setActiveCustomer(Customer activeCustomer)
|
void |
setActiveCustomerRef(DistributedReference activeCustomerRef)
|
void |
setCreateDate(RDate createDate)
|
void |
setCreatedByUser(User createdByUser)
|
void |
setDisplayCode(java.lang.String displayCode)
|
void |
setRequestType(CustomerMergeRequestType requestType)
|
void |
submit()
Submit the customer merge request. |
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap |
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl |
checkRelation, checkRelation, getBusinessInterface, getContext |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 |
Constructor Detail |
public CustomerMergeRequestImpl(DistributedContext context, DistributedReference reference, boolean createHollow) throws SystemException
public CustomerMergeRequestImpl(DistributedContext context, DistributedReference reference) throws SystemException
Method Detail |
protected Dto readLatest() throws SystemException
readLatest
in class DistributedObjectImpl
SystemException
public CustomerMergeRequestDto getDto() throws SystemException
SystemException
public java.lang.String getDisplayCode() throws SystemException
CustomerMergeRequest
getDisplayCode
in interface CustomerMergeRequest
SystemException
public void setDisplayCode(java.lang.String displayCode) throws SystemException
SystemException
public Customer getActiveCustomer() throws SystemException
CustomerMergeRequest
getActiveCustomer
in interface CustomerMergeRequest
SystemException
public void setActiveCustomer(Customer activeCustomer) throws SystemException
SystemException
public void setActiveCustomerRef(DistributedReference activeCustomerRef) throws SystemException
SystemException
public CustomerMergeRequestType getRequestType() throws SystemException
CustomerMergeRequest
getRequestType
in interface CustomerMergeRequest
SystemException
public void setRequestType(CustomerMergeRequestType requestType) throws SystemException
SystemException
public java.util.Set getMergeCustomers() throws SystemException
CustomerMergeRequest
getMergeCustomers
in interface CustomerMergeRequest
SystemException
public void addMergeCustomer(Customer mergeCustomer) throws SystemException
CustomerMergeRequest
addMergeCustomer
in interface CustomerMergeRequest
mergeCustomer
- customer to be merged
SystemException
public void addMergeCustomerRef(DistributedReference customerRef) throws SystemException
SystemException
public void submit() throws SystemException, BusinessException
CustomerMergeRequest
submit
in interface CustomerMergeRequest
SystemException
BusinessException
public RDate getProcessedDate() throws SystemException
CustomerMergeRequest
getProcessedDate
in interface CustomerMergeRequest
SystemException
public boolean isProcessed() throws SystemException
CustomerMergeRequest
isProcessed
in interface CustomerMergeRequest
SystemException
public void markProcessed() throws SystemException
CustomerMergeRequest
markProcessed
in interface CustomerMergeRequest
SystemException
public RDate getCreateDate() throws SystemException
CustomerMergeRequest
getCreateDate
in interface CustomerMergeRequest
SystemException
public void setCreateDate(RDate createDate) throws SystemException
SystemException
public User getCreatedByUser() throws SystemException
CustomerMergeRequest
getCreatedByUser
in interface CustomerMergeRequest
SystemException
public void setCreatedByUser(User createdByUser) throws SystemException
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |