com.retek.component.customer.integration
Interface CustomerIntegrationCustomerImportResult

All Superinterfaces:
BusinessObject, SecondClassObject
All Known Implementing Classes:
CustomerIntegrationCustomerImportResultImpl

public interface CustomerIntegrationCustomerImportResult
extends SecondClassObject

Inteface defining common responsibilities for customer integration import result.


Field Summary
static int CONCURRENCY_CONFLICT
           
static int DUPLICATE_REQUEST
           
static int FAILURE
           
static int SUCCESSFUL_IMPORT
           
 
Method Summary
 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.
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Field Detail

SUCCESSFUL_IMPORT

public static final int SUCCESSFUL_IMPORT
See Also:
Constant Field Values

DUPLICATE_REQUEST

public static final int DUPLICATE_REQUEST
See Also:
Constant Field Values

CONCURRENCY_CONFLICT

public static final int CONCURRENCY_CONFLICT
See Also:
Constant Field Values

FAILURE

public static final int FAILURE
See Also:
Constant Field Values
Method Detail

getRequestId

public java.lang.String getRequestId()
Return the import request identifier.


getStatus

public int getStatus()
Return the import result status code.


isSuccessfulImport

public boolean isSuccessfulImport()
Return a boolean if the result was successful.

Returns:
true if import was successful

isDuplicateImport

public boolean isDuplicateImport()
Return a boolean if the result was a duplicate request.

Returns:
true if import was already processed

isConcurrencyConflict

public boolean isConcurrencyConflict()
Return a boolean if the result was a concurrency conflict (RCOM customer was updated more recently than import request).

Returns:
true if result was concurrency conflict

isFailure

public boolean isFailure()
Return a boolean if the result was failure.

Returns:
true if import was failure

getException

public java.lang.Exception getException()
Return the exception for the import result, null if result is not a failure.

Returns:
Exception failure exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28