Package com.priint.pubserverapi.template
Interface TemplateServiceLocal
public interface TemplateServiceLocal
Local interface for managing templates.
This interface defines methods for creating queries and retrieving templates. It provides a contract for interacting with template entities.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newTemplateQueryfor querying templates.getTemplateById(TemplateId templateId) Retrieves aTemplateby its unique identifier.getTemplatesForPublicationId(PublicationId publicationId) Retrieves a list ofTemplateobjects associated with a specific publication.
-
Method Details
-
createTemplateQuery
TemplateQuery createTemplateQuery()Creates a newTemplateQueryfor querying templates.- Returns:
- a new
TemplateQueryinstance
-
getTemplateById
Retrieves aTemplateby its unique identifier. -
getTemplatesForPublicationId
Retrieves a list ofTemplateobjects associated with a specific publication.
-