public class MarkRFQForDeleteCmdImpl extends TaskCommandImpl implements MarkRFQForDeleteCmd
This is the default implementation of the MarkRFQForDeleteCmd. This command uses the following AccessBeans:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME, siteStoreId| Constructor and Description |
|---|
MarkRFQForDeleteCmdImpl()
Constructs a new MarkRFQForDeleteCmdImpl class instances.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMarkForDeleteAfterNumberOfDays()
Returns the number of days the canceled and completed RFQs
are marked for delete after having been canceled or completed.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
Marks all completed and canceled RFQs for delete.
|
void |
reset()
Reset the command.
|
void |
setMarkForDeleteAfterNumberOfDays(int numOfDays)
Sets the number of days the canceled and completed RFQs
are marked for delete after having been canceled or completed.
|
void |
setStoreId(java.lang.Integer storeId)
Sets store ID.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, 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, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public MarkRFQForDeleteCmdImpl()
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic int getMarkForDeleteAfterNumberOfDays()
getMarkForDeleteAfterNumberOfDays in interface MarkRFQForDeleteCmdpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionECCommand#getResources()public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECCommand#performExecute()public void setMarkForDeleteAfterNumberOfDays(int numOfDays)
setMarkForDeleteAfterNumberOfDays in interface MarkRFQForDeleteCmdnumOfDays - The number of days when an RFQ is marked for delete after
being canceled or completed.public void setStoreId(java.lang.Integer storeId)
setStoreId in interface MarkRFQForDeleteCmdstoreId - Sets the store identifier number. If the store
id is 0 then this command works on all RFQs for the site.