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, HttpServletVariables, AuthorizationSupport, 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 class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
static String RADIO_ERROR_MSG
           
static String SHOW_BULK_EDIT_WARNING
           
 
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, FieldLayoutManager fieldLayoutManager, BulkEditBeanSessionHelper bulkEditBeanSessionHelper, TaskManager taskManager, I18nHelper i18nHelper)
           
 
Method Summary
protected  FieldScreenRenderLayoutItem buildFieldScreenRenderLayoutItem(OrderableField field, org.ofbiz.core.entity.GenericValue issue)
           
 String doDefault()
           
 String doDetails()
           
 String doDetailsValidation()
           
 String doPerform()
           
 String[] getActions()
           
 Collection getCustomFields()
           
 Map getEditActions()
          Returns a list of bulk actions If search request was performed on "All Projects" (ie.
 String getFieldHtml(String fieldId)
           
 String getFieldViewHtml(OrderableField orderableField)
           
 Collection getHiddenActions()
          Returns a list of bulk actions which are hidden/unavailable
protected  Issue getIssueObject(org.ofbiz.core.entity.GenericValue issueGV)
           
 String getOperationDetailsActionName()
           
 Collection getVisibleActions()
          Returns a list of bulk actions which are visible/available
 boolean isAvailable(String action)
           
 boolean isChecked(String value)
           
 boolean isHasAvailableActions()
           
 boolean isHasFirstElement(List actions)
           
 void setActions(String[] actions)
           
 void setCurrentStep(int step)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
submitBulkOperationTask
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, getBulkEditBean, getColumns, getIssueTableLayoutBean, getRedirectUrl, getRootBulkEditBean, isCanDisableMailNotifications, isSendBulkNotification, redirectToStart, setSendBulkNotification, storeBulkEditBean, watchProgress
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, 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, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

RADIO_ERROR_MSG

public static final String RADIO_ERROR_MSG
See Also:
Constant Field Values

SHOW_BULK_EDIT_WARNING

public static final String SHOW_BULK_EDIT_WARNING
See Also:
Constant Field Values
Constructor Detail

BulkEdit

public BulkEdit(SearchService searchService,
                BulkOperationManager bulkOperationManager,
                FieldManager fieldManager,
                IssueFactory issueFactory,
                PermissionManager permissionManager,
                FieldLayoutManager fieldLayoutManager,
                BulkEditBeanSessionHelper bulkEditBeanSessionHelper,
                TaskManager taskManager,
                I18nHelper i18nHelper)
Method Detail

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-2015 Atlassian. All Rights Reserved.