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, 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 getTaskGroupId()
getTaskGroupId
in interface AddTaskGroupCommentCmd
public java.lang.Long getTaskGroupCommentId()
getTaskGroupCommentId
in interface AddTaskGroupCommentCmd
public java.lang.String getComments()
getComments
in interface AddTaskGroupCommentCmd
public java.lang.Long getPostedBy()
getPostedBy
in interface AddTaskGroupCommentCmd
public java.sql.Timestamp getPostDate()
getPostDate
in interface AddTaskGroupCommentCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setTaskGroupId(java.lang.Long anTaskGroupId)
setTaskGroupId
in interface AddTaskGroupCommentCmd
anTaskGroupId
- The ID of the Task Group.public void setTaskGroupCommentId(java.lang.Long anTaskGroupCommentId)
setTaskGroupCommentId
in interface AddTaskGroupCommentCmd
anTaskGroupCommentId
- The ID of the Task Group Comment.public void setComments(java.lang.String astrComments)
setComments
in interface AddTaskGroupCommentCmd
astrComments
- commentspublic void setPostedBy(java.lang.Long iPostedBy)
setPostedBy
in interface AddTaskGroupCommentCmd
iPostedBy
- Posted Bypublic void setPostDate(java.sql.Timestamp iPostDate)
iPostDate
- Comment post datepublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException