com.atlassian.jira.web.action.issue.bulkedit
Class BulkMove
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
com.atlassian.jira.web.action.issue.bulkedit.BulkMove
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- BulkMigrate
public class BulkMove
- extends AbstractBulkOperationDetailsAction
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, 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 |
RADIO_ERROR_MSG
public static final String RADIO_ERROR_MSG
- See Also:
- Constant Field Values
bulkMoveOperation
protected BulkMoveOperation bulkMoveOperation
fieldManager
protected final FieldManager fieldManager
workflowManager
protected final WorkflowManager workflowManager
constantsManager
protected final ConstantsManager constantsManager
issueFactory
protected final IssueFactory issueFactory
permissionManager
protected final PermissionManager permissionManager
BulkMove
public BulkMove(BulkMoveOperation bulkMoveOperation,
FieldManager fieldManager,
WorkflowManager workflowManager,
ConstantsManager constantsManager,
IssueFactory issueFactory,
PermissionManager permissionManager)
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
doDetails
public String doDetails()
throws FieldLayoutStorageException
- Specified by:
doDetails
in class AbstractBulkOperationDetailsAction
- Throws:
FieldLayoutStorageException
doPerform
public String doPerform()
throws Exception
- Specified by:
doPerform
in class AbstractBulkOperationDetailsAction
- Throws:
Exception
doDetailsValidation
public String doDetailsValidation()
throws Exception
- Specified by:
doDetailsValidation
in class AbstractBulkOperationDetailsAction
- Throws:
Exception
isHasAvailableActions
public boolean isHasAvailableActions()
throws Exception
- Throws:
Exception
doContextValidation
public String doContextValidation()
throws Exception
- Throws:
Exception
doStatusValidation
public String doStatusValidation()
throws Exception
- Throws:
Exception
doFieldsValidation
public String doFieldsValidation()
throws Exception
- Throws:
Exception
getFieldHtml
public String getFieldHtml(String fieldId,
BulkEditBean bulkEditBean)
- Only invoked when displaying the Project and Issue type as part of the bulk move operation
getFieldHtml
public String getFieldHtml(String fieldId)
getFieldHtml
public String getFieldHtml(FieldLayoutItem fieldLayoutItem)
- Used when displaying the fields to be edited during the bulk move operation
isIssueTypesAvailable
public boolean isIssueTypesAvailable()
isSubTaskTypesAvailable
public boolean isSubTaskTypesAvailable()
getFieldViewHtml
public String getFieldViewHtml(OrderableField orderableField)
getMoveFieldLayoutItems
public Collection getMoveFieldLayoutItems()
getFieldName
public String getFieldName(Field field)
getNewViewHtml
public String getNewViewHtml(OrderableField field)
getNewViewHtml
public String getNewViewHtml(BulkEditBean bulkEditBean,
OrderableField field)
isAvailable
public boolean isAvailable(String action)
throws Exception
- Throws:
Exception
isAllowProjectEdit
public boolean isAllowProjectEdit()
isAllowProjectEdit
public boolean isAllowProjectEdit(BulkEditBean bulkEditBean)
getOperationDetailsActionName
public String getOperationDetailsActionName()
populateFromParams
protected void populateFromParams(OrderableField orderableField)
getTargetWorkflowStatuses
public Collection getTargetWorkflowStatuses(String issueTypeId)
throws WorkflowException
- Throws:
WorkflowException
getWorkflowForType
public JiraWorkflow getWorkflowForType(Long projectId,
String issueTypeId)
throws WorkflowException
- Throws:
WorkflowException
getStatusName
public String getStatusName(String id)
getCurrentTargetPid
public String getCurrentTargetPid()
getCurrentTargetProject
public org.ofbiz.core.entity.GenericValue getCurrentTargetProject()
progressToLastStep
protected void progressToLastStep()
getIssueObject
protected MutableIssue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
getConstantsManager
public ConstantsManager getConstantsManager()
- Overrides:
getConstantsManager
in class JiraWebActionSupport
getCurrentIssueType
public String getCurrentIssueType()
redirectToStart
protected String redirectToStart()
isSubTaskPhase
public boolean isSubTaskPhase()
setSubTaskPhase
public void setSubTaskPhase(boolean subTaskPhase)
getBulkEditBean
public BulkEditBean getBulkEditBean()
- Overrides:
getBulkEditBean
in class AbstractBulkOperationAction
Copyright © 2002-2007 Atlassian. All Rights Reserved.