|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.rest.v2.issue.ComponentResource
public class ComponentResource
| Constructor Summary | |
|---|---|
ComponentResource(ProjectComponentService projectComponentService,
ProjectService projectService,
UserManager userManager,
AvatarService avatarService,
IssueManager issueManager,
ComponentIssueCountsBeanFactory componentIssueCountsBeanFactory,
JiraAuthenticationContext authContext,
ContextI18n i18n,
PermissionManager permissionManager,
ProjectManager projectManager)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
createComponent(ComponentBean bean,
javax.ws.rs.core.UriInfo uriInfo)
Create a component via POST. |
javax.ws.rs.core.Response |
delete(String id,
String moveIssuesTo)
Delete a project component. |
javax.ws.rs.core.Response |
getComponent(String id,
javax.ws.rs.core.UriInfo uriInfo)
Returns a project component. |
javax.ws.rs.core.Response |
getComponentRelatedIssues(String id)
Returns counts of issues related to this component. |
javax.ws.rs.core.Response |
updateComponent(String id,
javax.ws.rs.core.UriInfo uriInfo,
ComponentBean bean)
Modify a component via PUT. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentResource(ProjectComponentService projectComponentService,
ProjectService projectService,
UserManager userManager,
AvatarService avatarService,
IssueManager issueManager,
ComponentIssueCountsBeanFactory componentIssueCountsBeanFactory,
JiraAuthenticationContext authContext,
ContextI18n i18n,
PermissionManager permissionManager,
ProjectManager projectManager)
| Method Detail |
|---|
public javax.ws.rs.core.Response getComponent(String id,
@Context
javax.ws.rs.core.UriInfo uriInfo)
id - a String containing the component keyuriInfo - a UriInfo
public javax.ws.rs.core.Response createComponent(ComponentBean bean,
@Context
javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response updateComponent(String id,
@Context
javax.ws.rs.core.UriInfo uriInfo,
ComponentBean bean)
public javax.ws.rs.core.Response getComponentRelatedIssues(String id)
id - a String containing the component id
public javax.ws.rs.core.Response delete(String id,
String moveIssuesTo)
id - The component to delete.moveIssuesTo - The new component applied to issues whose 'id' component will be deleted.
If this value is null, then the 'id' component is simply removed from the related isues.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||