Package org.apache.jackrabbit.core.state

Examples of org.apache.jackrabbit.core.state.StaleItemStateException


            // remove persistent state
            // this will indirectly (through stateDestroyed listener method)
            // permanently invalidate all Item instances wrapping it
            assert persistentState != null;
            if (transientState.getModCount() != persistentState.getModCount()) {
                throw new StaleItemStateException(transientState.getId() + " has been modified externally");
            }
            sism.destroy(persistentState);
        }
    }
View Full Code Here


            // remove persistent state
            // this will indirectly (through stateDestroyed listener method)
            // permanently invalidate all Item instances wrapping it
            assert persistentState != null;
            if (transientState.getModCount() != persistentState.getModCount()) {
                throw new StaleItemStateException(transientState.getId() + " has been modified externally");
            }
            sism.destroy(persistentState);
        }
    }
View Full Code Here

            ItemState persistentState = transientState.getOverlayedState();
            // remove persistent state
            // this will indirectly (through stateDestroyed listener method)
            // permanently invalidate all Item instances wrapping it
            if (transientState.getModCount() != persistentState.getModCount()) {
                throw new StaleItemStateException(transientState.getId() + " has been modified externally");
            }
            sism.destroy(persistentState);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.state.StaleItemStateException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.