|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnService
Nested Class Summary | |
---|---|
static class |
ColumnService.ColumnProgressMap
A convenient encapsulation of a map of each ColumnProgress to the set of Status objects it includes. |
Method Summary | |
---|---|
ServiceOutcome<Column> |
addColumn(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Column newColumn)
Add a new column to the Rapid View. |
ServiceOutcome<Column> |
getColumn(java.lang.Long id)
|
java.util.Map<Column,java.lang.Integer> |
getColumnPositions(RapidView rapidView)
|
java.util.List<Column> |
getColumns(RapidView view)
Returns the columns, in order, of this RapidView . |
java.util.Map<com.atlassian.jira.issue.status.Status,Column> |
getColumnsByStatus(RapidView view)
|
java.util.Set<com.atlassian.jira.issue.status.Status> |
getMappedStatuses(RapidView view)
|
java.util.List<com.atlassian.jira.issue.status.Status> |
getOrderedStatuses(RapidView view)
Returns the statuses which are mapped to this RapidView in order of which they are mapped (left-most statuses
are first.) |
ColumnService.ColumnProgressMap |
getProgressStatuses(RapidView view)
Calculate the breakdown of Status mapped in the view to their respective ColumnProgress . |
java.util.List<Column> |
getValidColumns(RapidView view)
|
void |
invalidate(RapidView view)
|
ServiceOutcome<java.util.List<Column>> |
updateColumns(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
java.util.List<Column> newColumns)
|
void |
validateColumns(java.util.List<Column> columns,
ErrorCollection errors)
|
Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache |
---|
flushCache |
Method Detail |
---|
ServiceOutcome<Column> getColumn(java.lang.Long id)
@NotNull java.util.List<Column> getColumns(RapidView view)
RapidView
.
view
- the rapid view
@NotNull ColumnService.ColumnProgressMap getProgressStatuses(RapidView view)
Status
mapped in the view to their respective ColumnProgress
.
view
- the view
ColumnProgress
to a set of Status
.java.util.Set<com.atlassian.jira.issue.status.Status> getMappedStatuses(RapidView view)
java.util.Map<com.atlassian.jira.issue.status.Status,Column> getColumnsByStatus(RapidView view)
java.util.List<Column> getValidColumns(RapidView view)
@NotNull java.util.List<com.atlassian.jira.issue.status.Status> getOrderedStatuses(RapidView view)
RapidView
in order of which they are mapped (left-most statuses
are first.)
view
- the rapid view
@NotNull ServiceOutcome<Column> addColumn(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, Column newColumn)
user
- the userrapidView
- the rapid viewnewColumn
- a model of the new column
@Transactional ServiceOutcome<java.util.List<Column>> updateColumns(com.atlassian.crowd.embedded.api.User user, RapidView rapidView, java.util.List<Column> newColumns)
void validateColumns(java.util.List<Column> columns, ErrorCollection errors)
java.util.Map<Column,java.lang.Integer> getColumnPositions(RapidView rapidView)
void invalidate(RapidView view)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |