Interface PageTemplatesServiceLocal
public interface PageTemplatesServiceLocal
Local interface for the PageTemplates service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptionReturns all page templatesgetPageTemplatesById(int pageTemplateId) Returns the page template at the specified IDgetPageTemplatesForPublication(String publicationId) Returns all page templates for specified publicationsetPageTemplatesForPublication(String publicationId, List<PageTemplate> pageTemplates) Sets page templates to the specific publication
-
Method Details
-
getPageTemplatesById
Returns the page template at the specified ID- Parameters:
pageTemplateId- page template ID- Returns:
- the page template
- Throws:
ServiceException- See Also:
-
getPageTemplates
Returns all page templates- Returns:
- the list of page templates
- Throws:
ServiceException- See Also:
-
getPageTemplatesForPublication
Returns all page templates for specified publication- Parameters:
publicationId- publication ID- Returns:
- the list of page templates
- Throws:
ServiceException- See Also:
-
setPageTemplatesForPublication
List<PageTemplate> setPageTemplatesForPublication(String publicationId, List<PageTemplate> pageTemplates) throws ServiceException Sets page templates to the specific publication- Parameters:
publicationId- publication IDpageTemplates- List of page templates to set- Returns:
- the list of processed page templates. Each PageTemplate object from the list contains status code of the operation
- Throws:
ServiceException- See Also:
-