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(Node node)
Determines the identifier to be used in aUsageEvent
.
-
-
-
Method Detail
-
getIdentifier
String getIdentifier(Node node) throws 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:
RepositoryException
- if an error occurs
-
-