com.atlassian.jira.web.action.issue.bulkedit
Class BulkEdit
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.BulkEdit
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class BulkEdit
- 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, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, 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
BulkEdit
public BulkEdit(BulkOperationManager bulkOperationManager,
FieldManager fieldManager,
IssueFactory issueFactory,
PermissionManager permissionManager)
getFieldHtml
public String getFieldHtml(String fieldId)
throws Exception
- Throws:
Exception
getFieldViewHtml
public String getFieldViewHtml(OrderableField orderableField)
getIssueObject
protected Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
buildFieldScreenRenderLayoutItem
protected FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field,
org.ofbiz.core.entity.GenericValue issue)
doDetails
public String doDetails()
- Specified by:
doDetails
in class AbstractBulkOperationDetailsAction
doDetailsValidation
public String doDetailsValidation()
throws Exception
- Specified by:
doDetailsValidation
in class AbstractBulkOperationDetailsAction
- Throws:
Exception
doPerform
public String doPerform()
throws Exception
- Specified by:
doPerform
in class AbstractBulkOperationDetailsAction
- Throws:
Exception
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
isHasAvailableActions
public boolean isHasAvailableActions()
throws Exception
- Throws:
Exception
getEditActions
public Map getEditActions()
- Returns a list of bulk actions
If search request was performed on "All Projects" (ie. multiple projects) certain actions such as fixfor will not
be displayed, as fixfor versions obviously differ across projects.
If no issues have been selected then no actions should be shown
getVisibleActions
public Collection getVisibleActions()
- Returns a list of bulk actions which are visible/available
getHiddenActions
public Collection getHiddenActions()
- Returns a list of bulk actions which are hidden/unavailable
isAvailable
public boolean isAvailable(String action)
throws Exception
- Throws:
Exception
getCustomFields
public Collection getCustomFields()
isHasFirstElement
public boolean isHasFirstElement(List actions)
setCurrentStep
public void setCurrentStep(int step)
getActions
public String[] getActions()
setActions
public void setActions(String[] actions)
getOperationDetailsActionName
public String getOperationDetailsActionName()
isChecked
public boolean isChecked(String value)
Copyright © 2002-2007 Atlassian. All Rights Reserved.