com.ibm.commerce.utf.commands
Class RFQMarkForDeleteCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.utf.commands.RFQMarkForDeleteCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, RFQMarkForDeleteCmd
- public class RFQMarkForDeleteCmdImpl
- extends ControllerCommandImpl
- implements RFQMarkForDeleteCmd
ControllerCommand class implementation for marking RFQs for delete.
This command is invoked by a scheduled job. It calls the
MarkForDeleteCmd
task command.
- See Also:
validateParameters()
,
Method Summary |
void |
performExecute()
Calls the MarkForDeleteCmd task command to process the
work. |
void |
validateParameters()
Checks if the optional parameter, markForDeleteAfterNumberOfDays , was supplied
with the request. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
RFQMarkForDeleteCmdImpl
public RFQMarkForDeleteCmdImpl()
performExecute
public void performExecute()
throws ECException
- Calls the
MarkForDeleteCmd
task command to process the
work.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException.
- - See Also:
validateParameters()
,
validateParameters
public void validateParameters()
throws ECException
- Checks if the optional parameter,
markForDeleteAfterNumberOfDays
, was supplied
with the request. If the parameter was not supplied then RFQs are immediately mark
for deletion. The default is one day.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Throws:
ECException.
-