|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.project.JIRAProjectServiceImpl
@Service(value="gh-jiraProjectService") public class JIRAProjectServiceImpl
Default implementation of JIRAProjectService interface This implementation relies on ProjectManager and ProjectService for its work
Field Summary |
---|
Fields inherited from interface com.atlassian.greenhopper.service.project.JIRAProjectService |
---|
SERVICE |
Constructor Summary | |
---|---|
JIRAProjectServiceImpl()
|
Method Summary | |
---|---|
java.util.Set<com.atlassian.jira.project.Project> |
filterByPermission(com.opensymphony.user.User user,
java.util.Set<com.atlassian.jira.project.Project> projects,
int permission)
Filters a set of projects regarding a given permission. |
java.util.List<com.atlassian.jira.project.Project> |
getAll(com.opensymphony.user.User user,
int permission)
Get all projects a user has access to |
com.atlassian.jira.project.Project |
getProject(com.opensymphony.user.User user,
java.lang.Long id)
Get a project for a given project id. |
java.util.Set<com.atlassian.jira.project.Project> |
getProjects(com.opensymphony.user.User user,
java.util.Collection<java.lang.Long> projectIds)
Get all projects for the given collection of project ids. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JIRAProjectServiceImpl()
Method Detail |
---|
public java.util.Set<com.atlassian.jira.project.Project> getProjects(com.opensymphony.user.User user, java.util.Collection<java.lang.Long> projectIds)
getProjects
in interface JIRAProjectService
public java.util.List<com.atlassian.jira.project.Project> getAll(com.opensymphony.user.User user, int permission)
getAll
in interface JIRAProjectService
public com.atlassian.jira.project.Project getProject(com.opensymphony.user.User user, java.lang.Long id)
getProject
in interface JIRAProjectService
public java.util.Set<com.atlassian.jira.project.Project> filterByPermission(com.opensymphony.user.User user, java.util.Set<com.atlassian.jira.project.Project> projects, int permission)
filterByPermission
in interface JIRAProjectService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |