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

java.lang.Object
  extended byActionSupport
      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.bulkedit.AbstractBulkOperationAction
                          extended bycom.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationDetailsAction
                              extended bycom.atlassian.jira.web.action.issue.bulkedit.BulkEdit
All Implemented Interfaces:
CustomFieldValuesAware

public class BulkEdit
extends AbstractBulkOperationDetailsAction
implements CustomFieldValuesAware

See Also:
Serialized Form

Field Summary
static java.lang.String RADIO_ERROR_MSG
           
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, permissionManager, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Constructor Summary
BulkEdit()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doDetails()
           
 java.lang.String doDetailsValidation()
           
 java.lang.String doPerform()
           
 java.lang.String[] getActions()
           
 java.lang.String getAssignee()
           
 java.lang.String[] getComponents()
           
 java.util.Collection getCustomFields()
           
 java.lang.String getCustomFieldValue(java.lang.Long id)
           
 CustomFieldValuesHolder getCustomFieldValuesHolder()
           
 java.util.List getEditActions()
          Returns a list of bulk actions If search request was performed on "All Projects" (ie.
 java.lang.String[] getFixVersions()
           
 java.lang.String getOperationDetailsActionName()
           
 java.lang.String getPriority()
           
 java.lang.String[] getVersions()
           
 boolean isAvailable(java.lang.String action)
           
 boolean isChecked(java.lang.String value)
           
 boolean isCustomFieldChecked(java.lang.String id)
           
 boolean isHasAvailableActions()
           
 boolean isHasFirstElement(java.util.List actions)
           
 void setActions(java.lang.String[] actions)
           
 void setAssignee(java.lang.String assignee)
           
 void setComponents(java.lang.String[] components)
           
 void setCurrentStep(int step)
           
 void setDefaultPriority()
           
 void setFixVersions(java.lang.String[] fixVersions)
           
 void setPriority(java.lang.String priority)
           
 void setVersions(java.lang.String[] affectsVersions)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.bulkedit.AbstractBulkOperationAction
clearBulkEditBean, finishWizard, getBulkEditBean, getBulkOperationManager, getColumns, getCustomFieldValuesHolder, getPager
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, isIndexing
 
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.issue.customfields.CustomFieldValuesAware
addError, addErrorMessage
 

Field Detail

RADIO_ERROR_MSG

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

BulkEdit

public BulkEdit()
Method Detail

getCustomFieldValuesHolder

public CustomFieldValuesHolder getCustomFieldValuesHolder()
                                                   throws GenericEntityException
Specified by:
getCustomFieldValuesHolder in interface CustomFieldValuesAware
Throws:
GenericEntityException

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
Throws:
java.lang.Exception

isHasAvailableActions

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

getEditActions

public java.util.List getEditActions()
                              throws java.lang.Exception,
                                     GenericEntityException
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

Returns:
Throws:
PermissionException
org.ofbiz.core.entity.GenericEntityException
java.lang.Exception
GenericEntityException

isAvailable

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

setDefaultPriority

public void setDefaultPriority()

getCustomFieldValue

public java.lang.String getCustomFieldValue(java.lang.Long id)
                                     throws GenericEntityException
Throws:
GenericEntityException

getCustomFields

public java.util.Collection getCustomFields()
                                     throws GenericEntityException,
                                            PermissionException,
                                            FieldLayoutStorageException
Throws:
GenericEntityException
PermissionException
FieldLayoutStorageException

isHasFirstElement

public boolean isHasFirstElement(java.util.List actions)

setCurrentStep

public void setCurrentStep(int step)

getFixVersions

public java.lang.String[] getFixVersions()

setFixVersions

public void setFixVersions(java.lang.String[] fixVersions)

getVersions

public java.lang.String[] getVersions()

setVersions

public void setVersions(java.lang.String[] affectsVersions)

getComponents

public java.lang.String[] getComponents()

setComponents

public void setComponents(java.lang.String[] components)

getAssignee

public java.lang.String getAssignee()

setAssignee

public void setAssignee(java.lang.String assignee)

getPriority

public java.lang.String getPriority()

setPriority

public void setPriority(java.lang.String priority)

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)

isCustomFieldChecked

public boolean isCustomFieldChecked(java.lang.String id)