eXo JCR :: Component :: Extension Service 1.16.0-CR2

org.exoplatform.services.jcr.ext.backup.impl
Class IndexCleanHelper

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.backup.impl.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 Summary
IndexCleanHelper()
           
 
Method Summary
 void removeWorkspaceIndex(WorkspaceEntry wsConfig, boolean isSystem)
          Remove all file of workspace index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexCleanHelper

public IndexCleanHelper()
Method Detail

removeWorkspaceIndex

public void removeWorkspaceIndex(WorkspaceEntry wsConfig,
                                 boolean isSystem)
                          throws RepositoryConfigurationException,
                                 IOException
Remove all file of workspace index.

Parameters:
wsConfig - - workspace configuration.
isSystem - - 'true' to clean system workspace.
Throws:
RepositoryConfigurationException - - exception on parsing workspace configuration
IOException - - exception on remove index folder

eXo JCR :: Component :: Extension Service 1.16.0-CR2

Copyright © 2014 eXo Platform SAS. All Rights Reserved.