public interface ItemStateManager
ItemStateManager
interface provides methods for retrieving
ItemState
and NodeReferences
instances by id.Modifier and Type | Method and Description |
---|---|
ItemState |
getItemState(ItemId id)
Return an item state, given its item id.
|
NodeReferences |
getNodeReferences(NodeId id)
Return a node references object, given its target id
|
boolean |
hasItemState(ItemId id)
Return a flag indicating whether an item state for a given
item id exists.
|
boolean |
hasNodeReferences(NodeId id)
Return a flag indicating whether a node references object
for a given target id exists.
|
ItemState getItemState(ItemId id) throws NoSuchItemStateException, ItemStateException
id
- item idNoSuchItemStateException
- if the item does not existItemStateException
- if an error occursboolean hasItemState(ItemId id)
id
- item idtrue
if an item state exists,
otherwise false
NodeReferences getNodeReferences(NodeId id) throws NoSuchItemStateException, ItemStateException
id
- target idNoSuchItemStateException
- if the item does not existItemStateException
- if an error occursboolean hasNodeReferences(NodeId id)
id
- target idtrue
if a node reference object exists for the given
id, otherwise false
.Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.