Class IndexCleanHelper


  • public class IndexCleanHelper
    extends Object
    IndexCleanerService deliver tools for clean index data of workspace or repository. Created by The eXo Platform SAS.
    Date: 2010
    Version:
    $Id: IndexCleanerService.java 3210 2010-09-28 12:01:50Z areshetnyak $
    Author:
    Alex Reshetnyak
    • Constructor Detail

      • IndexCleanHelper

        public IndexCleanHelper()
    • Method Detail

      • removeWorkspaceIndex

        public void removeWorkspaceIndex​(org.exoplatform.services.jcr.config.WorkspaceEntry wsConfig,
                                         boolean isSystem)
                                  throws org.exoplatform.services.jcr.config.RepositoryConfigurationException,
                                         IOException
        Remove all file of workspace index.
        Parameters:
        wsConfig - - workspace configuration.
        isSystem - - 'true' to clean system workspace.
        Throws:
        org.exoplatform.services.jcr.config.RepositoryConfigurationException - - exception on parsing workspace configuration
        IOException - - exception on remove index folder