Interface PageTemplatesServiceLocal
-
public interface PageTemplatesServiceLocalLocal interface for the PageTemplates service from the Planner API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<PageTemplate>getPageTemplates()Returns all page templatesPageTemplategetPageTemplatesById(int pageTemplateId)Returns the page template at the specified IDjava.util.List<PageTemplate>getPageTemplatesForPublication(java.lang.String publicationId)Returns all page templates for specified publicationjava.util.List<PageTemplate>setPageTemplatesForPublication(java.lang.String publicationId, java.util.List<PageTemplate> pageTemplates)Sets page templates to the specific publication
-
-
-
Method Detail
-
getPageTemplatesById
PageTemplate getPageTemplatesById(int pageTemplateId) throws ServiceException
Returns the page template at the specified ID- Parameters:
pageTemplateId- page template ID- Returns:
- the page template
- Throws:
ServiceException- See Also:
PageTemplate
-
getPageTemplates
java.util.List<PageTemplate> getPageTemplates() throws ServiceException
Returns all page templates- Returns:
- the list of page templates
- Throws:
ServiceException- See Also:
PageTemplate
-
getPageTemplatesForPublication
java.util.List<PageTemplate> getPageTemplatesForPublication(java.lang.String publicationId) throws ServiceException
Returns all page templates for specified publication- Parameters:
publicationId- publication ID- Returns:
- the list of page templates
- Throws:
ServiceException- See Also:
PageTemplate
-
setPageTemplatesForPublication
java.util.List<PageTemplate> setPageTemplatesForPublication(java.lang.String publicationId, java.util.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:
PageTemplate
-
-