Interface TemplateQuery

All Superinterfaces:
QueryBuilder<Template>

public interface TemplateQuery extends 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 Details

    • id

      Sets the ID of the template in the query.
      Parameters:
      id - the unique identifier of the template
      Returns:
      the current TemplateQuery instance for method chaining
    • label

      TemplateQuery label(String label)
      Sets the label of the template in the query.
      Parameters:
      label - the label of the template
      Returns:
      the current TemplateQuery instance for method chaining
    • labelLike

      TemplateQuery labelLike(String 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 TemplateQuery instance for method chaining
    • templateType

      TemplateQuery templateType(TemplateType templateType)
      Sets the template type in the query.
      Parameters:
      templateType - the type of the template
      Returns:
      the current TemplateQuery instance for method chaining
    • publicationId

      TemplateQuery publicationId(String 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 TemplateQuery instance for method chaining