com.atlassian.jira.web.action.issue
Class AttachFile

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.IssueActionSupport
                      extended bycom.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended bycom.atlassian.jira.web.action.issue.AbstractViewIssue
                              extended bycom.atlassian.jira.web.action.issue.AbstractCommentableIssue
                                  extended bycom.atlassian.jira.web.action.issue.AttachFile
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, java.io.Serializable

public class AttachFile
extends AbstractCommentableIssue

See Also:
Serialized Form

Field Summary
static java.lang.String MODE_MULTIPLE
           
static java.lang.String MODE_SINGLE
           
 
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
id
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager, savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AttachFile(IssueLinkManager issueLinkManager, SubTaskManager subTaskManager, WebAttachmentManager webAttachmentManager, IssueUpdater issueUpdater, ApplicationProperties applicationProperties)
           
 
Method Summary
protected  org.ofbiz.core.entity.GenericValue createComment(org.ofbiz.core.entity.GenericValue commentedIssue)
           
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doScreenshot()
           
protected  void doValidation()
           
 java.lang.String getAttachmentFieldDescription()
           
 java.util.List getParamNames()
           
 boolean isMultiple()
           
 void setMultiple(boolean multiple)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractCommentableIssue
getComment, getCommentLevel, getCommentLevels, setComment, setCommentLevel
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractViewIssue
getAttachments, getIssueLinkManager, getLinkCollection, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirst, getSubTaskManager, isScreenshotAttachable, isSubTask, isSubTaskCreatable
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssue, getIssuePath, getKey, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getViewIssueKey, getViewUrl, isEditable, isEditable, isIssueExists, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters, getSelectedProject, isEnterprise, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

MODE_MULTIPLE

public static final java.lang.String MODE_MULTIPLE
See Also:
Constant Field Values

MODE_SINGLE

public static final java.lang.String MODE_SINGLE
See Also:
Constant Field Values
Constructor Detail

AttachFile

public AttachFile(IssueLinkManager issueLinkManager,
                  SubTaskManager subTaskManager,
                  WebAttachmentManager webAttachmentManager,
                  IssueUpdater issueUpdater,
                  ApplicationProperties applicationProperties)
Method Detail

getParamNames

public java.util.List getParamNames()

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class AbstractCommentableIssue

doScreenshot

public java.lang.String doScreenshot()

doExecute

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

createComment

protected org.ofbiz.core.entity.GenericValue createComment(org.ofbiz.core.entity.GenericValue commentedIssue)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

isMultiple

public boolean isMultiple()

setMultiple

public void setMultiple(boolean multiple)

getAttachmentFieldDescription

public java.lang.String getAttachmentFieldDescription()
                                               throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException


Copyright © 2002-2005 Atlassian. All Rights Reserved.