localState = stateMgr.createNew(transientState);
}
synchronized (localState) {
// copy state from transient state:
localState.copy(transientState, true);
// make state persistent
stateMgr.store(localState);
}
// tell state manager to disconnect item state