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

java.lang.Object
  extended by com.atlassian.jira.rest.api.expand.PagedListWrapper<FilterSubscriptionBean,org.ofbiz.core.entity.GenericValue>
      extended by com.atlassian.jira.rest.v2.search.FilterSubscriptionBeanListWrapper
All Implemented Interfaces:
com.atlassian.plugins.rest.common.expand.entity.ListWrapper<FilterSubscriptionBean>

public class FilterSubscriptionBeanListWrapper
extends PagedListWrapper<FilterSubscriptionBean,org.ofbiz.core.entity.GenericValue>

Wraps a list of FilterSubscriptions 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
FilterSubscriptionBeanListWrapper(FilterSubscriptionService filterSubscriptionService, UserManager userManager, ApplicationUser user, SearchRequest filter, JiraBaseUrls jiraBaseUrls)
           
 
Method Summary
static FilterSubscriptionBeanListWrapper empty()
          Returns an empty FilterSubscriptionBeanListWrapper.
 FilterSubscriptionBean fromBackedObject(org.ofbiz.core.entity.GenericValue filterSubscription)
           
 int getBackingListSize()
           
 List<org.ofbiz.core.entity.GenericValue> 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

FilterSubscriptionBeanListWrapper

public FilterSubscriptionBeanListWrapper(FilterSubscriptionService filterSubscriptionService,
                                         UserManager userManager,
                                         ApplicationUser user,
                                         SearchRequest filter,
                                         JiraBaseUrls jiraBaseUrls)
Method Detail

empty

public static FilterSubscriptionBeanListWrapper empty()
Returns an empty FilterSubscriptionBeanListWrapper.

Returns:
an empty FilterSubscriptionBeanListWrapper

fromBackedObject

public FilterSubscriptionBean fromBackedObject(org.ofbiz.core.entity.GenericValue filterSubscription)
Specified by:
fromBackedObject in class PagedListWrapper<FilterSubscriptionBean,org.ofbiz.core.entity.GenericValue>

getBackingListSize

public int getBackingListSize()
Specified by:
getBackingListSize in class PagedListWrapper<FilterSubscriptionBean,org.ofbiz.core.entity.GenericValue>

getOrderedList

public List<org.ofbiz.core.entity.GenericValue> getOrderedList(int startIndex,
                                                               int endIndex)
Specified by:
getOrderedList in class PagedListWrapper<FilterSubscriptionBean,org.ofbiz.core.entity.GenericValue>


Copyright © 2002-2014 Atlassian. All Rights Reserved.