NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS| Modifier and Type | Method and Description |
|---|---|
FederationManager |
getFederationManager() |
IndexManager |
getIndexManager()
Returns the
IndexManager object that can be used to programmatically register and unregister index
definitions. |
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.
|
clone, copy, copy, createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getObservationManager, getSession, getVersionManager, importXML, move, restoreNodeTypeManager getNodeTypeManager() throws RepositoryException
This method returns the ModeShape-specific specialization of the standard NodeTypeManager
interface.
getNodeTypeManager in interface WorkspaceRepositoryExceptionQueryManager getQueryManager() throws RepositoryException
This method returns the ModeShape-specific specialization of the standard QueryManager interface.
getQueryManager in interface WorkspaceRepositoryExceptionIndexManager getIndexManager() throws RepositoryException
IndexManager object that can be used to programmatically register and unregister index
definitions.IndexManager object.RepositoryException - if an error occurs.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 workspaceRepositoryException - 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 indexedIllegalArgumentException - if the workspace or path are null, or if the depth is less than 1AccessDeniedException - if the session does not have the privileges to reindex this part of the workspaceRepositoryException - 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 workspaceRepositoryException - 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 indexedIllegalArgumentException - if the workspace or path are null, or if the depth is less than 1AccessDeniedException - if the session does not have the privileges to reindex this part of the workspaceRepositoryException - if there is a problem with this session or workspacereindex(),
reindex(String),
reindexAsync()FederationManager getFederationManager() throws RepositoryException
RepositoryExceptionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.