Interface TemplatesServiceLocal


  • public interface TemplatesServiceLocal
    Local interface for the Templates service from the Planner API
    • Method Detail

      • 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 ID
        domainID - 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 ID
        templates - the list of templates to attach
        Returns:
        the list of processed templates
        Throws:
        PubServerException
        See Also:
        Template