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()
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.String
getName()
Returns the name of thisHold
.boolean
isDeep()
Returnstrue
if thisHold
is deep.
-
-
-
Method Detail
-
isDeep
boolean isDeep() throws RepositoryException
Returnstrue
if thisHold
is deep.- Returns:
true
if thisHold
is deep.- Throws:
RepositoryException
- if an error occurs.
-
getName
java.lang.String getName() throws RepositoryException
Returns the name of thisHold
. A JCR name.- Returns:
- the name of this
Hold
. A JCR name. - Throws:
RepositoryException
- if an error occurs.
-
-