public class UniquePromotionCodesPopulateCmdImpl extends ControllerCommandImpl implements UniquePromotionCodesPopulateCmd
defaultCommandClassName, NAME| Constructor and Description |
|---|
UniquePromotionCodesPopulateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accessControlCheck()
This method performs a command level access control check by invoking the
access control manager.
|
void |
cleanCodeInDB()
Invokes the UniquePromotionCodesCleanCmd command to clean all generated code in the database
|
void |
performExecute()
This method first checks the status is in canceled state.
|
void |
scheduleNextBatch(int newBatchSize)
Schedule another job to go on with the code generation process.
|
void |
validateParameters()
Check whether the promotion and related code specification are in the
database.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesgetAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic boolean accessControlCheck()
throws ECException
accessControlCheck in interface AccCommandaccessControlCheck in class AbstractECTargetableCommandtrue if the user has authority;
otherwise it throws an exception.ECException - An
ECApplicationException is thrown when an _ERR_USER_AUTHORITY
error occurs.public void validateParameters()
throws ECApplicationException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationExceptionpublic void scheduleNextBatch(int newBatchSize)
throws ECException
newBatchSize - An Integer value representing the new batch sizeECExceptionpublic void cleanCodeInDB()