Class RapidViewConfigServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.rapid.view.RapidViewConfigServiceImpl
- All Implemented Interfaces:
RapidViewConfigService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnConfig
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView) Get a column configuration for the rapid view.getEstimationConfig
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView) Get a estimation configuration for the rapid view.getRankFieldId
(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView) Get a rank field id for the rapid view.
-
Constructor Details
-
RapidViewConfigServiceImpl
public RapidViewConfigServiceImpl()
-
-
Method Details
-
getColumnConfig
public ColumnConfig getColumnConfig(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull RapidView rapidView) Description copied from interface:RapidViewConfigService
Get a column configuration for the rapid view.- Specified by:
getColumnConfig
in interfaceRapidViewConfigService
- Parameters:
user
- the user who is performing operation and whose permissions are checked. Null means anonymous access.rapidView
- the id of the board for which configuration is requested.- Returns:
- the list of columns.
-
getEstimationConfig
@Nullable public EstimationConfig getEstimationConfig(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull RapidView rapidView) Description copied from interface:RapidViewConfigService
Get a estimation configuration for the rapid view. It is null for Kanban rapid views.- Specified by:
getEstimationConfig
in interfaceRapidViewConfigService
- Parameters:
user
- the user who is performing operation and whose permissions are checked. Null means anonymous access.rapidView
- the id of the board for which configuration is requested.- Returns:
- the estimation configuration.
-
getRankFieldId
@Nullable public Long getRankFieldId(@Nullable com.atlassian.jira.user.ApplicationUser user, @Nonnull RapidView rapidView) Description copied from interface:RapidViewConfigService
Get a rank field id for the rapid view. It is null if rank field is not set for given rapid view.- Specified by:
getRankFieldId
in interfaceRapidViewConfigService
- Parameters:
user
- the user who is performing operation and whose permissions are checked. Null means anonymous access.rapidView
- the id of the board for which rank field is requested.- Returns:
- the rank field id.
-