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 Object implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>
A List wrapper forContentEntity
objects
-
-
Constructor Summary
Constructors Constructor Description ContentEntityList()
ContentEntityList(int size, com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity>
getCallback()
List<ContentEntity>
getContents()
Returns the list ofContentEntity
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.int
hashCode()
void
setContents(List<ContentEntity> contents)
String
toString()
-
-
-
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 ofContentEntity
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 interfacecom.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.
-
-