Class SitesServiceInternalImpl

    • Constructor Detail

      • SitesServiceInternalImpl

        public SitesServiceInternalImpl()
    • Method Detail

      • getAvailableBlueprints

        public List<org.craftercms.commons.plugin.model.PluginDescriptor> getAvailableBlueprints()
        Description copied from interface: SitesService
        Get list of available blueprints
        Specified by:
        getAvailableBlueprints in interface SitesService
        Returns:
        list of blueprints
      • getBlueprintDescriptor

        public org.craftercms.commons.plugin.model.PluginDescriptor getBlueprintDescriptor​(String id)
        Description copied from interface: SitesService
        Get the blueprint descriptor from the global repo
        Specified by:
        getBlueprintDescriptor in interface SitesService
        Parameters:
        id - the id of the blueprint
        Returns:
        the descriptor object or null if not found
      • getBlueprintLocation

        public String getBlueprintLocation​(String blueprintId)
        Description copied from interface: SitesService
        Get blueprint location
        Specified by:
        getBlueprintLocation in interface SitesService
        Parameters:
        blueprintId - blueprint id
        Returns:
        blueprint location
      • getSiteBlueprintDescriptor

        public org.craftercms.commons.plugin.model.PluginDescriptor getSiteBlueprintDescriptor​(String id)
        Description copied from interface: SitesService
        Get the blueprint descriptor from a site repo
        Specified by:
        getSiteBlueprintDescriptor in interface SitesService
        Parameters:
        id - the id of the site
        Returns:
        the blueprint object or null if not found
      • getBlueprintsFolders

        protected RepositoryItem[] getBlueprintsFolders()
      • loadDescriptor

        protected org.craftercms.commons.plugin.model.PluginDescriptor loadDescriptor​(InputStream is)
      • loadDescriptor

        protected org.craftercms.commons.plugin.model.PluginDescriptor loadDescriptor​(RepositoryItem folder)
      • clearPublishingLock

        public void clearPublishingLock​(String siteId)
        Description copied from interface: SitesService
        Clear publishing lock for site
        Specified by:
        clearPublishingLock in interface SitesService
        Parameters:
        siteId - site identifier
      • setDescriptorReader

        public void setDescriptorReader​(org.craftercms.commons.plugin.PluginDescriptorReader descriptorReader)
      • setContentRepository

        public void setContentRepository​(ContentRepository contentRepository)
      • setStudioConfiguration

        public void setStudioConfiguration​(StudioConfiguration studioConfiguration)
      • setSiteFeedMapper

        public void setSiteFeedMapper​(SiteFeedMapper siteFeedMapper)