com.atlassian.greenhopper.service.rapid
Class RapidViewServiceImpl
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.service.rapid.RapidViewServiceImpl
- All Implemented Interfaces:
- RapidViewService
@Service
public class RapidViewServiceImpl
- extends AbstractLoggable
- implements RapidViewService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RapidViewServiceImpl
public RapidViewServiceImpl()
create
public RapidView create(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.String name,
java.lang.Long savedFilterId)
- Description copied from interface:
RapidViewService
- Create a new
RapidView
entity and store it in the database.
- Specified by:
create
in interface RapidViewService
savedFilterId
- : The ID of JIRA's SearchRequest that is to be associated with the new view
update
public ErrorCollection update(com.atlassian.crowd.embedded.api.User user,
RapidView view)
- Description copied from interface:
RapidViewService
- Save a
RapidView
entity's state to the database. The ID must be set.
- Specified by:
update
in interface RapidViewService
getRapidViews
public java.util.List<RapidView> getRapidViews(com.atlassian.crowd.embedded.api.User user)
- Specified by:
getRapidViews
in interface RapidViewService
- Returns:
- all views the user is allowed to see, or an empty list.
getRapidView
public RapidView getRapidView(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.Long id)
- Specified by:
getRapidView
in interface RapidViewService
- Returns:
- rapid view for the given user and ID, or null if it doesn't exist or the user doesn't have permission to see it
canEdit
public boolean canEdit(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
- Specified by:
canEdit
in interface RapidViewService
- Returns:
- if the user is allowed to Manage the RapidView: Edit column-status mappings, constraints, names, ...
Copyright © 2007-2011 Atlassian. All Rights Reserved.