public class AddTaskGroupCommentCmdImpl extends TaskCommandImpl implements AddTaskGroupCommentCmd
AddTaskGroupCommentCmd is a task command that:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
| Constructor and Description |
|---|
AddTaskGroupCommentCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComments()
Returns the Task Group Comments.
|
java.sql.Timestamp |
getPostDate()
Returns the generated post date of comment.
|
java.lang.Long |
getPostedBy()
Returns the member ID of the person who posted the comment.
|
AccessVector |
getResources()
Gets the resources accessed by this command.
|
java.lang.Long |
getTaskGroupCommentId()
Returns the Task Group Comment ID.
|
java.lang.Long |
getTaskGroupId()
Returns the Task Group ID to which the comment is being attached
|
void |
performExecute()
Performs the execution of the command.
|
void |
reset()
Resets all the values to null
|
void |
setComments(java.lang.String astrComments)
Sets the comments
|
void |
setPostDate(java.sql.Timestamp iPostDate)
Sets the generated post date of comment.
|
void |
setPostedBy(java.lang.Long iPostedBy)
Sets the poster's member id
|
void |
setTaskGroupCommentId(java.lang.Long anTaskGroupCommentId)
Sets the Task Group Comment ID
|
void |
setTaskGroupId(java.lang.Long anTaskGroupId)
Sets the Task Group ID
|
void |
validateParameters()
Validates the input 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 getTaskGroupId()
getTaskGroupId in interface AddTaskGroupCommentCmdpublic java.lang.Long getTaskGroupCommentId()
getTaskGroupCommentId in interface AddTaskGroupCommentCmdpublic java.lang.String getComments()
getComments in interface AddTaskGroupCommentCmdpublic java.lang.Long getPostedBy()
getPostedBy in interface AddTaskGroupCommentCmdpublic java.sql.Timestamp getPostDate()
getPostDate in interface AddTaskGroupCommentCmdpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setTaskGroupId(java.lang.Long anTaskGroupId)
setTaskGroupId in interface AddTaskGroupCommentCmdanTaskGroupId - The ID of the Task Group.public void setTaskGroupCommentId(java.lang.Long anTaskGroupCommentId)
setTaskGroupCommentId in interface AddTaskGroupCommentCmdanTaskGroupCommentId - The ID of the Task Group Comment.public void setComments(java.lang.String astrComments)
setComments in interface AddTaskGroupCommentCmdastrComments - commentspublic void setPostedBy(java.lang.Long iPostedBy)
setPostedBy in interface AddTaskGroupCommentCmdiPostedBy - Posted Bypublic void setPostDate(java.sql.Timestamp iPostDate)
iPostDate - Comment post datepublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException