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, I18nHelper i18n, TimeTrackingConfiguration timeTrackingConfiguration, JiraBaseUrls jiraBaseUrls, EmailFormatter emailFormatter)
           
 
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)
           
 List<Worklog> getIssueWorklogsObjects(Issue issue)
           
 javax.ws.rs.core.Response getWorklog(String worklogId)
           
 javax.ws.rs.core.Response getWorklogForIssue(String worklogId, Issue issue)
           
 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,
                       I18nHelper i18n,
                       TimeTrackingConfiguration timeTrackingConfiguration,
                       JiraBaseUrls jiraBaseUrls,
                       EmailFormatter emailFormatter)
Method Detail

getIssueWorklogs

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

getIssueWorklogsObjects

public List<Worklog> getIssueWorklogsObjects(Issue issue)

getWorklog

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

getWorklogForIssue

public javax.ws.rs.core.Response getWorklogForIssue(String worklogId,
                                                    Issue issue)

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-2014 Atlassian. All Rights Reserved.