Interface IStyleFactory

    • Method Detail

      • createCachedStyle

        IStyle createCachedStyle​(java.lang.String stylePath,
                                 java.util.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​(java.lang.String stylePath,
                                  java.util.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​(java.lang.String styleString,
                                  java.lang.String stylePath,
                                  java.util.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