public class IndexChangeAdapter extends ChangeSetAdapter
context| Constructor and Description |
|---|
IndexChangeAdapter(ExecutionContext context,
String workspaceName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
includesWorkspace(String workspaceName)
Determine whether changes in the named workspace should be processed.
|
protected void |
index(String workspaceName,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
CachedNode.Properties properties,
boolean queryable)
Index the specific node.
|
addNode, addWorkspace, beginWorkspaceChanges, binaryValueUnused, changeNode, completeWorkspaceChanges, modifyProperties, moveNode, notify, removeNode, removeWorkspace, renameNode, reorderNode, repositoryMetadataChanged, sequenced, sequenceFailurepublic IndexChangeAdapter(ExecutionContext context, String workspaceName)
protected boolean includesWorkspace(String workspaceName)
ChangeSetAdaptertrue, which
means changes to content in all workspaces are handled by this adapter.includesWorkspace in class ChangeSetAdapterworkspaceName - the workspace that has changes in contentprotected void index(String workspaceName, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, CachedNode.Properties properties, boolean queryable)
workspaceName - the workspace in which the node information should be available; may not be nullkey - the unique key for the node; may not be nullpath - the path of the node; may not be nullprimaryType - the primary type of the node; may not be nullmixinTypes - the mixin types for the node; may not be null but may be emptyproperties - the properties of the node; may not be null but may be emptyqueryable - true if the node is queryable, false otherwiseCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.