com.retek.component.customerorder.batch
Class BaseCustomerOrderBatchSubprocess
java.lang.Object
com.retek.component.customerorder.batch.BaseCustomerOrderBatchSubprocess
- All Implemented Interfaces:
- CustomerOrderBatchSubprocess
- Direct Known Subclasses:
- BaseCreditCardReauthorizeSubprocess, CreditCardAuthorizeWaitingAuthSubprocess, CreditCardExpireAuthorizationsSubprocess
- public abstract class BaseCustomerOrderBatchSubprocess
- extends java.lang.Object
- implements CustomerOrderBatchSubprocess
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseCustomerOrderBatchSubprocess
protected BaseCustomerOrderBatchSubprocess(RcomAbstractBatchProgram parentBatch,
DistributedContext batchContext)
getSubprocessName
public final java.lang.String getSubprocessName()
- Description copied from interface:
CustomerOrderBatchSubprocess
- Return the subprocess name for logging information.
- Specified by:
getSubprocessName
in interface CustomerOrderBatchSubprocess
- Returns:
- String subprocess name
executeSubprocess
public final void executeSubprocess(java.util.Map args)
- Description copied from interface:
CustomerOrderBatchSubprocess
- Execute the batch subprocess.
- Specified by:
executeSubprocess
in interface CustomerOrderBatchSubprocess
- Parameters:
args
-
getBatchResult
public final BatchResult getBatchResult()
- Description copied from interface:
CustomerOrderBatchSubprocess
- Return the batch result (success, partial failure, complete failure) for the
batch subprocess.
- Specified by:
getBatchResult
in interface CustomerOrderBatchSubprocess
- Returns:
- BatchResult subprocess batch result
doSubprocess
protected void doSubprocess(java.util.Map args)
throws SystemException
- Throws:
SystemException
doWorkOnOrders
protected final void doWorkOnOrders(java.util.Set orderRefs,
java.lang.String userId,
int workUnitNumber)
throws SystemException
- Throws:
SystemException
getBatch
protected final RcomAbstractBatchProgram getBatch()
getBatchContext
protected final DistributedContext getBatchContext()
promoteToPartialFailure
protected final void promoteToPartialFailure()
promoteToCompleteFailure
protected final void promoteToCompleteFailure()
getBatchUser
protected final User getBatchUser(DistributedContext context,
java.lang.String userId)
throws SystemException
- Throws:
SystemException
getWorkUnitSize
protected final int getWorkUnitSize(java.util.Map args)
getCustomerOrderStateModel
protected final CustomerOrderStateModel getCustomerOrderStateModel()
createOrderSearchCriteria
protected abstract OrderSearchCriteria createOrderSearchCriteria()
throws SystemException
- Throws:
SystemException
doProcessOrder
protected abstract boolean doProcessOrder(CustomerOrder order)
throws SystemException
- Throws:
SystemException
getLogger
protected abstract RetekLogger getLogger()
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28