Interface IThemeSPI

  • All Superinterfaces:
    ITheme

    public interface IThemeSPI
    extends ITheme
    Theme service provider interface.
    Since:
    7.0.0
    Version:
    $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
    • Method Detail

      • getResources

        java.util.Set<java.lang.String> getResources​(IThemeSPI.ResourceFolder resourceFolder)
                                              throws PortalException
        Returns the resources inside the given resource folder of this theme.
        Parameters:
        resourceFolder - the IThemeSPI.ResourceFolder.
        Returns:
        the resources inside the given resource folder of this theme.
        Throws:
        java.lang.NullPointerException - if the resourceFolder is null.
        java.lang.IllegalStateException - if ITheme.getId() returns null.
        PortalException
        Since:
        7.0.0
      • getWWWResourcesWithHashes

        java.util.Map<java.lang.String,​java.lang.String> getWWWResourcesWithHashes()
                                                                                  throws PortalException
        Returns the www folder resources with their hashes.
        Returns:
        the www folder resources with their hashes.
        Throws:
        PortalException
        Since:
        16.1.0