public class TicklerActionRecordCmdImpl extends ControllerCommandImpl implements TicklerActionRecordCmd
TicklerActionRecordCmdImpl
is used to record a Customer Service
Representative action on a tickler, closing the tickler if the action is a resolving action.
Mandatory parameters: ticklerId
, ticklerActionId
, URL
Optional parameters: actionDate
, inAssignToMemberId
, comment
Behavior:
RecordTicklerAction
task command to record the action on the tickler.
Exceptional conditions:
Default security policies:
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.
|
defaultCommandClassName
Constructor and Description |
---|
TicklerActionRecordCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionComment()
This method retrieves the tickler action comment(notes on the action).
|
java.sql.Timestamp |
getActionDate()
This method retrieves the timestamp of the tickler action.
|
java.lang.Long |
getAssignToMemberId()
This method retrieves the identifier of the Customer Service Representative(CSR)
to whom this tickler is assigned.
|
AccessVector |
getResources()
This method retrieves the resources that are accessed by this command.
|
java.lang.Integer |
getTicklerActionId()
This method retrieves the tickler action code.
|
java.lang.Long |
getTicklerId()
This method returns the tickler identifier.
|
java.lang.String |
getURL()
This method returns the redirect URL.
|
void |
performExecute()
The business logic for this command that records a tickler action.
|
void |
reset()
This method resets all the command parameters.
|
void |
setActionComment(java.lang.String astrComment)
This method sets the tickler action comment (notes on the action).
|
void |
setActionDate(java.sql.Timestamp anActionDate)
This method sets the timestamp of the tickler action.
|
void |
setAssignToMemberId(java.lang.Long anAssignToMemberId)
The method sets the identifier of the Customer Service Representative(CSR) to
whom this tickler is assigned.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setTicklerActionId(java.lang.Integer anTicklerActionId)
This method is used to set the tickler action code.
|
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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getTicklerId()
public void setTicklerId(java.lang.Long anTicklerId)
anTicklerId
- tickler identifier.public java.lang.Integer getTicklerActionId()
public void setTicklerActionId(java.lang.Integer anTicklerActionId)
anTicklerActionId
- tickler action code.public java.lang.String getURL()
public void setURL(java.lang.String astrURL)
astrURL
- redirect URL.public java.sql.Timestamp getActionDate()
public void setActionDate(java.sql.Timestamp anActionDate)
anActionDate
- timestamp of the tickler action.public java.lang.Long getAssignToMemberId()
public void setAssignToMemberId(java.lang.Long anAssignToMemberId)
anAssignToMemberId
- the Customer Service Representative(CSR) identifier.public java.lang.String getActionComment()
public void setActionComment(java.lang.String astrComment)
astrComment
- tickler action comment.public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
com.ibm.commerce.exception.ECException.
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
java.util.Map
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- the request properties to be set.ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException