com.atlassian.jira.bc.project.component
Interface ProjectComponentService
- All Known Implementing Classes:
- DefaultProjectComponentService
public interface ProjectComponentService
Method Summary |
ProjectComponent |
create(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
|
ProjectComponent |
create(User user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
|
void |
deleteAndSwapComponentForIssues(JiraServiceContext context,
Long componentId,
Long swapComponentId)
|
void |
deleteComponentForIssues(JiraServiceContext context,
Long componentId)
|
ProjectComponent |
find(ErrorCollection errorCollection,
Long id)
Deprecated. Use find(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.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
Long id)
|
ProjectComponent |
find(User user,
ErrorCollection errorCollection,
Long id)
|
Collection<ProjectComponent> |
findAllForProject(ErrorCollection errorCollection,
Long projectId)
|
ProjectComponent |
update(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
|
ProjectComponent |
update(User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
|
create
ProjectComponent create(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
create
ProjectComponent create(User user,
ErrorCollection errorCollection,
String name,
String description,
String lead,
Long projectId)
find
ProjectComponent find(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
Long id)
find
ProjectComponent find(User user,
ErrorCollection errorCollection,
Long id)
find
@Deprecated
ProjectComponent find(ErrorCollection errorCollection,
Long id)
- Deprecated. Use
find(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
Collection<ProjectComponent> findAllForProject(ErrorCollection errorCollection,
Long projectId)
update
ProjectComponent update(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
update
ProjectComponent update(User user,
ErrorCollection errorCollection,
MutableProjectComponent component)
deleteComponentForIssues
void deleteComponentForIssues(JiraServiceContext context,
Long componentId)
deleteAndSwapComponentForIssues
void deleteAndSwapComponentForIssues(JiraServiceContext context,
Long componentId,
Long swapComponentId)
Copyright © 2002-2011 Atlassian. All Rights Reserved.