public class VersionItemStateManager extends SharedItemStateManager
Constructor and Description |
---|
VersionItemStateManager(PersistenceManager persistMgr,
NodeId rootNodeId,
NodeTypeRegistry ntReg,
ItemStateCacheFactory cacheFactory,
ISMLocking locking,
NodeIdFactory nodeIdFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkReferentialIntegrity(ChangeLog changes) |
NodeReferences |
getNodeReferences(NodeId id)
Return a node references object, given its target id
|
boolean |
hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object
for a given target id exists.
|
boolean |
setNodeReferences(ChangeLog references)
Sets the
|
addListener, addVirtualItemStateProvider, beginUpdate, dispose, doExternalUpdate, externalUpdate, getItemState, getNodeIdFactory, hasItemState, hasNonVirtualItemState, removeListener, setCheckReferences, setEventChannel, setISMLocking, stateCreated, stateDestroyed, stateDiscarded, stateModified, toString, update
public VersionItemStateManager(PersistenceManager persistMgr, NodeId rootNodeId, NodeTypeRegistry ntReg, ItemStateCacheFactory cacheFactory, ISMLocking locking, NodeIdFactory nodeIdFactory) throws ItemStateException
ItemStateException
public NodeReferences getNodeReferences(NodeId id) throws NoSuchItemStateException, ItemStateException
SharedItemStateManager
getNodeReferences
in interface ItemStateManager
getNodeReferences
in class SharedItemStateManager
id
- target idNoSuchItemStateException
- if the item does not existItemStateException
- if an error occurspublic boolean hasNodeReferences(NodeId id)
SharedItemStateManager
hasNodeReferences
in interface ItemStateManager
hasNodeReferences
in class SharedItemStateManager
id
- target idtrue
if a node reference object exists for the given
id, otherwise false
.public boolean setNodeReferences(ChangeLog references)
references
- protected void checkReferentialIntegrity(ChangeLog changes) throws ReferentialIntegrityException, ItemStateException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.