com.atlassian.jira.rest.v2.issue.worklog
Class WorklogResource

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

public class WorklogResource
extends Object

Provides logic for worklog endpoints (currently defined as a subResource of issue resource.)

Since:
v4.2

Nested Class Summary
static class WorklogResource.WorklogAdjustmentRequest
           
 
Constructor Summary
WorklogResource(WorklogService worklogService, JiraAuthenticationContext authenticationContext, UserManager userManager, ContextI18n i18n, TimeTrackingConfiguration timeTrackingConfiguration, JiraBaseUrls jiraBaseUrls)
           
 
Method Summary
 javax.ws.rs.core.Response addWorklog(Issue issue, WorklogJsonBean request, WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response deleteWorklog(Issue issue, WorklogJsonBean request, WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails, javax.ws.rs.core.UriInfo uriInfo)
           
 javax.ws.rs.core.Response getIssueWorklogs(Issue issue)
           
 javax.ws.rs.core.Response getWorklog(String worklogId)
           
 javax.ws.rs.core.Response updateWorklog(Issue issue, WorklogJsonBean request, WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails, javax.ws.rs.core.UriInfo uriInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorklogResource

public WorklogResource(WorklogService worklogService,
                       JiraAuthenticationContext authenticationContext,
                       UserManager userManager,
                       ContextI18n i18n,
                       TimeTrackingConfiguration timeTrackingConfiguration,
                       JiraBaseUrls jiraBaseUrls)
Method Detail

getIssueWorklogs

public javax.ws.rs.core.Response getIssueWorklogs(Issue issue)

getWorklog

public javax.ws.rs.core.Response getWorklog(String worklogId)

addWorklog

public javax.ws.rs.core.Response addWorklog(Issue issue,
                                            WorklogJsonBean request,
                                            WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails,
                                            javax.ws.rs.core.UriInfo uriInfo)

updateWorklog

public javax.ws.rs.core.Response updateWorklog(Issue issue,
                                               WorklogJsonBean request,
                                               WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails,
                                               javax.ws.rs.core.UriInfo uriInfo)

deleteWorklog

public javax.ws.rs.core.Response deleteWorklog(Issue issue,
                                               WorklogJsonBean request,
                                               WorklogResource.WorklogAdjustmentRequest adjustEstimateDetails,
                                               javax.ws.rs.core.UriInfo uriInfo)


Copyright © 2002-2012 Atlassian. All Rights Reserved.