Class AResultImpl

java.lang.Object
org.opencastproject.assetmanager.impl.query.AResultImpl
All Implemented Interfaces:
Iterable<org.opencastproject.assetmanager.api.query.ARecord>, org.opencastproject.assetmanager.api.query.AResult

public final class AResultImpl extends Object implements org.opencastproject.assetmanager.api.query.AResult
  • Constructor Details

    • AResultImpl

      public AResultImpl(LinkedHashSet<org.opencastproject.assetmanager.api.query.ARecord> records, long size, long offset, long limit, long searchTime)
  • Method Details

    • iterator

      public Iterator<org.opencastproject.assetmanager.api.query.ARecord> iterator()
      Specified by:
      iterator in interface Iterable<org.opencastproject.assetmanager.api.query.ARecord>
    • getRecords

      public LinkedHashSet<org.opencastproject.assetmanager.api.query.ARecord> getRecords()
      Specified by:
      getRecords in interface org.opencastproject.assetmanager.api.query.AResult
    • getSize

      public long getSize()
      Specified by:
      getSize in interface org.opencastproject.assetmanager.api.query.AResult
    • getQuery

      public String getQuery()
      Specified by:
      getQuery in interface org.opencastproject.assetmanager.api.query.AResult
    • getTotalSize

      public long getTotalSize()
      Specified by:
      getTotalSize in interface org.opencastproject.assetmanager.api.query.AResult
    • getLimit

      public long getLimit()
      Specified by:
      getLimit in interface org.opencastproject.assetmanager.api.query.AResult
    • getOffset

      public long getOffset()
      Specified by:
      getOffset in interface org.opencastproject.assetmanager.api.query.AResult
    • getSearchTime

      public long getSearchTime()
      Specified by:
      getSearchTime in interface org.opencastproject.assetmanager.api.query.AResult