|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
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()
This method returns the ModeShape-specific specialization of the standard NodeTypeManager
interface. |
QueryManager |
getQueryManager()
This method returns the ModeShape-specific specialization of the standard QueryManager interface. |
RepositoryManager |
getRepositoryManager()
Return a RepositoryManager that can be used to administer the Repository instance through which this workspace's
session was acquired. |
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
This method returns the ModeShape-specific specialization of the standard NodeTypeManager
interface.
getNodeTypeManager
in interface Workspace
RepositoryException
QueryManager getQueryManager() throws RepositoryException
This method returns the ModeShape-specific specialization of the standard QueryManager
interface.
getQueryManager
in interface Workspace
RepositoryException
RepositoryManager getRepositoryManager() throws AccessDeniedException, RepositoryException
RepositoryManager
that can be used to administer the Repository instance through which this workspace's
session was acquired.
RepositoryManager
instance.
AccessDeniedException
- if the caller does not have authorization to obtain the manager.
RepositoryException
- if another error occurred.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()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |