com.atlassian.jira.rest.v2.search
Class UserBeanListWrapper

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

public class UserBeanListWrapper
extends PagedListWrapper<UserBean,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
UserBeanListWrapper(JiraBaseUrls jiraBaseUrls, Collection<com.atlassian.crowd.embedded.api.User> sharedUsers, int maxResults)
           
 
Method Summary
 UserBean 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

UserBeanListWrapper

public UserBeanListWrapper(JiraBaseUrls jiraBaseUrls,
                           Collection<com.atlassian.crowd.embedded.api.User> sharedUsers,
                           int maxResults)
Method Detail

fromBackedObject

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

getBackingListSize

public int getBackingListSize()
Specified by:
getBackingListSize in class PagedListWrapper<UserBean,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<UserBean,com.atlassian.crowd.embedded.api.User>


Copyright © 2002-2014 Atlassian. All Rights Reserved.