Package org.ametys.cms.indexing
Interface WorkspaceIndexer
- All Known Implementing Classes:
SolrWebWorkspaceIndexer,SolrWorkspaceIndexer
public interface WorkspaceIndexer
Component indexing a workspace.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]Get the workspaces labelsvoidIndex a workspace.voidindex(String workspaceName, ContainerProgressionTracker progressionTracker) Index a workspace.voidIndex all the workspaces.voidindexAllWorkspaces(ContainerProgressionTracker progressionTracker) Index all the workspaces.
-
Field Details
-
ROLE
The component role.
-
-
Method Details
-
indexAllWorkspaces
Index all the workspaces.- Throws:
IndexingException- If an error occurs while indexing.
-
indexAllWorkspaces
Index all the workspaces.- Parameters:
progressionTracker- The progression of the indexation- Throws:
IndexingException- If an error occurs while indexing.
-
index
Index a workspace.- Parameters:
workspaceName- The workspace name.- Throws:
IndexingException- If an error occurs while indexing the workspace.
-
index
void index(String workspaceName, ContainerProgressionTracker progressionTracker) throws IndexingException Index a workspace.- Parameters:
workspaceName- The workspace name.progressionTracker- The progression tracker- Throws:
IndexingException- If an error occurs while indexing the workspace.
-
getWorkspacesNames
Get the workspaces labels- Returns:
- The list of labels
- Throws:
javax.jcr.RepositoryException- If an error occurs
-