Package javax.jcr.retention
Interface Hold
public interface Hold
Hold represents a hold that can be applied to an existing node
in order to prevent the node from being modified or removed. The format and
interpretation of the name are not specified. They are
application-dependent.
If isDeep() is true, the hold applies to the node and
its entire subgraph. Otherwise the hold applies to the node and its
properties only.
- Since:
- JCR 2.0
- See Also:
-
Method Summary
-
Method Details
-
isDeep
Returnstrueif thisHoldis deep.- Returns:
trueif thisHoldis deep.- Throws:
RepositoryException- if an error occurs.
-
getName
Returns the name of thisHold. A JCR name.- Returns:
- the name of this
Hold. A JCR name. - Throws:
RepositoryException- if an error occurs.
-