Class 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 for ContentEntity objects
    • Constructor Detail

      • ContentEntityList

        public ContentEntityList()
      • ContentEntityList

        public ContentEntityList​(int size,
                                 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
    • Method Detail

      • getCallback

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

        public int hashCode()
        Overrides:
        hashCode in class Object