|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RapidViewService
Method Summary | |
---|---|
ServiceOutcome<RapidView> |
copy(com.atlassian.crowd.embedded.api.User user,
RapidView sourceRapidView)
Create a new copy of the specified RapidView entity and store it in the database. |
ServiceOutcome<RapidView> |
create(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
java.lang.Long filterId,
RapidViewPreset preset)
Create a new RapidView entity and store it in the database. |
ServiceOutcome<java.lang.Void> |
delete(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
Delete a rapid view given its ID |
ServiceOutcome<java.util.List<RapidView>> |
findRapidViewsByName(com.atlassian.crowd.embedded.api.User user,
java.lang.String nameQuery)
Returns all views whose name matches the nameQuery in any part of the name. |
ServiceOutcome<RapidView> |
getFirstVisibleRapidView(com.atlassian.crowd.embedded.api.User user)
Get the first visible rapid view for a given user |
ServiceOutcome<RapidView> |
getRapidView(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
|
java.util.List<RapidView> |
getRapidViews(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors)
|
ServiceOutcome<java.util.List<RapidView>> |
getRapidViewsWithOutcome(com.atlassian.crowd.embedded.api.User user)
|
ServiceOutcome<com.atlassian.jira.issue.fields.CustomField> |
getSortedByRankField(com.atlassian.crowd.embedded.api.User user,
RapidView view)
|
boolean |
isSortedByRankField(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
|
ServiceOutcome<java.lang.Void> |
update(com.atlassian.crowd.embedded.api.User user,
RapidView view)
Save a RapidView entity's state to the database. |
ServiceOutcome<java.lang.Void> |
updateWithOutcome(com.atlassian.crowd.embedded.api.User user,
RapidView view)
|
Methods inherited from interface com.atlassian.greenhopper.manager.GreenHopperCache |
---|
flushCache |
Method Detail |
---|
@NotNull ServiceOutcome<RapidView> getRapidView(com.atlassian.crowd.embedded.api.User user, java.lang.Long id)
java.util.List<RapidView> getRapidViews(com.atlassian.crowd.embedded.api.User user, ErrorCollection errors)
ServiceOutcome<RapidView> getFirstVisibleRapidView(com.atlassian.crowd.embedded.api.User user)
user
- the user in play
ServiceOutcome<java.util.List<RapidView>> getRapidViewsWithOutcome(com.atlassian.crowd.embedded.api.User user)
@NotNull ServiceOutcome<java.util.List<RapidView>> findRapidViewsByName(com.atlassian.crowd.embedded.api.User user, @Nullable java.lang.String nameQuery)
"green"
will
match views named "green team"
and "blue and green"
alike.
Views will be filtered down to those which the user can see.
user
- the user performing the searchnameQuery
- a part of a view name to match e.g. "green"
@Transactional @NotNull ServiceOutcome<RapidView> create(com.atlassian.crowd.embedded.api.User user, java.lang.String name, java.lang.Long filterId, RapidViewPreset preset)
RapidView
entity and store it in the database.
filterId
- : The ID of JIRA's SearchRequest that is to be associated with the new view@Transactional ServiceOutcome<RapidView> copy(com.atlassian.crowd.embedded.api.User user, RapidView sourceRapidView)
RapidView
entity and store it in the database.
user
- the user who requested to copy the rapid viewsourceRapidView
- the view to copy
RapidView
@Transactional ServiceOutcome<java.lang.Void> update(com.atlassian.crowd.embedded.api.User user, RapidView view)
RapidView
entity's state to the database. The ID must be set.
@Transactional ServiceOutcome<java.lang.Void> updateWithOutcome(com.atlassian.crowd.embedded.api.User user, RapidView view)
boolean isSortedByRankField(com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
@NotNull ServiceOutcome<com.atlassian.jira.issue.fields.CustomField> getSortedByRankField(com.atlassian.crowd.embedded.api.User user, RapidView view)
@Transactional ServiceOutcome<java.lang.Void> delete(com.atlassian.crowd.embedded.api.User user, java.lang.Long id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |