com.atlassian.jira.web.action.issue.bulkedit
Class BulkEdit

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
                          extended by com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
                              extended by com.atlassian.jira.web.action.issue.bulkedit.BulkEdit
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class BulkEdit
extends AbstractBulkOperationDetailsAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static java.lang.String RADIO_ERROR_MSG
           
 
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport
attachmentManager
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
projectManager
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
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
BulkEdit(SearchService searchService, BulkOperationManager bulkOperationManager, FieldManager fieldManager, IssueFactory issueFactory, PermissionManager permissionManager)
           
 
Method Summary
protected  FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
           
 java.lang.String doDefault()
           
 java.lang.String doDetails()
           
 java.lang.String doDetailsValidation()
           
 java.lang.String doPerform()
           
 java.lang.String[] getActions()
           
 java.util.Collection getCustomFields()
           
 java.util.Map getEditActions()
          Returns a list of bulk actions If search request was performed on "All Projects" (ie.
 java.lang.String getFieldHtml(java.lang.String fieldId)
           
 java.lang.String getFieldViewHtml(OrderableField orderableField)
           
 java.util.Collection getHiddenActions()
          Returns a list of bulk actions which are hidden/unavailable
protected  Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
           
 java.lang.String getOperationDetailsActionName()
           
 java.util.Collection getVisibleActions()
          Returns a list of bulk actions which are visible/available
 boolean isAvailable(java.lang.String action)
           
 boolean isChecked(java.lang.String value)
           
 boolean isHasAvailableActions()
           
 boolean isHasFirstElement(java.util.List actions)
           
 void setActions(java.lang.String[] actions)
           
 void setCurrentStep(int step)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, getBulkEditBean, getColumns, getIssueTableLayoutBean, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, 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 com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

RADIO_ERROR_MSG

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

BulkEdit

public BulkEdit(SearchService searchService,
                BulkOperationManager bulkOperationManager,
                FieldManager fieldManager,
                IssueFactory issueFactory,
                PermissionManager permissionManager)
Method Detail

getFieldHtml

public java.lang.String getFieldHtml(java.lang.String fieldId)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getFieldViewHtml

public java.lang.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 java.lang.String doDetails()
Specified by:
doDetails in class AbstractBulkOperationDetailsAction

doDetailsValidation

public java.lang.String doDetailsValidation()
                                     throws java.lang.Exception
Specified by:
doDetailsValidation in class AbstractBulkOperationDetailsAction
Throws:
java.lang.Exception

doPerform

public java.lang.String doPerform()
                           throws java.lang.Exception
Specified by:
doPerform in class AbstractBulkOperationDetailsAction
Throws:
java.lang.Exception

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

isHasAvailableActions

public boolean isHasAvailableActions()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getEditActions

public java.util.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 java.util.Collection getVisibleActions()
Returns a list of bulk actions which are visible/available


getHiddenActions

public java.util.Collection getHiddenActions()
Returns a list of bulk actions which are hidden/unavailable


isAvailable

public boolean isAvailable(java.lang.String action)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getCustomFields

public java.util.Collection getCustomFields()

isHasFirstElement

public boolean isHasFirstElement(java.util.List actions)

setCurrentStep

public void setCurrentStep(int step)

getActions

public java.lang.String[] getActions()

setActions

public void setActions(java.lang.String[] actions)

getOperationDetailsActionName

public java.lang.String getOperationDetailsActionName()

isChecked

public boolean isChecked(java.lang.String value)


Copyright © 2002-2010 Atlassian. All Rights Reserved.