Interface TemplatesServiceLocal
public interface TemplatesServiceLocal
Local interface for the Templates service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptiongetTemplate(String id) Returns the template at the specified IDgetTemplates(String publicationID, String domainID) Returns templates for the specified publication and domainsetTemplatesXPublication(String publicationID, List<Template> templates) Assigns specified templates to publication
-
Method Details
-
getTemplate
Returns the template at the specified ID- Parameters:
id- template ID- Returns:
- the template
- Throws:
PubServerException- See Also:
-
getTemplates
Returns templates for the specified publication and domain- Parameters:
publicationID- publication IDdomainID- domain ID- Returns:
- the list of template
- Throws:
PubServerException- See Also:
-
setTemplatesXPublication
List<Template> setTemplatesXPublication(String publicationID, List<Template> templates) throws PubServerException Assigns specified templates to publication- Parameters:
publicationID- publication IDtemplates- the list of templates to attach- Returns:
- the list of processed templates
- Throws:
PubServerException- See Also:
-