com.atlassian.jira.rest.v2.issue
Class DeleteIssueResource

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.DeleteIssueResource

public class DeleteIssueResource
extends Object

Extensions to the JIRA issue resource. This code should eventually be moved into JIRA.


Constructor Summary
DeleteIssueResource(JiraAuthenticationContext jiraAuthenticationContext, IssueService issueService, SubTaskManager subTaskManager)
           
 
Method Summary
protected  com.atlassian.crowd.embedded.api.User callingUser()
           
 javax.ws.rs.core.Response deleteIssue(Issue issue, String deleteSubtasks, javax.ws.rs.core.UriInfo uriInfo)
           
protected  javax.ws.rs.WebApplicationException error(ErrorCollection errors)
           
 int getNumberOfSubTasks(Issue issue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteIssueResource

public DeleteIssueResource(JiraAuthenticationContext jiraAuthenticationContext,
                           IssueService issueService,
                           SubTaskManager subTaskManager)
Method Detail

deleteIssue

public javax.ws.rs.core.Response deleteIssue(Issue issue,
                                             String deleteSubtasks,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo)

error

protected javax.ws.rs.WebApplicationException error(ErrorCollection errors)

callingUser

protected com.atlassian.crowd.embedded.api.User callingUser()

getNumberOfSubTasks

public int getNumberOfSubTasks(Issue issue)


Copyright © 2002-2013 Atlassian. All Rights Reserved.