com.atlassian.jira.action.action
Class ActionCreate

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.action.JiraNonWebActionSupport
              extended bycom.atlassian.jira.action.issue.AbstractIssueAction
                  extended bycom.atlassian.jira.action.issue.AbstractIssueUpdateAction
                      extended bycom.atlassian.jira.action.action.ActionCreate
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.Serializable
Direct Known Subclasses:
WorklogCreate

public class ActionCreate
extends AbstractIssueUpdateAction

See Also:
Serialized Form

Field Summary
(package private)  org.ofbiz.core.entity.GenericValue action
           
(package private)  java.lang.Long actionNum
           
(package private)  java.lang.String body
           
(package private)  java.lang.String level
           
(package private)  java.sql.Timestamp timestamp
           
 
Fields inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
textAnalyzer
 
Fields inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ActionCreate(IssueUpdater issueUpdater, TextAnalyzer textAnalyzer, PermissionManager permissionManager, CacheManager cacheManager)
           
 
Method Summary
protected  void createAction(java.lang.String type, int eventType, boolean updateIssue)
          Create an action, and optionally update the issue.
 java.lang.String doComment()
          This function is called from several places.
 org.ofbiz.core.entity.GenericValue getAction()
           
 java.lang.Long getActionNum()
           
 java.lang.String getBody()
           
 java.lang.String getLevel()
           
 java.sql.Timestamp getTimestamp()
           
 void setActionNum(java.lang.Long actionNum)
           
 void setBody(java.lang.String body)
           
 void setLevel(java.lang.String level)
           
 void setTimestamp(java.sql.Timestamp timestamp)
           
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
createComment, createComment, doUpdate, doUpdate, doUpdate, doUpdate, doUpdateIfNeeded, doUpdateWithChangelog, getComment, getCommentLevel, getOriginalIssue, setComment, setCommentLevel, setIssue
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueAction
doValidation, getIssue
 
Methods inherited from class com.atlassian.jira.action.JiraNonWebActionSupport
doDefault, execute, getRemoteUser, isDispatchEvent, setDispatchEvent, setRemoteUser
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getText, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doExecute, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getPropertyEditorMessage, getTexts, getTexts, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

action

org.ofbiz.core.entity.GenericValue action

body

java.lang.String body

level

java.lang.String level

actionNum

java.lang.Long actionNum

timestamp

java.sql.Timestamp timestamp
Constructor Detail

ActionCreate

public ActionCreate(IssueUpdater issueUpdater,
                    TextAnalyzer textAnalyzer,
                    PermissionManager permissionManager,
                    CacheManager cacheManager)
Method Detail

doComment

public java.lang.String doComment()
                           throws java.lang.Exception
This function is called from several places.

Returns:
Throws:
java.lang.Exception

createAction

protected void createAction(java.lang.String type,
                            int eventType,
                            boolean updateIssue)
                     throws java.lang.Exception
Create an action, and optionally update the issue.

Throws:
java.lang.Exception

getAction

public org.ofbiz.core.entity.GenericValue getAction()

getBody

public java.lang.String getBody()

setBody

public void setBody(java.lang.String body)

getLevel

public java.lang.String getLevel()

setLevel

public void setLevel(java.lang.String level)

getActionNum

public java.lang.Long getActionNum()

setActionNum

public void setActionNum(java.lang.Long actionNum)

getTimestamp

public java.sql.Timestamp getTimestamp()

setTimestamp

public void setTimestamp(java.sql.Timestamp timestamp)


Copyright © 2002-2005 Atlassian. All Rights Reserved.