|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Workspace

An extension of JCR 2.0's Workspace interface, with a few ModeShape-specific enhancements.
| Field Summary |
|---|
| Method Summary | |
|---|---|
void |
reindex()
Crawl and re-index the content in this workspace. |
void |
reindex(String path)
Crawl and index the content starting at the supplied path in this workspace, to the designated depth. |
Future<Boolean> |
reindexAsync()
Asynchronously crawl and re-index the content in this workspace. |
Future<Boolean> |
reindexAsync(String path)
Asynchronously crawl and index the content starting at the supplied path in this workspace, to the designated depth. |
| Methods inherited from interface javax.jcr.Workspace |
|---|
clone, copy, copy, createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, importXML, move, restore |
| Method Detail |
|---|
void reindex()
throws RepositoryException
RepositoryException - if there is a problem with this session or workspacereindexAsync(),
reindexAsync(String),
reindex(String)
void reindex(String path)
throws RepositoryException
path - the path of the content to be indexed
IllegalArgumentException - if the workspace or path are null, or if the depth is less than 1
RepositoryException - if there is a problem with this session or workspacereindex(),
reindexAsync(),
reindexAsync(String)
Future<Boolean> reindexAsync()
throws RepositoryException
RepositoryException - if there is a problem with this session or workspacereindex(),
reindex(String),
reindexAsync(String)
Future<Boolean> reindexAsync(String path)
throws RepositoryException
path - the path of the content to be indexed
IllegalArgumentException - if the workspace or path are null, or if the depth is less than 1
RepositoryException - if there is a problem with this session or workspacereindex(),
reindex(String),
reindexAsync()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||