Class PublicFilesUtil


  • public abstract class PublicFilesUtil
    extends java.lang.Object
    Utility methods to work with portal public files.
    Since:
    10.3.0
    Version:
    $Revision: 22420 $ $Date: 2019-02-19 16:21:02 -0300 (Tue, 19 Feb 2019) $
    • 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