com.atlassian.confluence.plugins.rest.entities
Class ContentEntityList

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.ContentEntityList
All Implemented Interfaces:
com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>

public class ContentEntityList
extends Object
implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>

A List wrapper for ContentEntity objects


Constructor Summary
ContentEntityList()
           
ContentEntityList(int size, com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
           
 
Method Summary
 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> getCallback()
           
 List<ContentEntity> getContents()
          Returns the list of ContentEntity provided by this entity.
 int getSize()
          Total size of list, note that the actual size returned can be different from this size, if pagination is used.
 void setContents(List<ContentEntity> contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentEntityList

public ContentEntityList()

ContentEntityList

public ContentEntityList(int size,
                         com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
Method Detail

getContents

public List<ContentEntity> getContents()
Returns the list of ContentEntity provided by this entity.

Returns:

setContents

public void setContents(List<ContentEntity> contents)

getCallback

public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> getCallback()
Specified by:
getCallback in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>

getSize

public int getSize()
Total size of list, note that the actual size returned can be different from this size, if pagination is used.



Copyright © 2003-2012 Atlassian. All Rights Reserved.