Class IndexCleanHelper
java.lang.Object
org.exoplatform.services.jcr.ext.backup.impl.IndexCleanHelper
IndexCleanerService deliver tools for clean index data of workspace or repository.
Created by The eXo Platform SAS.
Date: 2010
Date: 2010
- Version:
- $Id: IndexCleanerService.java 3210 2010-09-28 12:01:50Z areshetnyak $
- Author:
- Alex Reshetnyak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveWorkspaceIndex(org.exoplatform.services.jcr.config.WorkspaceEntry wsConfig, boolean isSystem) Remove all file of workspace index.
-
Constructor Details
-
IndexCleanHelper
public IndexCleanHelper()
-
-
Method Details
-
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 configurationIOException- - exception on remove index folder
-