Package javax.jcr.retention
Interface Hold
-
public interface HoldHoldrepresents 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()istrue, the hold applies to the node and its entire subgraph. Otherwise the hold applies to the node and its properties only.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of thisHold.booleanisDeep()Returnstrueif thisHoldis deep.
-
-
-
Method Detail
-
isDeep
boolean isDeep() throws RepositoryExceptionReturnstrueif thisHoldis deep.- Returns:
trueif thisHoldis deep.- Throws:
RepositoryException- if an error occurs.
-
getName
java.lang.String getName() throws RepositoryExceptionReturns the name of thisHold. A JCR name.- Returns:
- the name of this
Hold. A JCR name. - Throws:
RepositoryException- if an error occurs.
-
-