Copyright© 2008-2022 Sitevision AB, all rights reserved.
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.
Sitevision note: Unsupported operation
RetentionManager.getHolds(String)
,
RetentionManager.addHold(String, String, boolean)
,
RetentionManager.removeHold(String, Hold)
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this
Hold . |
boolean |
isDeep()
Returns
true if this Hold is deep. |
boolean isDeep() throws RepositoryException
true
if this Hold
is deep.true
if this Hold
is deep.RepositoryException
- if an error occurs.String getName() throws RepositoryException
Hold
. A JCR name.Hold
. A JCR name.RepositoryException
- if an error occurs.Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.