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

java.lang.Object
  extended by com.atlassian.jira.rest.api.expand.PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User>
      extended by com.atlassian.jira.rest.v2.issue.UserJsonBeanListWrapper
All Implemented Interfaces:
com.atlassian.plugins.rest.common.expand.entity.ListWrapper<UserJsonBean>

public class UserJsonBeanListWrapper
extends PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User>

Wraps a list of Users and pages over them

Since:
v6.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.rest.api.expand.PagedListWrapper
PagedListWrapper.PagedListWrapperDocExample<T,Z>
 
Field Summary
 
Fields inherited from class com.atlassian.jira.rest.api.expand.PagedListWrapper
endIndex, size, startIndex
 
Constructor Summary
UserJsonBeanListWrapper(JiraBaseUrls jiraBaseUrls, List<com.atlassian.crowd.embedded.api.User> users, int maxResults)
           
 
Method Summary
 UserJsonBean fromBackedObject(com.atlassian.crowd.embedded.api.User user)
           
 int getBackingListSize()
           
 List<com.atlassian.crowd.embedded.api.User> getOrderedList(int startIndex, int endIndex)
           
 
Methods inherited from class com.atlassian.jira.rest.api.expand.PagedListWrapper
getCallback, getMaxResults, getPagingCallback, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserJsonBeanListWrapper

public UserJsonBeanListWrapper(JiraBaseUrls jiraBaseUrls,
                               List<com.atlassian.crowd.embedded.api.User> users,
                               int maxResults)
Method Detail

fromBackedObject

public UserJsonBean fromBackedObject(com.atlassian.crowd.embedded.api.User user)
Specified by:
fromBackedObject in class PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User>

getBackingListSize

public int getBackingListSize()
Specified by:
getBackingListSize in class PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User>

getOrderedList

public List<com.atlassian.crowd.embedded.api.User> getOrderedList(int startIndex,
                                                                  int endIndex)
Specified by:
getOrderedList in class PagedListWrapper<UserJsonBean,com.atlassian.crowd.embedded.api.User>


Copyright © 2002-2014 Atlassian. All Rights Reserved.