com.atlassian.jira.bc.project.component
Interface ProjectComponentService
- All Known Implementing Classes:
- DefaultProjectComponentService
public interface ProjectComponentService
Method Summary |
ProjectComponent |
create(com.opensymphony.user.User user,
ErrorCollection errorCollection,
java.lang.String name,
java.lang.String description,
java.lang.String lead,
java.lang.Long projectId)
|
void |
deleteAndSwapComponentForIssues(JiraServiceContext context,
java.lang.Long componentId,
java.lang.Long swapComponentId)
|
void |
deleteComponentForIssues(JiraServiceContext context,
java.lang.Long componentId)
|
ProjectComponent |
find(ErrorCollection errorCollection,
java.lang.Long id)
Deprecated. Use find(com.opensymphony.user.User, com.atlassian.jira.util.ErrorCollection, Long)
instead. This methods completely ignores the user calling and thus serves components for such project
a person may have no access rights to see |
ProjectComponent |
find(com.opensymphony.user.User user,
ErrorCollection errorCollection,
java.lang.Long id)
|
java.util.Collection<ProjectComponent> |
findAllForProject(ErrorCollection errorCollection,
java.lang.Long projectId)
|
ProjectComponent |
update(com.opensymphony.user.User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
|
create
ProjectComponent create(com.opensymphony.user.User user,
ErrorCollection errorCollection,
java.lang.String name,
java.lang.String description,
java.lang.String lead,
java.lang.Long projectId)
find
ProjectComponent find(com.opensymphony.user.User user,
ErrorCollection errorCollection,
java.lang.Long id)
find
@Deprecated
ProjectComponent find(ErrorCollection errorCollection,
java.lang.Long id)
- Deprecated. Use
find(com.opensymphony.user.User, com.atlassian.jira.util.ErrorCollection, Long)
instead. This methods completely ignores the user calling and thus serves components for such project
a person may have no access rights to see
- Parameters:
errorCollection
- collection to add error messages to if validation and permission checks fail - String objectsid
- component id
- Returns:
- project component or null and then
errorCollection
should contain some error information
findAllForProject
java.util.Collection<ProjectComponent> findAllForProject(ErrorCollection errorCollection,
java.lang.Long projectId)
update
ProjectComponent update(com.opensymphony.user.User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
deleteComponentForIssues
void deleteComponentForIssues(JiraServiceContext context,
java.lang.Long componentId)
deleteAndSwapComponentForIssues
void deleteAndSwapComponentForIssues(JiraServiceContext context,
java.lang.Long componentId,
java.lang.Long swapComponentId)
Copyright © 2002-2011 Atlassian. All Rights Reserved.