Interface IdentifierStrategy
-
- All Known Implementing Classes:
HandleIdentifierStrategy
public interface IdentifierStrategy
Strategy for determining the identifier used in aUsageEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIdentifier(javax.jcr.Node node)
Determines the identifier to be used in aUsageEvent
.
-
-
-
Method Detail
-
getIdentifier
String getIdentifier(javax.jcr.Node node) throws javax.jcr.RepositoryException
Determines the identifier to be used in aUsageEvent
. This can be the identifier of the node itself or anything that uniquely identifies the node or any of its ancestors.- Parameters:
node
-Node
- Returns:
- The identifier of the node ( not necessarily the
Node.getIdentifier()
) - Throws:
javax.jcr.RepositoryException
- if an error occurs
-
-