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, 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
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long[] getTicklerIds()
getTicklerIds
in interface RecordTicklerActionCmd
public void setTicklerIds(java.lang.Long[] aarrnTickler)
setTicklerIds
in interface RecordTicklerActionCmd
aarrnTickler
- array of tickler identifiers.public java.lang.String getActionComment()
getActionComment
in interface RecordTicklerActionCmd
public void setActionComment(java.lang.String astrComment)
setActionComment
in interface RecordTicklerActionCmd
astrComment
- tickler action comment.public java.lang.Integer getTicklerActionId()
getTicklerActionId
in interface RecordTicklerActionCmd
public void setTicklerActionId(java.lang.Integer anTicklerActionId)
setTicklerActionId
in interface RecordTicklerActionCmd
anTicklerActionId
- tickler action code.public java.sql.Timestamp getActionDate()
getActionDate
in interface RecordTicklerActionCmd
public void setActionDate(java.sql.Timestamp anActionDate)
setActionDate
in interface RecordTicklerActionCmd
anActionDate
- timestamp of the tickler action.public java.lang.Long getAssignToMemberId()
getAssignToMemberId
in interface RecordTicklerActionCmd
public void setAssignToMemberId(java.lang.Long anAssignToMemberId)
Customer Service Representative
to whom this tickler is assigned.setAssignToMemberId
in interface RecordTicklerActionCmd
anAssignToMemberId
- 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 RecordTicklerActionCmd
true
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 RecordTicklerActionCmd
inUnassignedValue
- true
if the tickler is not to be assigned;
false
otherwise.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 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.ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
requestProperties
provides additional methods for retrieving properties. It is wrapper to java.util.Map
.setRequestProperties
in interface RecordTicklerActionCmd
reqParms
- request properties.ECApplicationException