Class ContentEntityList
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.ContentEntityList
- All Implemented Interfaces:
com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapper<ContentEntity>
public class ContentEntityList
extends Object
implements com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapper<ContentEntity>
A List wrapper for
ContentEntity
objects-
Constructor Summary
ConstructorDescriptionContentEntityList
(int size, com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> callback) -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity>
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) toString()
-
Constructor Details
-
ContentEntityList
public ContentEntityList() -
ContentEntityList
public ContentEntityList(int size, com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> callback)
-
-
Method Details
-
getContents
Returns the list ofContentEntity
provided by this entity.- Returns:
-
setContents
-
getCallback
public com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> getCallback()- Specified by:
getCallback
in interfacecom.atlassian.plugins.rest.api.expand.listwrapper.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. -
toString
-
equals
-
hashCode
public int hashCode()
-