public class RecordTicklerActionCmdImpl extends TaskCommandImpl implements RecordTicklerActionCmd
RecordTicklerActionCmdImpl records the CSR
action on a list of ticklers, closing those ticklers for which the action is a resolving action.
Behavior:
UpdateTickler task command to update the remind-on date-time
and assignee if needed.
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.
|
| Constructor and Description |
|---|
RecordTicklerActionCmdImpl() |
| 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 is used to retrieve the timestamp of the tickler action.
|
java.lang.Long |
getAssignToMemberId()
This method retrieves the identifier of the Customer Service Representative to whom
this tickler is assigned.
|
AccessVector |
getResources()
This method returns the resources that are accessed by this command.
|
java.lang.Integer |
getTicklerActionId()
This method retrieves the tickler action code.
|
java.lang.Long[] |
getTicklerIds()
This method is used to retrieve the list of tickler identifiers.
|
boolean |
getUnassigned()
This method returns a
boolean flag that determines whether the tickler is to be assigned to a member or not. |
void |
performExecute()
The method executes business logic for this command.
|
void |
reset()
This method is used to reset 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)
This method is used to sets the identifier of the
Customer Service Representative
to whom this tickler is assigned. |
void |
setRequestProperties(TypedProperty reqParms)
This method sets the request properties.
|
void |
setTicklerActionId(java.lang.Integer anTicklerActionId)
This method sets the tickler action code.
|
void |
setTicklerIds(java.lang.Long[] aarrnTickler)
This method sets the list of tickler identifiers.
|
void |
setUnassigned(boolean inUnassignedValue)
This method sets the
boolean flag that determines whether the tickler is to be assigned to a member or not. |
void |
updateTickler(java.lang.Long ticklerId,
java.sql.Timestamp remindOnDate,
java.lang.Short status,
boolean unassigned,
java.lang.Long assignToMember)
This method is used to update an existing tickler.
|
void |
validateParameters()
This method validates the command parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, 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, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long[] getTicklerIds()
getTicklerIds in interface RecordTicklerActionCmdpublic void setTicklerIds(java.lang.Long[] aarrnTickler)
setTicklerIds in interface RecordTicklerActionCmdaarrnTickler - array of tickler identifiers.public java.lang.String getActionComment()
getActionComment in interface RecordTicklerActionCmdpublic void setActionComment(java.lang.String astrComment)
setActionComment in interface RecordTicklerActionCmdastrComment - tickler action comment.public java.lang.Integer getTicklerActionId()
getTicklerActionId in interface RecordTicklerActionCmdpublic void setTicklerActionId(java.lang.Integer anTicklerActionId)
setTicklerActionId in interface RecordTicklerActionCmdanTicklerActionId - tickler action code.public java.sql.Timestamp getActionDate()
getActionDate in interface RecordTicklerActionCmdpublic void setActionDate(java.sql.Timestamp anActionDate)
setActionDate in interface RecordTicklerActionCmdanActionDate - timestamp of the tickler action.public java.lang.Long getAssignToMemberId()
getAssignToMemberId in interface RecordTicklerActionCmdpublic void setAssignToMemberId(java.lang.Long anAssignToMemberId)
Customer Service Representative
to whom this tickler is assigned.setAssignToMemberId in interface RecordTicklerActionCmdanAssignToMemberId - the Customer Service Representative identifier.public boolean getUnassigned()
boolean flag that determines whether the tickler is to be assigned to a member or not.getUnassigned in interface RecordTicklerActionCmdtrue if the tickler is not to be assigned; false otherwisepublic void setUnassigned(boolean inUnassignedValue)
boolean flag that determines whether the tickler is to be assigned to a member or not.setUnassigned in interface RecordTicklerActionCmdinUnassignedValue - true if the tickler is not to be assigned;
false otherwise.public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void updateTickler(java.lang.Long ticklerId,
java.sql.Timestamp remindOnDate,
java.lang.Short status,
boolean unassigned,
java.lang.Long assignToMember)
throws ECException
ticklerId - the identifier of the tickler to be updated.remindOnDate - the date-time when this tickler should show up in the tickler queue;
if not supplied, the current date-time will be used.status - the status of this tickler (0 for open, 1 for closed).unassigned - the flag to indicate whether the tickler is to be assigned:
true if it is not to be assigned,
in which case assignToMember will be ignored;
false otherwise.assignToMember - the ID of the CSR to whom this tickler is to be assigned.ECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
requestProperties provides additional methods for retrieving properties. It is wrapper to java.util.Map.setRequestProperties in interface RecordTicklerActionCmdreqParms - request properties.ECApplicationException