Interface IServiceInterfaceStyleManager

  • All Known Implementing Classes:
    ServiceInterfaceStyleManager

    public interface IServiceInterfaceStyleManager
    Since:
    8.1.0
    Version:
    $Revision: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
    • Method Detail

      • clearStyleCache

        void clearStyleCache​(ITransaction transaction)
                      throws PortalException
        Clears all style cache.
        Parameters:
        transaction - the transaction for persistence access. If null, the cache is just cleared, else it is cleared as a transactional operation as specified in lumis.portal.cache.PortalCache#clear(ITransaction).
        Throws:
        PortalException
        Since:
        8.1.0
      • isStyleCached

        boolean isStyleCached​(String fileName)
        Verify if the style file is cached.
        Parameters:
        fileName - the style file path.
        Returns:
        true if any variant of the style is being cached, or false otherwise.
      • getCachedStyle

        IStyle getCachedStyle​(String stylePath)
                       throws PortalException
        Returns the cached version of the style in the given path.
        Parameters:
        stylePath - the style path.
        Returns:
        the cached version of the style in the given path.
        Throws:
        PortalException
        Since:
        8.1.0
      • getCachedStyle

        IStyle getCachedStyle​(String stylePath,
                              List<ITheme> themes)
                       throws PortalException
        Returns the cached version of the style in the given path.
        Parameters:
        stylePath - the style path.
        themes - the list of applied themes.
        Returns:
        the cached version of the style in the given path.
        Throws:
        PortalException
        Since:
        8.1.0
      • getDynamicStyle

        IStyle getDynamicStyle​(String stylePath)
                        throws PortalException
        Returns the dynamic version of the style in the given path.
        Parameters:
        stylePath - the style path.
        Returns:
        the cached version of the style in the given path.
        Throws:
        PortalException
        Since:
        8.1.0
      • getDynamicStyle

        IStyle getDynamicStyle​(String stylePath,
                               List<ITheme> themes)
                        throws PortalException
        Returns the dynamic version of the style in the given path.
        Parameters:
        stylePath - the style path.
        themes - the list of applied themes.
        Returns:
        the cached version of the style in the given path.
        Throws:
        PortalException
        Since:
        8.1.0
      • getDynamicStyle

        IStyle getDynamicStyle​(String styleString,
                               String stylePath,
                               List<ITheme> themes)
                        throws PortalException
        Returns the cached version of the style in the given path.
        Parameters:
        styleString - the style text.
        stylePath - the style path.
        themes - the list of applied themes.
        Returns:
        the cached version of the style in the given path.
        Throws:
        PortalException
        Since:
        8.1.0