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

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

public class WorklogBean
extends Object

Since:
v4.2

Constructor Summary
WorklogBean()
           
 
Method Summary
static List<WorklogBean> asBeans(List<Worklog> worklogs, javax.ws.rs.core.UriInfo uriInfo, UserManager userManager)
           
protected static UserBean getUserBean(javax.ws.rs.core.UriInfo uriInfo, String username, UserManager userManager)
          Returns a UserBean for the user with the given name.
static WorklogBean getWorklog(Worklog log, javax.ws.rs.core.UriInfo uriInfo, UserManager userManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorklogBean

public WorklogBean()
Method Detail

asBeans

public static List<WorklogBean> asBeans(List<Worklog> worklogs,
                                        javax.ws.rs.core.UriInfo uriInfo,
                                        UserManager userManager)

getWorklog

public static WorklogBean getWorklog(Worklog log,
                                     javax.ws.rs.core.UriInfo uriInfo,
                                     UserManager userManager)

getUserBean

protected static UserBean getUserBean(javax.ws.rs.core.UriInfo uriInfo,
                                      String username,
                                      UserManager userManager)
Returns a UserBean for the user with the given name. If the user does not exist, the returned bean contains only the username and no more info.

Parameters:
uriInfo - a UriInfo
username - a String containing a user name
userManager - Manager for users
Returns:
a UserBean


Copyright © 2002-2011 Atlassian. All Rights Reserved.