com.atlassian.jira.action.attachment
Class AttachmentCreate

java.lang.Object
  extended byActionSupport
      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.attachment.AttachmentCreate

public class AttachmentCreate
extends AbstractIssueUpdateAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
textAnalyzer
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Constructor Summary
AttachmentCreate(IssueUpdater issueUpdater)
           
 
Method Summary
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 GenericValue getAttachment()
           
 java.lang.String getFilename()
           
 java.lang.Long getFilesize()
           
 java.lang.String getMimetype()
           
 void setFilename(java.lang.String filename)
           
 void setFilesize(java.lang.Long filesize)
           
 void setMimetype(java.lang.String mimetype)
           
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueUpdateAction
createComment, createComment, doUpdate, doUpdate, doUpdate, doUpdateIfNeeded, doUpdateWithChangelog, getComment, getCommentLevel, setComment, setCommentLevel, setIssue
 
Methods inherited from class com.atlassian.jira.action.issue.AbstractIssueAction
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, addErrors, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getText, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentCreate

public AttachmentCreate(IssueUpdater issueUpdater)
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class AbstractIssueAction

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getAttachment

public GenericValue getAttachment()

getFilename

public java.lang.String getFilename()

setFilename

public void setFilename(java.lang.String filename)

getMimetype

public java.lang.String getMimetype()

setMimetype

public void setMimetype(java.lang.String mimetype)

getFilesize

public java.lang.Long getFilesize()

setFilesize

public void setFilesize(java.lang.Long filesize)