Package org.dspace.app.rest.model
Class FilteredItemsQueryPredicate
java.lang.Object
org.dspace.app.rest.model.FilteredItemsQueryPredicate
Data structure representing a query predicate used by the Filtered Items report
to filter items to retrieve. This version is specific to the REST layer and its
property types are detached from the persistence layer.
- Author:
- Jean-François Morin (Université Laval)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetField()getValue()static FilteredItemsQueryPredicateShortcut method that builds a FilteredItemsQueryPredicate from a colon-separated string value.static FilteredItemsQueryPredicateof(String field, QueryOperator operator, String value) Shortcut method that builds a FilteredItemsQueryPredicate from a single field, an operator, and a value.toString()
-
Constructor Details
-
FilteredItemsQueryPredicate
public FilteredItemsQueryPredicate()
-
-
Method Details
-
of
Shortcut method that builds a FilteredItemsQueryPredicate from a single field, an operator, and a value.- Parameters:
field- Predicate subjectoperator- Predicate operatorvalue- Predicate object- Returns:
- a FilteredItemsQueryPredicate instance built from the provided parameters
-
of
Shortcut method that builds a FilteredItemsQueryPredicate from a colon-separated string value.- Parameters:
value- Colon-separated string value (field:operator:object or field:operator)- Returns:
- a FilteredItemsQueryPredicate instance built from the provided value
-
getField
-
getOperator
-
getValue
-
toString
-