com.atlassian.greenhopper.service.sprint
Interface SprintPermissionService

All Known Implementing Classes:
SprintPermissionServiceImpl

public interface SprintPermissionService

Provides sprint permission specific methods


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> sprint)
          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?
 

Method Detail

canViewSprint

@NotNull
ServiceOutcome<java.lang.Boolean> canViewSprint(com.atlassian.crowd.embedded.api.User user,
                                                        Sprint sprint)
Can the user view a given sprint?


canCreateSprint

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.


canUpdateSprint

@NotNull
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.


canUpdateSprints

@NotNull
ServiceOutcome<java.util.Map<Sprint,java.lang.Boolean>> canUpdateSprints(com.atlassian.crowd.embedded.api.User user,
                                                                                 java.util.List<Sprint> sprint)
Can the user update the given sprints, that is, update, delete, etc.



Copyright © 2007-2012 Atlassian. All Rights Reserved.