Package com.priint.pubserverapi.template
Interface TemplateQuery
- All Superinterfaces:
QueryBuilder<Template>
Interface for building queries to retrieve template entities.
This interface provides methods to construct queries based on attributes of a template, such as ID, label, and template type. It supports method chaining for constructing complex queries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSets the ID of the template in the query.Sets the label of the template in the query.Sets a pattern to match the label of the template in the query.publicationId(String publicationId) Sets the publication ID of the assigned template in the query.templateType(TemplateType templateType) Sets the template type in the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
id
Sets the ID of the template in the query.- Parameters:
id- the unique identifier of the template- Returns:
- the current
TemplateQueryinstance for method chaining
-
label
Sets the label of the template in the query.- Parameters:
label- the label of the template- Returns:
- the current
TemplateQueryinstance for method chaining
-
labelLike
Sets a pattern to match the label of the template in the query.This method allows partial or wildcard matching for labels.
- Parameters:
labelLike- the pattern to match the label of the template- Returns:
- the current
TemplateQueryinstance for method chaining
-
templateType
Sets the template type in the query.- Parameters:
templateType- the type of the template- Returns:
- the current
TemplateQueryinstance for method chaining
-
publicationId
Sets the publication ID of the assigned template in the query.- Parameters:
publicationId- the publication id of a publication where a template is assigned to- Returns:
- the current
TemplateQueryinstance for method chaining
-