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 Details

    • ContentEntityList

      public ContentEntityList()
    • ContentEntityList

      public ContentEntityList(int size, com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> callback)
  • Method Details

    • getContents

      public List<ContentEntity> getContents()
      Returns the list of ContentEntity provided by this entity.
      Returns:
    • setContents

      public void setContents(List<ContentEntity> contents)
    • getCallback

      public com.atlassian.plugins.rest.api.expand.listwrapper.ListWrapperCallback<ContentEntity> getCallback()
      Specified by:
      getCallback in interface com.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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object