|
ModeShape Distribution 3.0.0.Alpha6 | |||||||||
| 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 | |
|---|---|
NodeTypeManager |
getNodeTypeManager()
|
QueryManager |
getQueryManager()
|
RepositoryMonitor |
getRepositoryMonitor()
A RepositoryMonitor object represents a monitoring view of the Session's Repository instance. |
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, getObservationManager, getSession, getVersionManager, importXML, move, restore |
| Method Detail |
|---|
NodeTypeManager getNodeTypeManager()
throws RepositoryException
getNodeTypeManager in interface WorkspaceRepositoryException
QueryManager getQueryManager()
throws RepositoryException
getQueryManager in interface WorkspaceRepositoryException
void reindex()
throws RepositoryException
AccessDeniedException - if the session does not have the privileges to reindex the workspace
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
AccessDeniedException - if the session does not have the privileges to reindex this part of the workspace
RepositoryException - if there is a problem with this session or workspacereindex(),
reindexAsync(),
reindexAsync(String)
Future<Boolean> reindexAsync()
throws RepositoryException
AccessDeniedException - if the session does not have the privileges to reindex the workspace
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
AccessDeniedException - if the session does not have the privileges to reindex this part of the workspace
RepositoryException - if there is a problem with this session or workspacereindex(),
reindex(String),
reindexAsync()
RepositoryMonitor getRepositoryMonitor()
throws RepositoryException
RepositoryMonitor object represents a monitoring view of the Session's Repository instance. This is useful
for applications that embed a JCR repository and need a way to monitor the health, status and performance of that
Repository instance. Each RepositoryMonitor object is associated one-to-one with a Session object
and is defined by the authorization settings of that session object.
The RepositoryMonitor object can be acquired using a Session by calling
Session.getWorkspace().getRepositoryMonitor() on a session object.
RepositoryException - if there is a problem obtaining the monitory
|
ModeShape Distribution 3.0.0.Alpha6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||