com.atlassian.jira.bc.project.component
Interface ProjectComponentService

All Known Implementing Classes:
DefaultProjectComponentService

@PublicApi
public interface ProjectComponentService


Method Summary
 ProjectComponent create(com.atlassian.crowd.embedded.api.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(com.atlassian.crowd.embedded.api.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)
           
 

Method Detail

create

ProjectComponent create(com.atlassian.crowd.embedded.api.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)

findAllForProject

Collection<ProjectComponent> findAllForProject(ErrorCollection errorCollection,
                                               Long projectId)

update

ProjectComponent update(com.atlassian.crowd.embedded.api.User user,
                        ErrorCollection errorCollection,
                        MutableProjectComponent component)

deleteComponentForIssues

void deleteComponentForIssues(JiraServiceContext context,
                              Long componentId)

deleteAndSwapComponentForIssues

void deleteAndSwapComponentForIssues(JiraServiceContext context,
                                     Long componentId,
                                     Long swapComponentId)


Copyright © 2002-2014 Atlassian. All Rights Reserved.