Class CollectionPage<T>

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ComputationalCollectionPage

    public class CollectionPage<T>
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • count

        protected java.lang.Integer count
      • collection

        protected java.util.Collection<T> collection
      • ids

        protected java.util.Collection<java.lang.Integer> ids
      • entityClass

        @Deprecated
        protected java.lang.Class<T> entityClass
        Deprecated.
    • Constructor Detail

      • CollectionPage

        @Deprecated
        protected CollectionPage​(Criteria criteria,
                                 java.lang.Class<T> entityClass)
        Deprecated.
      • CollectionPage

        protected CollectionPage​(Criteria criteria)
      • CollectionPage

        public CollectionPage()
      • CollectionPage

        public CollectionPage​(int count,
                              java.util.Collection<T> collection,
                              Criteria criteria)
      • CollectionPage

        @Deprecated
        public CollectionPage​(int count,
                              java.util.Collection<T> collection,
                              Criteria criteria,
                              java.lang.Class<T> entityClass)
        Deprecated.
    • Method Detail

      • init

        public void init()
        Getting count and collection
      • init

        public void init​(int count,
                         java.util.Collection<T> collection)
      • getCriteria

        public Criteria getCriteria()
      • setCriteria

        @Deprecated
        public void setCriteria​(Criteria criteria)
        Deprecated.
        Hack for cases when effectiveCriteria differs with originalCriteria (todo for boraldo)
        Parameters:
        criteria -
      • getCount

        public int getCount()
      • setCount

        public void setCount​(java.lang.Integer count)
      • getCollection

        public java.util.Collection<T> getCollection()
      • setCollection

        public void setCollection​(java.util.Collection<T> collection)
      • getEntityClass

        @Deprecated
        public java.lang.Class<T> getEntityClass()
        Deprecated.
      • getPages

        public int getPages()
      • getIds

        public java.util.Collection<java.lang.Integer> getIds()
      • setIds

        public void setIds​(java.util.Collection<java.lang.Integer> ids)