|
|||||||||||
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.SecondClassObjectImpl
com.retek.component.customer.integration.impl.CustomerIntegrationCustomerImportResultImpl
Class which encapsulates common data and behavior for customer integration import result object.
Field Summary |
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl |
context |
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerImportResult |
CONCURRENCY_CONFLICT, DUPLICATE_REQUEST, FAILURE, SUCCESSFUL_IMPORT |
Constructor Summary | |
CustomerIntegrationCustomerImportResultImpl(DistributedContext context,
CustomerIntegrationCustomerImportResultDto dto)
|
|
CustomerIntegrationCustomerImportResultImpl(DistributedContext context,
int status,
java.lang.String requestId)
|
Method Summary | |
CustomerIntegrationCustomerImportResultDto |
getDto()
|
java.lang.Exception |
getException()
Return the exception for the import result, null if result is not a failure. |
java.lang.String |
getRequestId()
Return the import request identifier. |
int |
getStatus()
Return the import result status code. |
boolean |
isConcurrencyConflict()
Return a boolean if the result was a concurrency conflict (RCOM customer was updated more recently than import request). |
boolean |
isDuplicateImport()
Return a boolean if the result was a duplicate request. |
boolean |
isFailure()
Return a boolean if the result was failure. |
boolean |
isSuccessfulImport()
Return a boolean if the result was successful. |
void |
setException(java.lang.Exception e)
|
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl |
equals, getGenericDto, hashCode, setGenericDto, 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.BusinessObject |
getBusinessInterface |
Constructor Detail |
public CustomerIntegrationCustomerImportResultImpl(DistributedContext context, CustomerIntegrationCustomerImportResultDto dto)
public CustomerIntegrationCustomerImportResultImpl(DistributedContext context, int status, java.lang.String requestId)
Method Detail |
public CustomerIntegrationCustomerImportResultDto getDto()
public java.lang.String getRequestId()
CustomerIntegrationCustomerImportResult
getRequestId
in interface CustomerIntegrationCustomerImportResult
public int getStatus()
CustomerIntegrationCustomerImportResult
getStatus
in interface CustomerIntegrationCustomerImportResult
public boolean isSuccessfulImport()
CustomerIntegrationCustomerImportResult
isSuccessfulImport
in interface CustomerIntegrationCustomerImportResult
public boolean isDuplicateImport()
CustomerIntegrationCustomerImportResult
isDuplicateImport
in interface CustomerIntegrationCustomerImportResult
public boolean isConcurrencyConflict()
CustomerIntegrationCustomerImportResult
isConcurrencyConflict
in interface CustomerIntegrationCustomerImportResult
public boolean isFailure()
CustomerIntegrationCustomerImportResult
isFailure
in interface CustomerIntegrationCustomerImportResult
public java.lang.Exception getException()
CustomerIntegrationCustomerImportResult
getException
in interface CustomerIntegrationCustomerImportResult
public void setException(java.lang.Exception e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |