public class TicklerLockCmdImpl extends ControllerCommandImpl implements TicklerLockCmd
TicklerLockCmdImpl
locks a tickler when a CSR is working on it.
Mandatory parameters: ticklerId, URL
Behavior:
LockTickler
task command to lock the tickler.
Exceptional conditions:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
TicklerLockCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccessVector |
getResources()
This method retrieves the resources that are accessed by this command.
|
java.lang.Long |
getTicklerId()
This method retrieves the tickler identifier.
|
java.lang.String |
getURL()
This method retrieves the redirect URL.
|
void |
performExecute()
This method executes the business logic for this command.
|
void |
reset()
This method resets all the command parameters.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setTicklerId(java.lang.Long anTicklerId)
This method sets the tickler identifier.
|
void |
setURL(java.lang.String astrURL)
This method sets the redirect URL.
|
void |
validateParameters()
This method validates the command parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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
execute
accessControlCheck, getAccCheck, setAccCheck
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.String getURL()
public void setURL(java.lang.String astrURL)
astrURL
- redirect URL.public java.lang.Long getTicklerId()
public void setTicklerId(java.lang.Long anTicklerId)
anTicklerId
- tickler identifier.public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
requestProperties
provides additional methods for retrieving properties. It is wrapper to java.util.Map
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- request properties.ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException