|
|||||||||||
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.AbstractVersionHistory org.apache.jackrabbit.core.version.XAVersionHistory
Implementation of a VersionHistory
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 | |
XAVersionHistory(ItemManager itemMgr,
SessionImpl session,
NodeId id,
NodeState state,
NodeDefinition definition,
ItemLifeCycleListener[] listeners,
InternalVersionHistory history)
Create a new instance of this class. |
Method Summary | |
protected InternalVersionHistory |
getInternalVersionHistory()
Returns the internal version history. 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.AbstractVersionHistory |
addVersionLabel, getAllVersions, getRootVersion, getUUID, getVersion, getVersionableUUID, getVersionByLabel, getVersionLabels, getVersionLabels, hasVersionLabel, hasVersionLabel, isSame, merge, removeVersion, removeVersionLabel, 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 XAVersionHistory(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersionHistory history)
itemMgr
- item managersession
- sessionid
- node idstate
- node statedefinition
- node definitionlisteners
- life cycle listenershistory
- internal version historyMethod Detail |
protected InternalVersionHistory getInternalVersionHistory() throws RepositoryException
getInternalVersionHistory
in class AbstractVersionHistory
RepositoryException
- if the internal version history 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 |