|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BacklogService
Service for Backlog handling
Field Summary | |
---|---|
static java.lang.String |
SERVICE
|
Method Summary | |
---|---|
ErrorCollection |
archiveBacklog(com.opensymphony.user.User user,
Backlog backlog)
Marks the given Backlog as "archived". |
ErrorCollection |
completeBacklog(com.opensymphony.user.User user,
Backlog backlog)
Marks the given Backlog as "completed". |
ErrorCollection |
create(com.opensymphony.user.User user,
Backlog backlog)
Creates the given top level backlog object. |
ErrorCollection |
create(com.opensymphony.user.User user,
Backlog backlog,
java.lang.Long parentId)
Creates the given backlog object as a child of the given parent Backlog. |
void |
createUnscheduled(XProject xproject)
Creates the unscheduled backlog for given xproject. |
ErrorCollection |
delete(com.opensymphony.user.User user,
java.lang.Long id)
Delete the backlog with the given ID |
Backlog |
get(com.opensymphony.user.User user,
java.lang.Long id)
Get a backlog given its id taking user permissions into account |
java.util.SortedSet<Backlog> |
getAll(com.opensymphony.user.User user)
Returns all backlogs a user has access to. |
java.util.SortedSet<Backlog> |
getBacklogs(com.opensymphony.user.User user,
XProject xproject,
Backlog.Status... statuses)
Get all backlogs for a XProject. |
java.util.List<Backlog> |
getSortedBacklogs(com.opensymphony.user.User user,
XProject xproject,
Backlog.Status... statuses)
Get all backlogs for a XProject, sorted respecting the hierarchy order. |
java.util.List<Backlog> |
getSortedOpenBacklogs(com.opensymphony.user.User user,
XProject xproject)
Get all backlogs for a XProject, sorted respecting the hierarchy order. |
Backlog |
getUnscheduled(com.opensymphony.user.User user,
XProject xproject)
Gets the "Unscheduled" default backlog for a XProject. |
boolean |
isAdmin(com.opensymphony.user.User user,
Backlog backlog)
Does the user have project admin rights for the xproject the passed backlog belongs to. |
boolean |
isBrowsable(com.opensymphony.user.User user,
Backlog backlog)
Is the XProject the passed Backlog belongs to browsable by the user |
ErrorCollection |
reopenBacklog(com.opensymphony.user.User user,
Backlog backlog)
Reopens the given, completed or archived Backlog. |
ErrorCollection |
save(com.opensymphony.user.User user,
Backlog backlog)
Updates the given backlog object. |
ErrorCollection |
save(com.opensymphony.user.User user,
Backlog backlog,
java.lang.Long parentId)
Updates the given backlog object. |
Field Detail |
---|
static final java.lang.String SERVICE
Method Detail |
---|
Backlog get(com.opensymphony.user.User user, java.lang.Long id)
user
- the user requesting the backlog
Backlog
for the given ID, or null if there is nonejava.util.SortedSet<Backlog> getBacklogs(com.opensymphony.user.User user, XProject xproject, Backlog.Status... statuses)
statuses
- : the statuses the result is limited to. If none are given, an empty set is returned.
Backlog
s for the project, an empty set if the user does not have accessjava.util.List<Backlog> getSortedOpenBacklogs(com.opensymphony.user.User user, XProject xproject)
user
- the user requesting the backlogs
Backlog
s for the project, an empty set if the user does not have accessjava.util.List<Backlog> getSortedBacklogs(com.opensymphony.user.User user, XProject xproject, Backlog.Status... statuses)
user
- the user requesting the backlogsstatuses
- : the statuses the result is limited to. If none are given, an empty set is returned.
Backlog
s for the project, an empty set if the user does not have accessBacklog getUnscheduled(com.opensymphony.user.User user, XProject xproject)
user
- the user requesting the backlog
Backlog
or null if the user does not have access
BacklogStateInconsistenException
- if none or more than one default backlogs were foundErrorCollection create(com.opensymphony.user.User user, Backlog backlog)
ErrorCollection
with error messages, if there were anyErrorCollection create(com.opensymphony.user.User user, Backlog backlog, java.lang.Long parentId)
ErrorCollection
with error messages, if there were anyvoid createUnscheduled(XProject xproject)
ErrorCollection save(com.opensymphony.user.User user, Backlog backlog)
ErrorCollection
with error messages, if there were anyErrorCollection save(com.opensymphony.user.User user, Backlog backlog, java.lang.Long parentId)
ErrorCollection
with error messages, if there were anyErrorCollection delete(com.opensymphony.user.User user, java.lang.Long id)
ErrorCollection
with error messages, if there were anyjava.util.SortedSet<Backlog> getAll(com.opensymphony.user.User user)
boolean isBrowsable(com.opensymphony.user.User user, Backlog backlog)
boolean isAdmin(com.opensymphony.user.User user, Backlog backlog)
ErrorCollection completeBacklog(com.opensymphony.user.User user, Backlog backlog)
ErrorCollection archiveBacklog(com.opensymphony.user.User user, Backlog backlog)
ErrorCollection reopenBacklog(com.opensymphony.user.User user, Backlog backlog)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |