Interface SitesServiceInternal

    • Method Detail

      • getAvailableBlueprints

        List<org.craftercms.commons.plugin.model.PluginDescriptor> getAvailableBlueprints()
        Get list of available blueprints
        Returns:
        lost of blueprints
      • getBlueprintDescriptor

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

        String getBlueprintLocation​(String blueprintId)
        Get blueprint location
        Parameters:
        blueprintId - blueprint id
        Returns:
        blueprint location
      • getSiteBlueprintDescriptor

        org.craftercms.commons.plugin.model.PluginDescriptor getSiteBlueprintDescriptor​(String id)
        Get the blueprint descriptor from a site repo
        Parameters:
        id - the id of the site
        Returns:
        the blueprint object or null if not found
      • getPublishingStatus

        PublishStatus getPublishingStatus​(String siteId)
        Get publishing status for site
        Parameters:
        siteId - site identifier
        Returns:
        publishing status
      • clearPublishingLock

        void clearPublishingLock​(String siteId)
        Clear publishing lock for site
        Parameters:
        siteId - site identifier