Interface TemplatesServiceLocal
-
public interface TemplatesServiceLocalLocal interface for the Templates service from the Planner API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemplategetTemplate(java.lang.String id)Returns the template at the specified IDjava.util.List<Template>getTemplates(java.lang.String publicationID, java.lang.String domainID)Returns templates for the specified publication and domainjava.util.List<Template>setTemplatesXPublication(java.lang.String publicationID, java.util.List<Template> templates)Assigns specified templates to publication
-
-
-
Method Detail
-
getTemplate
Template getTemplate(java.lang.String id) throws PubServerException
Returns the template at the specified ID- Parameters:
id- template ID- Returns:
- the template
- Throws:
PubServerException- See Also:
Template
-
getTemplates
java.util.List<Template> getTemplates(java.lang.String publicationID, java.lang.String domainID) throws PubServerException
Returns templates for the specified publication and domain- Parameters:
publicationID- publication IDdomainID- domain ID- Returns:
- the list of template
- Throws:
PubServerException- See Also:
Template
-
setTemplatesXPublication
java.util.List<Template> setTemplatesXPublication(java.lang.String publicationID, java.util.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:
Template
-
-