Interface PageTemplatesServiceLocal


  • public interface PageTemplatesServiceLocal
    Local interface for the PageTemplates service from the Planner API
    • Method Detail

      • 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 ID
        pageTemplates - 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