public interface BulkMoveHelper
Modifier and Type | Interface and Description |
---|---|
static class |
BulkMoveHelper.DistinctValueResult
Represents a distinct project attribute value (i.e.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,BulkMoveHelper.DistinctValueResult> |
getDistinctValuesForMove(BulkEditBean bulkEditBean,
OrderableField orderableField,
Function<Issue,Collection<Object>> issueValueResolution,
Function<Object,String> nameResolution)
For the given field, calculates all the distinct values present in the currently selected issues of the BulkEditBean.
|
boolean |
needsSelection(BulkMoveHelper.DistinctValueResult distinctValue,
Long id,
String valueName)
Method called by Velocity templates to check if the current DistinctValueResult matches the value specified and thus should be selected.
|
Map<Long,BulkMoveHelper.DistinctValueResult> getDistinctValuesForMove(BulkEditBean bulkEditBean, OrderableField orderableField, Function<Issue,Collection<Object>> issueValueResolution, Function<Object,String> nameResolution)
BulkMoveHelper.DistinctValueResult
which provides
the name of the value as well as the name of the project the value belongs to. This information is used in the rendering
of the mapping controls to the user.bulkEditBean
- the bulk edit beanorderableField
- the field to retrieve distinct values fromissueValueResolution
- must return a non-null Collection of values based on a given issue. It is implied that the values are for the field specified by orderableField.nameResolution
- a function to resolve values to names to be displayed. May return null to indicate that it should not be displayed.boolean needsSelection(BulkMoveHelper.DistinctValueResult distinctValue, Long id, String valueName)
distinctValue
- the distinct valueid
- Option IdvalueName
- Option NameCopyright © 2002-2015 Atlassian. All Rights Reserved.