Class UserActionListImpl
java.lang.Object
org.opencastproject.usertracking.impl.UserActionListImpl
- All Implemented Interfaces:
UserActionList
A
List of UserActionLists-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Collection<UserAction> userActions) Add a complete Collection of UserActions to this collection.voidadd(UserAction annotation) Add a single UserAction to this collection.intgetLimit()Return the maximum number of results to collect.intReturn the offset of result lists to skip over to get these results.intgetTotal()Return the total number of possible results for this query.Return a list of the UserActions in this Collection.voidsetLimit(int limit) Set the upper limit of the total number of results to return upon request.voidsetOffset(int offset) Set the offset * limit to skip over before returning the results.voidsetTotal(int total) Set the total number of results for this particular query.
-
Constructor Details
-
UserActionListImpl
public UserActionListImpl()A no-arg constructor needed by JAXB
-
-
Method Details
-
add
Description copied from interface:UserActionListAdd a single UserAction to this collection.- Specified by:
addin interfaceUserActionList
-
add
Description copied from interface:UserActionListAdd a complete Collection of UserActions to this collection.- Specified by:
addin interfaceUserActionList
-
setTotal
public void setTotal(int total) Description copied from interface:UserActionListSet the total number of results for this particular query.- Specified by:
setTotalin interfaceUserActionList
-
setLimit
public void setLimit(int limit) Description copied from interface:UserActionListSet the upper limit of the total number of results to return upon request.- Specified by:
setLimitin interfaceUserActionList
-
setOffset
public void setOffset(int offset) Description copied from interface:UserActionListSet the offset * limit to skip over before returning the results.- Specified by:
setOffsetin interfaceUserActionList
-
getTotal
public int getTotal()Description copied from interface:UserActionListReturn the total number of possible results for this query.- Specified by:
getTotalin interfaceUserActionList
-
getLimit
public int getLimit()Description copied from interface:UserActionListReturn the maximum number of results to collect.- Specified by:
getLimitin interfaceUserActionList
-
getOffset
public int getOffset()Description copied from interface:UserActionListReturn the offset of result lists to skip over to get these results.- Specified by:
getOffsetin interfaceUserActionList
-
getUserActions
Description copied from interface:UserActionListReturn a list of the UserActions in this Collection.- Specified by:
getUserActionsin interfaceUserActionList
-