Class RepositorySiteServiceDAL

  • All Implemented Interfaces:
    SiteServiceDAL

    public class RepositorySiteServiceDAL
    extends AbstractSiteServiceDAL
    use content repository as data access layer for site configuration
    Author:
    russdanner
    • Constructor Detail

      • RepositorySiteServiceDAL

        public RepositorySiteServiceDAL()
    • Method Detail

      • setConfigFilePath

        public void setConfigFilePath​(String configFilePath)
      • getSiteConfiguration

        public org.dom4j.Document getSiteConfiguration​(String site)
                                                throws SiteConfigNotFoundException
        given a site ID return the configuration as a document This method allows extensions to add additional properties to the configuration that are not made available through the site configuration object
        Parameters:
        site - the name of the site
        Returns:
        a Document containing the entire site configuration
        Throws:
        SiteConfigNotFoundException
      • getContentService

        public ContentService getContentService()
        getter for content service
      • setContentService

        public void setContentService​(ContentService service)
        setter for content service