Interface IStyleFactory

    • Method Detail

      • createCachedStyle

        IStyle createCachedStyle​(String stylePath,
                                 List<ITheme> themes)
                          throws PortalException
        Creates a cached version of the requested style.
        Parameters:
        stylePath - the style path.
        themes - the current applied themes.
        Returns:
        a cached version of the requested style.
        Throws:
        PortalException
        Since:
        8.1.0
      • createDynamicStyle

        IStyle createDynamicStyle​(String stylePath,
                                  List<ITheme> themes)
                           throws PortalException
        Creates a dynamic version of the requested style.
        Parameters:
        stylePath - the style path.
        themes - the current applied themes.
        Returns:
        a dynamic version of the requested style.
        Throws:
        PortalException
        Since:
        8.1.0
      • createDynamicStyle

        IStyle createDynamicStyle​(String styleString,
                                  String stylePath,
                                  List<ITheme> themes)
                           throws PortalException
        Creates a dynamic version of the requested style using the given style text.
        Parameters:
        styleString - the style text.
        stylePath - the style path.
        themes - the current applied themes.
        Returns:
        a dynamic version of the requested style using the given style text.
        Throws:
        PortalException
        Since:
        8.1.0