|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.ItemImpl org.apache.jackrabbit.core.NodeImpl org.apache.jackrabbit.core.version.AbstractVersion org.apache.jackrabbit.core.version.XAVersion
Implementation of a Version
that works in an
XA environment.
Field Summary |
Fields inherited from class org.apache.jackrabbit.core.NodeImpl |
CREATED, definition, primaryTypeName |
Fields inherited from class org.apache.jackrabbit.core.ItemImpl |
id, itemMgr, listeners, rep, session, state, stateMgr, status, STATUS_DESTROYED, STATUS_INVALIDATED, STATUS_MODIFIED, STATUS_NORMAL |
Constructor Summary | |
XAVersion(ItemManager itemMgr,
SessionImpl session,
NodeId id,
NodeState state,
NodeDefinition definition,
ItemLifeCycleListener[] listeners,
InternalVersion version)
Create a new instance of this class. |
Method Summary | |
protected InternalVersion |
getInternalVersion()
Returns the internal version. Subclass responsibility. |
protected void |
sanityCheck()
Performs a sanity check on this item and the associated session. |
Methods inherited from class org.apache.jackrabbit.core.version.AbstractVersion |
getContainingHistory, getCreated, getFrozenNode, getPredecessors, getSuccessors, getUUID, isMoreRecent, isRootVersion, isSame, merge, update |
Methods inherited from class org.apache.jackrabbit.core.ItemImpl |
getAncestor, getDepth, getId, getPath, getPrimaryPath, getSession, internalRemove, isModified, isNew, isTransactionalNew, isTransient, notifyDestroyed, notifyInvalidated, refresh, remove, safeGetJCRPath, save, setRemoved, stateCreated, stateDestroyed, stateDiscarded, stateModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.Node |
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, getBaseVersion, getCorrespondingNodePath, getDefinition, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperty, getReferences, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, orderBefore, removeMixin, restore, restore, restore, restoreByLabel, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock |
Methods inherited from interface javax.jcr.Item |
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, refresh, remove, save |
Constructor Detail |
public XAVersion(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersion version)
itemMgr
- item managersession
- sessionid
- node idstate
- node statedefinition
- node definitionlisteners
- life cycle listenersMethod Detail |
protected InternalVersion getInternalVersion() throws RepositoryException
getInternalVersion
in class AbstractVersion
RepositoryException
- if the internal version is not availableprotected void sanityCheck() throws RepositoryException
sanityCheck
in class ItemImpl
RepositoryException
- if this item has been rendered invalid for some reason
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |