Class UserActionListImpl

java.lang.Object
org.opencastproject.usertracking.impl.UserActionListImpl
All Implemented Interfaces:
UserActionList

public class UserActionListImpl extends Object implements UserActionList
  • Constructor Summary

    Constructors
    Constructor
    Description
    A no-arg constructor needed by JAXB
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Collection<UserAction> userActions)
    Add a complete Collection of UserActions to this collection.
    void
    add(UserAction annotation)
    Add a single UserAction to this collection.
    int
    Return the maximum number of results to collect.
    int
    Return the offset of result lists to skip over to get these results.
    int
    Return the total number of possible results for this query.
    Return a list of the UserActions in this Collection.
    void
    setLimit(int limit)
    Set the upper limit of the total number of results to return upon request.
    void
    setOffset(int offset)
    Set the offset * limit to skip over before returning the results.
    void
    setTotal(int total)
    Set the total number of results for this particular query.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserActionListImpl

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

    • add

      public void add(UserAction annotation)
      Description copied from interface: UserActionList
      Add a single UserAction to this collection.
      Specified by:
      add in interface UserActionList
    • add

      public void add(Collection<UserAction> userActions)
      Description copied from interface: UserActionList
      Add a complete Collection of UserActions to this collection.
      Specified by:
      add in interface UserActionList
    • setTotal

      public void setTotal(int total)
      Description copied from interface: UserActionList
      Set the total number of results for this particular query.
      Specified by:
      setTotal in interface UserActionList
    • setLimit

      public void setLimit(int limit)
      Description copied from interface: UserActionList
      Set the upper limit of the total number of results to return upon request.
      Specified by:
      setLimit in interface UserActionList
    • setOffset

      public void setOffset(int offset)
      Description copied from interface: UserActionList
      Set the offset * limit to skip over before returning the results.
      Specified by:
      setOffset in interface UserActionList
    • getTotal

      public int getTotal()
      Description copied from interface: UserActionList
      Return the total number of possible results for this query.
      Specified by:
      getTotal in interface UserActionList
    • getLimit

      public int getLimit()
      Description copied from interface: UserActionList
      Return the maximum number of results to collect.
      Specified by:
      getLimit in interface UserActionList
    • getOffset

      public int getOffset()
      Description copied from interface: UserActionList
      Return the offset of result lists to skip over to get these results.
      Specified by:
      getOffset in interface UserActionList
    • getUserActions

      public List<UserAction> getUserActions()
      Description copied from interface: UserActionList
      Return a list of the UserActions in this Collection.
      Specified by:
      getUserActions in interface UserActionList