Class ReportImpl
java.lang.Object
org.opencastproject.usertracking.endpoint.ReportImpl
- All Implemented Interfaces:
org.opencastproject.usertracking.api.Report
A
Report-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(org.opencastproject.usertracking.api.ReportItem reportItem) getFrom()intgetLimit()intlonggetTo()intgetTotal()intgetViews()voidvoidsetLimit(int limit) voidsetOffset(int offset) voidsetPlayed(long played) voidvoidsetTotal(int total) voidsetViews(int views)
-
Field Details
-
from
-
to
-
views
protected int views -
played
protected long played -
total
protected int total -
offset
protected int offset -
limit
protected int limit -
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:
addin interfaceorg.opencastproject.usertracking.api.Report
-
setTotal
public void setTotal(int total) - Specified by:
setTotalin interfaceorg.opencastproject.usertracking.api.Report
-
setLimit
public void setLimit(int limit) - Specified by:
setLimitin interfaceorg.opencastproject.usertracking.api.Report
-
setOffset
public void setOffset(int offset) - Specified by:
setOffsetin interfaceorg.opencastproject.usertracking.api.Report
-
getFrom
- Specified by:
getFromin interfaceorg.opencastproject.usertracking.api.Report
-
setFrom
- Specified by:
setFromin interfaceorg.opencastproject.usertracking.api.Report
-
getTo
- Specified by:
getToin interfaceorg.opencastproject.usertracking.api.Report
-
setTo
- Specified by:
setToin interfaceorg.opencastproject.usertracking.api.Report
-
getViews
public int getViews()- Specified by:
getViewsin interfaceorg.opencastproject.usertracking.api.Report
-
setViews
public void setViews(int views) - Specified by:
setViewsin interfaceorg.opencastproject.usertracking.api.Report
-
getPlayed
public long getPlayed()- Specified by:
getPlayedin interfaceorg.opencastproject.usertracking.api.Report
-
setPlayed
public void setPlayed(long played) - Specified by:
setPlayedin interfaceorg.opencastproject.usertracking.api.Report
-
getTotal
public int getTotal()- Specified by:
getTotalin interfaceorg.opencastproject.usertracking.api.Report
-
getOffset
public int getOffset()- Specified by:
getOffsetin interfaceorg.opencastproject.usertracking.api.Report
-
getLimit
public int getLimit()- Specified by:
getLimitin interfaceorg.opencastproject.usertracking.api.Report
-