Package com.priint.pubserverapi.spread
Interface SpreadQuery
- All Superinterfaces:
QueryBuilder<Spread>
Interface for building queries to retrieve spread entities.
This interface provides methods to construct queries based on attributes of a spread, such as ID. It supports method chaining for constructing complex queries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondocumentId(String documentId) Sets the document ID of theSpreadin the query.Sets the ID of the spread in the query.Sets the label of the spread in the query.Sets a pattern to match the label of the spread in the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
id
Sets the ID of the spread in the query.- Parameters:
id- the unique identifier of the spread- Returns:
- the current
SpreadQueryinstance for method chaining
-
label
Sets the label of the spread in the query.- Parameters:
label- the label of the spread- Returns:
- the current
SpreadQueryinstance for method chaining
-
labelLike
Sets a pattern to match the label of the spread in the query.This method allows partial or wildcard matching for labels.
- Parameters:
labelLike- the pattern to match the label of the spread- Returns:
- the current
SpreadQueryinstance for method chaining
-
documentId
Sets the document ID of theSpreadin the query.- Parameters:
documentId- document id- Returns:
- the current
SpreadQueryinstance for method chaining
-