com.atlassian.greenhopper.api.rapid.view
Interface RapidViewCreationService
public interface RapidViewCreationService
GreenHopper API service for creation and manipulation of rapid views
|
Method Summary |
java.lang.Long |
createNewRapidView(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
long filterId,
com.atlassian.jira.util.ErrorCollection errors)
Creates a new rapid view with default column mappings, swimlanes and quick filters. |
void |
setQuickFilters(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<QuickFilter> quickFilters,
com.atlassian.jira.util.ErrorCollection errors)
|
void |
setStatisticsField(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
StatisticsField statisticsField,
com.atlassian.jira.util.ErrorCollection errors)
|
void |
setStatusMappings(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<Column> columns,
com.atlassian.jira.util.ErrorCollection errors)
|
void |
setSwimlanes(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<Swimlane> swimlanes,
com.atlassian.jira.util.ErrorCollection errors)
|
createNewRapidView
java.lang.Long createNewRapidView(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
long filterId,
com.atlassian.jira.util.ErrorCollection errors)
- Creates a new rapid view with default column mappings, swimlanes and quick filters.
- Parameters:
user - the user creating the rapid viewname - the name of the new rapid viewfilterId - the id of the filter to be used by the new rapid viewerrors - an ErrorCollection to be filled on error
- Returns:
- the id of the new rapid view or null in case of error, in which case errors is non-empty.
setStatusMappings
void setStatusMappings(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<Column> columns,
com.atlassian.jira.util.ErrorCollection errors)
- Parameters:
user - the user editing the rapid viewrapidViewId - id of the rapid view to change status mappings forcolumns - a list of Column objects representing the mappings of a column in
the rapid viewerrors - an ErrorCollection to be filled on error
setQuickFilters
void setQuickFilters(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<QuickFilter> quickFilters,
com.atlassian.jira.util.ErrorCollection errors)
- Parameters:
user - the user editing the rapid viewrapidViewId - id of the rapid view to change the quick filters forquickFilters - a list of QuickFilter objects representing the new quick filters
for the rapid viewerrors - an ErrorCollection to be filled on error
setSwimlanes
void setSwimlanes(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
java.util.List<Swimlane> swimlanes,
com.atlassian.jira.util.ErrorCollection errors)
- Parameters:
user - the user editing the rapid viewrapidViewId - id of the rapid view to change the swimlanes forswimlanes - a list of Swimlane objects representing the new swimlanes. The default swimlane
will be added automaticallyerrors - an ErrorCollection to be filled on error
setStatisticsField
void setStatisticsField(com.atlassian.crowd.embedded.api.User user,
long rapidViewId,
StatisticsField statisticsField,
com.atlassian.jira.util.ErrorCollection errors)
- Parameters:
user - the user editing the rapid viewrapidViewId - id of the rapid view to change statistics field forstatisticsField - the StatisticsFieldConfig to set the rapid view to. Currently only supports
issue count or no statistics field. more fields will be supported in the futureerrors - an ErrorCollection to be filled on error
Copyright © 2007-2012 Atlassian. All Rights Reserved.