Package org.opencastproject.list.impl
Class EmptyResourceListQuery
java.lang.Object
org.opencastproject.list.impl.EmptyResourceListQuery
- All Implemented Interfaces:
ResourceListQuery
ResourceListQuery that should result in an empty list after execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all the availableResourceListFilterfilters with this query.Returns the filter with the given nameReturns all theResourceListFilterset for the query.org.opencastproject.util.data.Option<Integer> getLimit()Returns the limit for the resource queryorg.opencastproject.util.data.Option<Integer> Returns the offset for the resource queryorg.opencastproject.util.data.Option<String> Returns the name of the field by which the list should be sortedReturns if the given filter is or not set
-
Constructor Details
-
EmptyResourceListQuery
public EmptyResourceListQuery()
-
-
Method Details
-
getFilters
Description copied from interface:ResourceListQueryReturns all theResourceListFilterset for the query.- Specified by:
getFiltersin interfaceResourceListQuery- Returns:
- all the query filters
-
getAvailableFilters
Description copied from interface:ResourceListQueryReturns all the availableResourceListFilterfilters with this query. The objects returned in the list are simple instance without any filter value set.- Specified by:
getAvailableFiltersin interfaceResourceListQuery- Returns:
- all the available filters
-
getFilter
Description copied from interface:ResourceListQueryReturns the filter with the given name- Specified by:
getFilterin interfaceResourceListQuery- Parameters:
name-- Returns:
- the query filter or null if the filter does not exist
-
getLimit
Description copied from interface:ResourceListQueryReturns the limit for the resource query- Specified by:
getLimitin interfaceResourceListQuery- Returns:
- the list limit
-
getOffset
Description copied from interface:ResourceListQueryReturns the offset for the resource query- Specified by:
getOffsetin interfaceResourceListQuery- Returns:
- the list offset
-
getSortBy
Description copied from interface:ResourceListQueryReturns the name of the field by which the list should be sorted- Specified by:
getSortByin interfaceResourceListQuery- Returns:
- the name of the field to use to sort the list
-
hasFilter
Description copied from interface:ResourceListQueryReturns if the given filter is or not set- Specified by:
hasFilterin interfaceResourceListQuery- Parameters:
name- the filter name- Returns:
- true if set
-