Class PublicFilesUtil


  • public abstract class PublicFilesUtil
    extends java.lang.Object
    Utility methods to work with portal public files.
    Since:
    10.3.0
    Version:
    $Revision$ $Date$
    • Method Detail

      • copyPortalWWWFiles

        public static void copyPortalWWWFiles​(IWebRootPortalBaseFolder baseFolder)
                                       throws PortalException
        Copy (asynchronously) portal public files to the given base folder. There must be a current transaction.
        Parameters:
        baseFolder - the web root base folder.
        Throws:
        PortalException
        Since:
        10.3.0
      • removePortalWWWFiles

        public static void removePortalWWWFiles​(IWebRootPortalBaseFolder baseFolder,
                                                boolean async)
                                         throws PortalException
        Removes (asynchronously) portal public files from the given base folder. There must be a current transaction.
        Parameters:
        baseFolder - the web root base folder.
        Throws:
        PortalException
        Since:
        10.3.0