com.atlassian.confluence.plugins.rest.entities
Class ContentEntityList
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.ContentEntityList
- All Implemented Interfaces:
- com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>
public class ContentEntityList
- extends java.lang.Object
- implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>
A List wrapper for ContentEntity
objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentEntityList
public ContentEntityList()
ContentEntityList
public ContentEntityList(int size,
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
getContents
public java.util.List<ContentEntity> getContents()
- Returns the list of
ContentEntity
provided by this entity.
- Returns:
setContents
public void setContents(java.util.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-2013 Atlassian. All Rights Reserved.