public class TransientItemStateManager extends Object implements ItemStateCreationListener
TransientItemStateManager
adds support for transient changes on
ItemState
s and also provides methods to create new item states.
While all other modifications can be invoked on the item state instances itself,
creating a new node state is done using
createNewNodeState(Name, String, Name, QNodeDefinition, NodeState)
and
createNewPropertyState(Name, NodeState, QPropertyDefinition, QValue[], int)
.Modifier and Type | Method and Description |
---|---|
void |
created(ItemState state) |
void |
statusChanged(ItemState state,
int previousStatus)
Depending on status of the given state adapt change log.
|
public void statusChanged(ItemState state, int previousStatus)
statusChanged
in interface ItemStateLifeCycleListener
state
- the item state, which changed its status
.previousStatus
- the previous status of state
.ItemStateLifeCycleListener.statusChanged(ItemState, int)
public void created(ItemState state)
created
in interface ItemStateCreationListener
ItemStateCreationListener.created(ItemState)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.