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
ConstructorsConstructorDescriptionContentEntityList(int size, com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> callback) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> 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) 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 ofContentEntityprovided by this entity.- Returns:
-
setContents
-
getCallback
public com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> getCallback()- Specified by:
getCallbackin 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()
-