|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryIndexing
Interface used to record in the indexes the changes to content.
Method Summary | |
---|---|
void |
addBinaryToIndex(Binary binary,
org.hibernate.search.backend.TransactionContext txnCtx)
|
void |
addToIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Collection<Property> properties,
NodeTypeSchemata schemata,
org.hibernate.search.backend.TransactionContext txnCtx)
Add to the index the information about a node. |
void |
removeAllFromIndex(String workspace,
org.hibernate.search.backend.TransactionContext txnCtx)
|
void |
removeBinariesFromIndex(Iterable<String> sha1s,
org.hibernate.search.backend.TransactionContext txnCtx)
|
void |
removeFromIndex(String workspace,
Iterable<NodeKey> keys,
org.hibernate.search.backend.TransactionContext txnCtx)
|
void |
updateIndex(String workspace,
NodeKey key,
Path path,
Name primaryType,
Set<Name> mixinTypes,
Iterator<Property> properties,
NodeTypeSchemata schemata,
org.hibernate.search.backend.TransactionContext txnCtx)
Update the index to reflect the new state of the node. |
Method Detail |
---|
void addToIndex(String workspace, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, Collection<Property> properties, NodeTypeSchemata schemata, org.hibernate.search.backend.TransactionContext txnCtx)
workspace
- 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 emptyschemata
- the node type schemata that should be used to determine how the node is to be indexed; may not be nulltxnCtx
- the transaction context in which the index updates should be made; may not be nullvoid updateIndex(String workspace, NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes, Iterator<Property> properties, NodeTypeSchemata schemata, org.hibernate.search.backend.TransactionContext txnCtx)
workspace
- 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 emptyschemata
- the node type schemata that should be used to determine how the node is to be indexed; may not be nulltxnCtx
- the transaction context in which the index updates should be made; may not be nullvoid removeFromIndex(String workspace, Iterable<NodeKey> keys, org.hibernate.search.backend.TransactionContext txnCtx)
void removeAllFromIndex(String workspace, org.hibernate.search.backend.TransactionContext txnCtx)
void addBinaryToIndex(Binary binary, org.hibernate.search.backend.TransactionContext txnCtx)
void removeBinariesFromIndex(Iterable<String> sha1s, org.hibernate.search.backend.TransactionContext txnCtx)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |