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 forContentEntityobjects
-
-
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 booleanequals(Object o)com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity>getCallback()List<ContentEntity>getContents()Returns the list ofContentEntityprovided by this entity.intgetSize()Total size of list, note that the actual size returned can be different from this size, if pagination is used.inthashCode()voidsetContents(List<ContentEntity> contents)StringtoString()
-
-
-
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 ofContentEntityprovided 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:
getCallbackin 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.
-
-