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, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public MarkRFQForDeleteCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public int getMarkForDeleteAfterNumberOfDays()
getMarkForDeleteAfterNumberOfDays
in interface MarkRFQForDeleteCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
ECCommand#getResources()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void setMarkForDeleteAfterNumberOfDays(int numOfDays)
setMarkForDeleteAfterNumberOfDays
in interface MarkRFQForDeleteCmd
numOfDays
- 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 MarkRFQForDeleteCmd
storeId
- Sets the store identifier number. If the store
id is 0 then this command works on all RFQs for the site.