Class ReportImpl

java.lang.Object
org.opencastproject.usertracking.endpoint.ReportImpl
All Implemented Interfaces:
org.opencastproject.usertracking.api.Report

public class ReportImpl extends Object implements org.opencastproject.usertracking.api.Report
A Report
  • Field Details

    • from

      protected Calendar from
    • to

      protected Calendar to
    • views

      protected int views
    • played

      protected long played
    • total

      protected int total
    • offset

      protected int offset
    • limit

      protected int limit
    • reportItems

      protected List<ReportItemImpl> reportItems
  • Constructor Details

    • ReportImpl

      public ReportImpl()
      A no-arg constructor needed by JAXB
  • Method Details

    • add

      public void add(org.opencastproject.usertracking.api.ReportItem reportItem)
      Specified by:
      add in interface org.opencastproject.usertracking.api.Report
    • setTotal

      public void setTotal(int total)
      Specified by:
      setTotal in interface org.opencastproject.usertracking.api.Report
    • setLimit

      public void setLimit(int limit)
      Specified by:
      setLimit in interface org.opencastproject.usertracking.api.Report
    • setOffset

      public void setOffset(int offset)
      Specified by:
      setOffset in interface org.opencastproject.usertracking.api.Report
    • getFrom

      public Calendar getFrom()
      Specified by:
      getFrom in interface org.opencastproject.usertracking.api.Report
    • setFrom

      public void setFrom(Calendar from)
      Specified by:
      setFrom in interface org.opencastproject.usertracking.api.Report
    • getTo

      public Calendar getTo()
      Specified by:
      getTo in interface org.opencastproject.usertracking.api.Report
    • setTo

      public void setTo(Calendar to)
      Specified by:
      setTo in interface org.opencastproject.usertracking.api.Report
    • getViews

      public int getViews()
      Specified by:
      getViews in interface org.opencastproject.usertracking.api.Report
    • setViews

      public void setViews(int views)
      Specified by:
      setViews in interface org.opencastproject.usertracking.api.Report
    • getPlayed

      public long getPlayed()
      Specified by:
      getPlayed in interface org.opencastproject.usertracking.api.Report
    • setPlayed

      public void setPlayed(long played)
      Specified by:
      setPlayed in interface org.opencastproject.usertracking.api.Report
    • getTotal

      public int getTotal()
      Specified by:
      getTotal in interface org.opencastproject.usertracking.api.Report
    • getOffset

      public int getOffset()
      Specified by:
      getOffset in interface org.opencastproject.usertracking.api.Report
    • getLimit

      public int getLimit()
      Specified by:
      getLimit in interface org.opencastproject.usertracking.api.Report