Package com.atlassian.jira.web.bean
Class BulkEditBeanImpl
java.lang.Object
com.atlassian.jira.web.bean.BulkEditBeanImpl
- All Implemented Interfaces:
OperationContext
,BulkEditBean
,SingleIssueModeEditBean
Implementation of BulkEditBean.
BulkEditBean was originally a concrete class, but it has been made abstract in order to separate API and implementation in JIRA.
- Since:
- v4.3
-
Field Summary
Fields inherited from interface com.atlassian.jira.web.bean.BulkEditBean
BULK_DELETE, BULK_DELETE_OP, BULK_EDIT_OP, BULK_MOVE_OP, BULKEDIT_PREFIX, SUBTASK_STATUS_INFO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
_setSelectedIssueGVsForTesting
(List<org.ofbiz.core.entity.GenericValue> issues) Deprecated.void
addAvailablePreviousStep
(int stepId) void
addIssues
(Collection<Issue> issues) void
addRetainValue
(String fieldId) void
addTransitionErrors
(String issueKey, Collection<String> errors) void
ReturnsBulkEditMultiSelectFieldBean
which stores change mode options for system fields with multiple change modes configured.getCheckboxName
(Issue issue) int
getCustomField
(String customFieldKey) getCustomFieldView
(CustomField customField) Returns all the unique field layouts of the selected issuesThis method is used to get a target issue that will provide the correct context (i.e.Gets issues whose status is nullCollection<org.ofbiz.core.entity.GenericValue>
Gets a set of invalid statuses that are not valid in the destination workflowint
getInvalidSubTaskStatusesByType
(String subTaskTypeId) Collection<?>
getKey()
Returns a string that represents a "unique" identifier for this bulke edit beanint
If there is a limit on the number of issues that can be bulk edited, this will return that number, otherwise -1.Map<?,
?> Collection<?>
Gets the destination parent issue for issue->subtask conversion.returns object from database, the object is queried byBulkEditBean.getParentIssueKey()
.returns a list of project ids for projects which the currently selected issues belong to.Collection<org.ofbiz.core.entity.GenericValue>
Returns the redirect URL.Collection<?>
Returns a list of "selected" issues.Gets the issue key for this bean as previously set bySingleIssueModeEditBean.setSingleIssueKey(String)
.Returns the single Project if there is only one Project in this BulkEditBean, otherwise throws an IllegalStateException.getTargetFieldLayoutForType
(String targetTypeId) List<org.ofbiz.core.entity.GenericValue>
This is a convinience method for converting the list of objects to a list of GenericValuesgetTargetStatus
(Issue issue) getTargetStatusObject
(Issue issue) getTargetWorkflowByType
(String issueTypeId) getTransitionErrors
(Integer maxCount) Get the transition errors after bulk issue transitiongetTransitionIdsForWorkflow
(String workflowName) getTransitionIssueKeys
(WorkflowTransitionKey workflowTransitionKey) getTransitionName
(String workflowName, String actionDescriptorId) org.apache.commons.collections.MultiMap
void
void
void
initSelectedIssues
(Collection<Issue> selectedIssues) Initialises theBulkEditBean
with the selected issuesboolean
isAvailablePreviousStep
(int stepId) boolean
boolean
Check if a mail server has been specified.boolean
boolean
boolean
boolean
Whether the URL to return to has been set yet.boolean
isRetainChecked
(String fieldId) boolean
boolean
Since 8.1.boolean
Indicates where this bean is being used to move a single issue with subtasks.boolean
Since 8.1.boolean
boolean
boolean
isTranisitionErrorsLimited
(Integer maxCount) boolean
isTransitionChecked
(WorkflowTransitionKey workflowTransitionKey) void
void
void
void
void
setActions
(Map<String, BulkEditAction> actions) void
setCurrentStep
(int currentStep) void
setFieldScreenRenderer
(FieldScreenRenderer fieldScreenRenderer) void
setInvalidSubTaskStatusesByType
(Map<String, Set<String>> invalidSubTaskStatusesByType) void
setInvalidSubTaskTypes
(Set<String> invalidSubTaskTypes) void
setIssuesFromSearchRequest
(List<Issue> issuesFromSearchRequest) void
setIssuesInUse
(Collection<?> issuesInUse) void
setIssuesToSubtasks
(Map<Long, List<Issue>> issuesToSubtasks) void
setMaxIssues
(int maxIssues) Sets the maximum number of issues allowed to be bulk edited at once.void
setMessagedFieldLayoutItems
(Map<?, ?> messagedFieldLayoutItems) void
setMoveFieldLayoutItems
(Collection<?> moveFieldLayoutItems) void
setOperationName
(String operationName) void
void
setParentBulkEditBean
(BulkEditBean parentBulkEditBean) If this BulkEditBean contains subtasks of another BulkEditBean, then we can set a pointer back to the BulkEditBean containing the parent issues.void
setParentIssueKey
(String parentIssueKey) Sets the destination parent issue for issue->subtask conversion.void
setRedirectUrl
(String redirectUrl) Sets the URL to which user should be redirected once the bulk operation is finished.void
setRelatedMultiBulkMoveBean
(MultiBulkMoveBean relatedMultiBulkMoveBean) void
setRemovedFields
(Set<?> removedFields) void
setRetainValues
(Set<String> retainValues) void
setSelectedWFTransitionKey
(WorkflowTransitionKey workflowTransitionKey) void
setSendBulkNotification
(boolean sendBulkNotification) void
setSingleIssueKey
(String singleIssueKey) Sets this bean to "single issue mode".void
setSubTaskBulkEditBean
(BulkEditBean subTaskBulkEditBean) void
setSubTaskOfSelectedIssues
(List<Issue> subTaskOfSelectedIssues) void
Sets the targetFieldLayout to the appropriate FieldLayout (aka "Field Configuration") for the target Project and Issue Type.void
setTargetIssueObjects
(Map<Issue, Issue> targetIssueObjects) void
void
setTargetProject
(Project project) void
setTargetProject
(org.ofbiz.core.entity.GenericValue project) void
setWorkflowTransitionMap
(org.apache.commons.collections.MultiMap workflowTransitionMap)
-
Constructor Details
-
BulkEditBeanImpl
-
-
Method Details
-
getParentBulkEditBean
- Specified by:
getParentBulkEditBean
in interfaceBulkEditBean
-
initSelectedIssues
Initialises theBulkEditBean
with the selected issues- Specified by:
initSelectedIssues
in interfaceBulkEditBean
- Parameters:
selectedIssues
- Required selected Issues.
-
addIssues
- Specified by:
addIssues
in interfaceBulkEditBean
-
getSelectedIssues
Returns a list of "selected" issues. For the "top level" BulkEditBean this should be the actual issues chosen by the user for the bulk operation.The Bulk Move operation will then break this list up in groups of project and issue type and store each of these types in its own BulkEditBean, so for these nested BulkEditBeans this list may be a subset of the original selected issues. Furthermore when moving parent issues to a new Project, we will have to move any subtasks as well. In this case a third level of BulkEditBean is created and these ones will have subtasks that may not have been explicitly selected by the user at all.
- Specified by:
getSelectedIssues
in interfaceBulkEditBean
- Returns:
- List of the Selected Issues
-
getSelectedIssuesIncludingSubTasks
- Specified by:
getSelectedIssuesIncludingSubTasks
in interfaceBulkEditBean
-
isChecked
- Specified by:
isChecked
in interfaceBulkEditBean
-
isMultipleProjects
public boolean isMultipleProjects()- Specified by:
isMultipleProjects
in interfaceBulkEditBean
-
isMutipleIssueTypes
public boolean isMutipleIssueTypes()- Specified by:
isMutipleIssueTypes
in interfaceBulkEditBean
-
getProject
- Specified by:
getProject
in interfaceBulkEditBean
-
getSingleProject
Description copied from interface:BulkEditBean
Returns the single Project if there is only one Project in this BulkEditBean, otherwise throws an IllegalStateException.- Specified by:
getSingleProject
in interfaceBulkEditBean
- Returns:
- the single Project if there is only one Project in this BulkEditBean, otherwise throws an IllegalStateException.
- See Also:
-
getIssueType
- Specified by:
getIssueType
in interfaceBulkEditBean
-
getFieldLayouts
Returns all the unique field layouts of the selected issues- Specified by:
getFieldLayouts
in interfaceBulkEditBean
- Returns:
- Collection of the FieldLayouts.
-
getKey
Returns a string that represents a "unique" identifier for this bulke edit bean- Specified by:
getKey
in interfaceBulkEditBean
- Returns:
- unique key formed from projects, issue types, target project if a subtask only bulkeditbean and size of the bean
-
getProjectIds
returns a list of project ids for projects which the currently selected issues belong to.- Specified by:
getProjectIds
in interfaceBulkEditBean
- Returns:
- A list of project ids for projects which the currently selected issues belong to.
-
getProjects
- Specified by:
getProjects
in interfaceBulkEditBean
- Returns:
-
getProjectObjects
- Specified by:
getProjectObjects
in interfaceBulkEditBean
-
getIssueTypes
- Specified by:
getIssueTypes
in interfaceBulkEditBean
-
getIssueTypeObjects
- Specified by:
getIssueTypeObjects
in interfaceBulkEditBean
-
getParentIssueKeys
- Specified by:
getParentIssueKeys
in interfaceBulkEditBean
-
getParentIssueIds
- Specified by:
getParentIssueIds
in interfaceBulkEditBean
-
getCheckboxName
- Specified by:
getCheckboxName
in interfaceBulkEditBean
-
getCustomField
public CustomField getCustomField(String customFieldKey) throws org.ofbiz.core.entity.GenericEntityException - Specified by:
getCustomField
in interfaceBulkEditBean
- Throws:
org.ofbiz.core.entity.GenericEntityException
-
getCustomFieldView
- Specified by:
getCustomFieldView
in interfaceBulkEditBean
- Throws:
FieldValidationException
-
setParams
- Specified by:
setParams
in interfaceBulkEditBean
-
getParams
- Specified by:
getParams
in interfaceBulkEditBean
-
setIssuesInUse
- Specified by:
setIssuesInUse
in interfaceBulkEditBean
-
addAvailablePreviousStep
public void addAvailablePreviousStep(int stepId) - Specified by:
addAvailablePreviousStep
in interfaceBulkEditBean
-
clearAvailablePreviousSteps
public void clearAvailablePreviousSteps()- Specified by:
clearAvailablePreviousSteps
in interfaceBulkEditBean
-
isAvailablePreviousStep
public boolean isAvailablePreviousStep(int stepId) - Specified by:
isAvailablePreviousStep
in interfaceBulkEditBean
-
isHasMailServer
public boolean isHasMailServer()Check if a mail server has been specified.- Specified by:
isHasMailServer
in interfaceBulkEditBean
- Returns:
- boolean true if a mail server has been specified
-
getMoveFieldLayoutItems
- Specified by:
getMoveFieldLayoutItems
in interfaceBulkEditBean
-
setMoveFieldLayoutItems
- Specified by:
setMoveFieldLayoutItems
in interfaceBulkEditBean
-
getTargetPid
- Specified by:
getTargetPid
in interfaceBulkEditBean
-
setTargetProject
public void setTargetProject(org.ofbiz.core.entity.GenericValue project) - Specified by:
setTargetProject
in interfaceBulkEditBean
-
setTargetProject
- Specified by:
setTargetProject
in interfaceBulkEditBean
-
getTargetProject
- Specified by:
getTargetProject
in interfaceBulkEditBean
-
setTargetIssueTypeId
- Specified by:
setTargetIssueTypeId
in interfaceBulkEditBean
-
getTargetIssueTypeId
- Specified by:
getTargetIssueTypeId
in interfaceBulkEditBean
-
getTargetIssueType
- Specified by:
getTargetIssueType
in interfaceBulkEditBean
-
getTargetIssueTypeObject
- Specified by:
getTargetIssueTypeObject
in interfaceBulkEditBean
-
populateStatusHolder
- Specified by:
populateStatusHolder
in interfaceBulkEditBean
- Throws:
WorkflowException
-
getInvalidStatuses
Gets a set of invalid statuses that are not valid in the destination workflow- Specified by:
getInvalidStatuses
in interfaceBulkEditBean
- Returns:
- Set of
GenericValue
objects - Throws:
WorkflowException
-
getInvalidIssues
Gets issues whose status is null- Specified by:
getInvalidIssues
in interfaceBulkEditBean
- Returns:
- Set of
Issue
objects. Emoty Set if no invalid issues - Throws:
WorkflowException
-
getInvalidSubTaskTypes
- Specified by:
getInvalidSubTaskTypes
in interfaceBulkEditBean
- Throws:
WorkflowException
-
getInvalidSubTaskStatusesByType
- Specified by:
getInvalidSubTaskStatusesByType
in interfaceBulkEditBean
- Throws:
WorkflowException
-
setTargetFieldLayout
public void setTargetFieldLayout()Sets the targetFieldLayout to the appropriate FieldLayout (aka "Field Configuration") for the target Project and Issue Type.- Specified by:
setTargetFieldLayout
in interfaceBulkEditBean
-
getTargetFieldLayout
- Specified by:
getTargetFieldLayout
in interfaceBulkEditBean
-
getTargetFieldLayoutForType
- Specified by:
getTargetFieldLayoutForType
in interfaceBulkEditBean
-
getTargetWorkflow
- Specified by:
getTargetWorkflow
in interfaceBulkEditBean
- Throws:
WorkflowException
-
getFirstTargetIssueObject
This method is used to get a target issue that will provide the correct context (i.e. project and issue type), for where you are moving to. The object returned is not mapped to a specific selected issue.- Specified by:
getFirstTargetIssueObject
in interfaceBulkEditBean
- Returns:
- an issue whose project and issue type are of where the you are moving to.
-
getTargetIssueObjects
- Specified by:
getTargetIssueObjects
in interfaceBulkEditBean
-
setTargetIssueObjects
- Specified by:
setTargetIssueObjects
in interfaceBulkEditBean
-
getTargetIssueGVs
This is a convinience method for converting the list of objects to a list of GenericValues- Specified by:
getTargetIssueGVs
in interfaceBulkEditBean
- Returns:
- list of GenericValue issue objects
-
getTargetStatusObject
- Specified by:
getTargetStatusObject
in interfaceBulkEditBean
-
getTargetStatus
- Specified by:
getTargetStatus
in interfaceBulkEditBean
-
getStatusMapHolder
- Specified by:
getStatusMapHolder
in interfaceBulkEditBean
-
getRemovedFields
- Specified by:
getRemovedFields
in interfaceBulkEditBean
-
setRemovedFields
- Specified by:
setRemovedFields
in interfaceBulkEditBean
-
resetMoveData
public void resetMoveData()- Specified by:
resetMoveData
in interfaceBulkEditBean
-
populateSubTaskStatusHolder
- Specified by:
populateSubTaskStatusHolder
in interfaceBulkEditBean
- Throws:
WorkflowException
-
getTargetWorkflowByType
- Specified by:
getTargetWorkflowByType
in interfaceBulkEditBean
- Throws:
WorkflowException
-
getSubTaskStatusHolder
- Specified by:
getSubTaskStatusHolder
in interfaceBulkEditBean
-
isRetainChecked
- Specified by:
isRetainChecked
in interfaceBulkEditBean
-
isSubTaskCollection
public boolean isSubTaskCollection()- Specified by:
isSubTaskCollection
in interfaceBulkEditBean
-
isSubTaskOnly
public boolean isSubTaskOnly()- Specified by:
isSubTaskOnly
in interfaceBulkEditBean
-
getOperationName
- Specified by:
getOperationName
in interfaceBulkEditBean
-
setOperationName
- Specified by:
setOperationName
in interfaceBulkEditBean
-
setInvalidSubTaskStatusesByType
- Specified by:
setInvalidSubTaskStatusesByType
in interfaceBulkEditBean
-
setInvalidSubTaskTypes
- Specified by:
setInvalidSubTaskTypes
in interfaceBulkEditBean
-
getInvalidSubTaskCount
public int getInvalidSubTaskCount()- Specified by:
getInvalidSubTaskCount
in interfaceBulkEditBean
-
getRetainValues
- Specified by:
getRetainValues
in interfaceBulkEditBean
-
setRetainValues
- Specified by:
setRetainValues
in interfaceBulkEditBean
-
addRetainValue
- Specified by:
addRetainValue
in interfaceBulkEditBean
-
getSubTaskOfSelectedIssues
- Specified by:
getSubTaskOfSelectedIssues
in interfaceBulkEditBean
-
setSubTaskOfSelectedIssues
- Specified by:
setSubTaskOfSelectedIssues
in interfaceBulkEditBean
-
getIssuesToSubtasks
- Specified by:
getIssuesToSubtasks
in interfaceBulkEditBean
-
setIssuesToSubtasks
- Specified by:
setIssuesToSubtasks
in interfaceBulkEditBean
-
getIssuesFromSearchRequest
- Specified by:
getIssuesFromSearchRequest
in interfaceBulkEditBean
-
setIssuesFromSearchRequest
- Specified by:
setIssuesFromSearchRequest
in interfaceBulkEditBean
-
getCurrentStep
public int getCurrentStep()- Specified by:
getCurrentStep
in interfaceBulkEditBean
-
setCurrentStep
public void setCurrentStep(int currentStep) - Specified by:
setCurrentStep
in interfaceBulkEditBean
-
getActions
- Specified by:
getActions
in interfaceBulkEditBean
-
setActions
- Specified by:
setActions
in interfaceBulkEditBean
-
getFieldValues
- Specified by:
getFieldValues
in interfaceBulkEditBean
-
getFieldValuesHolder
- Specified by:
getFieldValuesHolder
in interfaceBulkEditBean
- Specified by:
getFieldValuesHolder
in interfaceOperationContext
-
getIssueOperation
- Specified by:
getIssueOperation
in interfaceBulkEditBean
- Specified by:
getIssueOperation
in interfaceOperationContext
-
getIssuesInUse
- Specified by:
getIssuesInUse
in interfaceBulkEditBean
-
getSubTaskBulkEditBean
- Specified by:
getSubTaskBulkEditBean
in interfaceBulkEditBean
-
setSubTaskBulkEditBean
- Specified by:
setSubTaskBulkEditBean
in interfaceBulkEditBean
-
getRelatedMultiBulkMoveBean
- Specified by:
getRelatedMultiBulkMoveBean
in interfaceBulkEditBean
-
setRelatedMultiBulkMoveBean
- Specified by:
setRelatedMultiBulkMoveBean
in interfaceBulkEditBean
-
isSendBulkNotification
public boolean isSendBulkNotification()- Specified by:
isSendBulkNotification
in interfaceBulkEditBean
-
setSendBulkNotification
public void setSendBulkNotification(boolean sendBulkNotification) - Specified by:
setSendBulkNotification
in interfaceBulkEditBean
-
getWorkflowTransitionMap
public org.apache.commons.collections.MultiMap getWorkflowTransitionMap()- Specified by:
getWorkflowTransitionMap
in interfaceBulkEditBean
-
setWorkflowTransitionMap
public void setWorkflowTransitionMap(org.apache.commons.collections.MultiMap workflowTransitionMap) - Specified by:
setWorkflowTransitionMap
in interfaceBulkEditBean
-
getWorkflowsInUse
- Specified by:
getWorkflowsInUse
in interfaceBulkEditBean
-
getTransitionIdsForWorkflow
- Specified by:
getTransitionIdsForWorkflow
in interfaceBulkEditBean
-
getTransitionName
- Specified by:
getTransitionName
in interfaceBulkEditBean
-
getTransitionIssueKeys
- Specified by:
getTransitionIssueKeys
in interfaceBulkEditBean
-
setSelectedWFTransitionKey
- Specified by:
setSelectedWFTransitionKey
in interfaceBulkEditBean
-
getSelectedWFTransitionKey
- Specified by:
getSelectedWFTransitionKey
in interfaceBulkEditBean
-
resetWorkflowTransitionSelection
public void resetWorkflowTransitionSelection()- Specified by:
resetWorkflowTransitionSelection
in interfaceBulkEditBean
-
isTransitionChecked
- Specified by:
isTransitionChecked
in interfaceBulkEditBean
-
getSelectedTransitionName
- Specified by:
getSelectedTransitionName
in interfaceBulkEditBean
-
setFieldScreenRenderer
- Specified by:
setFieldScreenRenderer
in interfaceBulkEditBean
-
getFieldScreenRenderer
- Specified by:
getFieldScreenRenderer
in interfaceBulkEditBean
-
_setSelectedIssueGVsForTesting
@Deprecated public void _setSelectedIssueGVsForTesting(List<org.ofbiz.core.entity.GenericValue> issues) Deprecated.Use for testing ONLY -
getMessagedFieldLayoutItems
- Specified by:
getMessagedFieldLayoutItems
in interfaceBulkEditBean
-
setMessagedFieldLayoutItems
- Specified by:
setMessagedFieldLayoutItems
in interfaceBulkEditBean
-
initMultiBulkBean
public void initMultiBulkBean()- Specified by:
initMultiBulkBean
in interfaceBulkEditBean
-
initMultiBulkBeanWithSubTasks
public void initMultiBulkBeanWithSubTasks()- Specified by:
initMultiBulkBeanWithSubTasks
in interfaceBulkEditBean
-
isOnlyContainsSubTasks
public boolean isOnlyContainsSubTasks()- Specified by:
isOnlyContainsSubTasks
in interfaceBulkEditBean
-
setParentBulkEditBean
If this BulkEditBean contains subtasks of another BulkEditBean, then we can set a pointer back to the BulkEditBean containing the parent issues. This is used so that the subtask issues have access to the new values in their parent issues. See JRA-13937 where we had to ensure that the subtasks in a Bulk Move could get to the new Security Level of their parents.- Specified by:
setParentBulkEditBean
in interfaceBulkEditBean
- Parameters:
parentBulkEditBean
- The BulkEditBean that contains parent issues of the issues (subtasks) in this BulkEditBean.
-
getMaxIssues
public int getMaxIssues()If there is a limit on the number of issues that can be bulk edited, this will return that number, otherwise -1.- Specified by:
getMaxIssues
in interfaceBulkEditBean
- Returns:
- -1 to indicate no limit on bulk editing issues, otherwise the number of the limit.
-
setMaxIssues
public void setMaxIssues(int maxIssues) Sets the maximum number of issues allowed to be bulk edited at once. Use -1 to indicate no limit.- Specified by:
setMaxIssues
in interfaceBulkEditBean
- Parameters:
maxIssues
- either -1 or a positive integer representing the maximum number of issues allowed for bulk edit.
-
getFieldSubstitutionMap
- Specified by:
getFieldSubstitutionMap
in interfaceBulkEditBean
-
getTransitionErrors
Description copied from interface:BulkEditBean
Get the transition errors after bulk issue transition- Specified by:
getTransitionErrors
in interfaceBulkEditBean
- Parameters:
maxCount
- max count of errors to return ornull
for no limits.- Returns:
- transition errors after bulk issue transition
-
addTransitionErrors
- Specified by:
addTransitionErrors
in interfaceBulkEditBean
-
isTranisitionErrorsLimited
- Specified by:
isTranisitionErrorsLimited
in interfaceBulkEditBean
- Returns:
true
if there is more errors on transitioned issues thanmaxCount
.
-
getBulkEditMultiSelectFieldBean
Description copied from interface:BulkEditBean
ReturnsBulkEditMultiSelectFieldBean
which stores change mode options for system fields with multiple change modes configured.- Specified by:
getBulkEditMultiSelectFieldBean
in interfaceBulkEditBean
- Returns:
BulkEditMultiSelectFieldBean
for bulk edit operation
-
isSingleMode
public boolean isSingleMode()Description copied from interface:SingleIssueModeEditBean
Indicates where this bean is being used to move a single issue with subtasks.- Specified by:
isSingleMode
in interfaceSingleIssueModeEditBean
- Returns:
true
if this bulk edit bean is used for single issue move operation
-
setSingleIssueKey
Description copied from interface:SingleIssueModeEditBean
Sets this bean to "single issue mode".Set single issue key to be moved via bulk edit workflow.
- Specified by:
setSingleIssueKey
in interfaceSingleIssueModeEditBean
- Parameters:
singleIssueKey
- key for single issue to be moved
-
getSingleIssueKey
Description copied from interface:SingleIssueModeEditBean
Gets the issue key for this bean as previously set bySingleIssueModeEditBean.setSingleIssueKey(String)
.- Specified by:
getSingleIssueKey
in interfaceSingleIssueModeEditBean
- Returns:
- the issue key or
null
if there is none.
-
getRedirectUrl
Description copied from interface:BulkEditBean
Returns the redirect URL. SeeBulkEditBean.setRedirectUrl(String)
.- Specified by:
getRedirectUrl
in interfaceBulkEditBean
-
setRedirectUrl
Description copied from interface:BulkEditBean
Sets the URL to which user should be redirected once the bulk operation is finished. This is used only if a progress indicator is displayed to the user while the operation is being executed.- Specified by:
setRedirectUrl
in interfaceBulkEditBean
-
isRedirectUrlSet
public boolean isRedirectUrlSet()Description copied from interface:BulkEditBean
Whether the URL to return to has been set yet.- Specified by:
isRedirectUrlSet
in interfaceBulkEditBean
- Returns:
- true if
BulkEditBean.setRedirectUrl(String)
has been called before.
-
getParentIssueKey
Description copied from interface:BulkEditBean
Gets the destination parent issue for issue->subtask conversion.- Specified by:
getParentIssueKey
in interfaceBulkEditBean
- Returns:
- Destination parent issue key
-
setParentIssueKey
Description copied from interface:BulkEditBean
Sets the destination parent issue for issue->subtask conversion.- Specified by:
setParentIssueKey
in interfaceBulkEditBean
- Parameters:
parentIssueKey
- Parent issue key
-
getParentIssueObject
Description copied from interface:BulkEditBean
returns object from database, the object is queried byBulkEditBean.getParentIssueKey()
.- Specified by:
getParentIssueObject
in interfaceBulkEditBean
- Returns:
Issue
obtained from database, queried byBulkEditBean.getParentIssueKey()
.
-
isServiceDeskProjectIssuesPresent
public boolean isServiceDeskProjectIssuesPresent()Description copied from interface:BulkEditBean
Since 8.1. Returns true if any of selected issues belong to ServiceDesk project types- Specified by:
isServiceDeskProjectIssuesPresent
in interfaceBulkEditBean
-
isSoftwareProjectIssuesPresent
public boolean isSoftwareProjectIssuesPresent()Description copied from interface:BulkEditBean
Since 8.1. Returns true if any of selected issues belong to Software project types- Specified by:
isSoftwareProjectIssuesPresent
in interfaceBulkEditBean
-