Interface PreferencesQuery
- All Superinterfaces:
QueryBuilder<Preference>
A query interface for fetching and filtering
Preference entities.-
Method Summary
Modifier and TypeMethodDescriptionSets the keyName of thePreferencein the query.type(PreferenceType type) Sets the type of thePreferencein the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
type
Sets the type of thePreferencein the query. This parameter is obligatory.- Parameters:
type- the type of the preference to filter by- Returns:
- the updated query instance
-
keyName
Sets the keyName of thePreferencein the query.- Parameters:
keyName- the name of the preference to filter by- Returns:
- the updated query instance
-