@Transactional
public interface SubcomponentsService
| Modifier and Type | Method and Description |
|---|---|
ComponentHierarchy |
addComponentToHierarchy(int parentLinkId,
long componentId,
boolean isVirtual,
int afterComponentLinkId) |
java.util.Optional<ComponentHierarchy> |
addComponentToHierarchy(java.lang.String projectKey,
long parentComponentId,
boolean isParentVirtual,
long componentId,
boolean isVirtual,
long afterComponent,
boolean afterComponentVirtual)
Deprecated.
|
void |
addIssueCounts(java.lang.Long projectId,
ComponentHierarchy componentHierarchy,
java.lang.String queryText) |
VirtualComponent |
createVirtualComponent(java.lang.String name,
java.lang.String projectKey) |
java.util.Optional<ComponentHierarchy> |
deleteLink(int linkId)
Deletes parent child relationship indicated with given id.
|
void |
deleteVirtualComponent(int componentId) |
java.util.List<Subcomponent> |
getAllSubcomponentsOf(java.lang.String projectKey) |
java.util.Optional<ComponentHierarchy> |
getComponentHierarchy(int linkId) |
java.util.Optional<ComponentHierarchy> |
getComponentHierarchy(java.lang.String projectKey,
boolean allComponentsAreChildren) |
ComponentHierarchy |
getComponentHierarchy(Subcomponent subcomponent) |
java.util.List<java.lang.Long> |
getComponentsIdsInHierarchy(java.lang.String projectKey) |
ParentComponentHierarchy |
getParentComponentHierarchy(long componentId)
Deprecated.
|
java.util.List<SimpleProjectComponent> |
getProjectComponents(java.util.List<com.atlassian.jira.project.Project> projects,
java.lang.String componentName) |
java.util.List<SimpleProjectComponent> |
getProjectComponentsOfHierarchy(int linkId) |
java.util.Optional<com.atlassian.jira.bc.project.component.ProjectComponent> |
getProjectComponentWithName(long projectId,
java.lang.String componentName) |
java.util.Optional<Subcomponent> |
getSubcomponent(long projectId,
long componentId,
boolean isVirtual)
Deprecated.
|
java.lang.String |
getSubcomponentName(java.lang.Long componentId,
boolean isVirtual) |
Subcomponent[] |
getSubcomponents(long projectId,
long componentId,
boolean isVirtual) |
java.util.Optional<Subcomponent> |
getSubcomponentWithLinkId(int linkId) |
java.util.Optional<VirtualComponent> |
getVirtualComponent(java.lang.String name,
java.lang.Long projectId) |
java.util.List<java.lang.Integer> |
getVirtualComponentsIdsInHierarchy(java.lang.String projectKey) |
java.util.List<VirtualComponent> |
getVirtualComponentsOf(java.lang.String projectKey,
boolean filterUsedInHierarchy) |
java.util.Optional<VirtualComponent> |
getVirtualComponentWithId(int id) |
ComponentHierarchy |
updateComponentHierarchy(int parentLinkId,
int linkId,
int afterComponentLinkId) |
java.util.Optional<VirtualComponent> |
updateVirtualComponent(int virtualComponentId,
java.lang.String name) |
java.util.Optional<ComponentHierarchy> deleteLink(int linkId)
linkId - AO id of the Subcomponent objectjava.util.Optional<Subcomponent> getSubcomponentWithLinkId(int linkId)
VirtualComponent createVirtualComponent(java.lang.String name, java.lang.String projectKey)
java.util.List<VirtualComponent> getVirtualComponentsOf(java.lang.String projectKey, boolean filterUsedInHierarchy)
java.util.Optional<VirtualComponent> updateVirtualComponent(int virtualComponentId, java.lang.String name)
java.util.List<Subcomponent> getAllSubcomponentsOf(java.lang.String projectKey)
void deleteVirtualComponent(int componentId)
@Deprecated java.util.Optional<ComponentHierarchy> addComponentToHierarchy(java.lang.String projectKey, long parentComponentId, boolean isParentVirtual, long componentId, boolean isVirtual, long afterComponent, boolean afterComponentVirtual) throws com.atlassian.jira.bc.EntityNotFoundException
com.atlassian.jira.bc.EntityNotFoundExceptionComponentHierarchy updateComponentHierarchy(int parentLinkId, int linkId, int afterComponentLinkId) throws com.atlassian.jira.bc.EntityNotFoundException
com.atlassian.jira.bc.EntityNotFoundExceptionComponentHierarchy addComponentToHierarchy(int parentLinkId, long componentId, boolean isVirtual, int afterComponentLinkId) throws com.atlassian.jira.bc.EntityNotFoundException
com.atlassian.jira.bc.EntityNotFoundExceptionComponentHierarchy getComponentHierarchy(Subcomponent subcomponent) throws com.atlassian.jira.bc.EntityNotFoundException
com.atlassian.jira.bc.EntityNotFoundExceptionjava.util.Optional<ComponentHierarchy> getComponentHierarchy(int linkId)
java.util.Optional<ComponentHierarchy> getComponentHierarchy(java.lang.String projectKey, boolean allComponentsAreChildren)
java.util.List<SimpleProjectComponent> getProjectComponents(java.util.List<com.atlassian.jira.project.Project> projects, java.lang.String componentName)
java.util.List<SimpleProjectComponent> getProjectComponentsOfHierarchy(int linkId)
Subcomponent[] getSubcomponents(long projectId, long componentId, boolean isVirtual)
@Deprecated java.util.Optional<Subcomponent> getSubcomponent(long projectId, long componentId, boolean isVirtual)
java.util.Optional<com.atlassian.jira.bc.project.component.ProjectComponent> getProjectComponentWithName(long projectId,
java.lang.String componentName)
java.lang.String getSubcomponentName(java.lang.Long componentId,
boolean isVirtual)
throws com.atlassian.jira.bc.EntityNotFoundException
com.atlassian.jira.bc.EntityNotFoundExceptionjava.util.Optional<VirtualComponent> getVirtualComponent(java.lang.String name, java.lang.Long projectId)
java.util.Optional<VirtualComponent> getVirtualComponentWithId(int id)
@Deprecated ParentComponentHierarchy getParentComponentHierarchy(long componentId)
void addIssueCounts(java.lang.Long projectId,
ComponentHierarchy componentHierarchy,
java.lang.String queryText)
throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchException@NotNull java.util.List<java.lang.Integer> getVirtualComponentsIdsInHierarchy(java.lang.String projectKey)
@NotNull java.util.List<java.lang.Long> getComponentsIdsInHierarchy(java.lang.String projectKey)