|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.sprint.SprintPermissionServiceImpl
@Service public class SprintPermissionServiceImpl
Implementation of SprintPermissionService
Constructor Summary | |
---|---|
SprintPermissionServiceImpl()
|
Method Summary | |
---|---|
ServiceOutcome<java.lang.Void> |
canCreateSprint(com.atlassian.crowd.embedded.api.User user,
java.util.Set<com.atlassian.jira.issue.Issue> issues)
Can the user create a sprint given the set of issues? This method checks whether the user has the PROJECT_ADMIN permission for all projects the issues are of. |
ServiceOutcome<java.lang.Void> |
canUpdateSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Can the user update a sprint, that is, update, delete, etc. |
ServiceOutcome<java.util.Map<Sprint,java.lang.Boolean>> |
canUpdateSprints(com.atlassian.crowd.embedded.api.User user,
java.util.List<Sprint> sprints)
Can the user update the given sprints, that is, update, delete, etc. |
ServiceOutcome<java.lang.Boolean> |
canViewSprint(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Can the user view a given sprint? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SprintPermissionServiceImpl()
Method Detail |
---|
@NotNull public ServiceOutcome<java.lang.Boolean> canViewSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
SprintPermissionService
canViewSprint
in interface SprintPermissionService
@NotNull public ServiceOutcome<java.lang.Void> canCreateSprint(com.atlassian.crowd.embedded.api.User user, java.util.Set<com.atlassian.jira.issue.Issue> issues)
SprintPermissionService
canCreateSprint
in interface SprintPermissionService
@NotNull public ServiceOutcome<java.lang.Void> canUpdateSprint(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
SprintPermissionService
canUpdateSprint
in interface SprintPermissionService
@NotNull public ServiceOutcome<java.util.Map<Sprint,java.lang.Boolean>> canUpdateSprints(com.atlassian.crowd.embedded.api.User user, java.util.List<Sprint> sprints)
SprintPermissionService
canUpdateSprints
in interface SprintPermissionService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |