Uses of Interface
org.apache.jackrabbit.core.version.InternalVersion

Packages that use InternalVersion
org.apache.jackrabbit.core.version The versioning framework in jackrabbit consists of 3 layers. 
 

Uses of InternalVersion in org.apache.jackrabbit.core.version
 

Methods in org.apache.jackrabbit.core.version that return InternalVersion
 InternalVersion[] InternalVersion.getSuccessors()
          Equivalent to Version.getSuccessors()}
 InternalVersion[] InternalVersion.getPredecessors()
          Equivalent to Version.getPredecessors()}
 InternalVersion VersionManager.getVersion(NodeId id)
          Returns the version with the given id
protected  InternalVersion XAVersion.getInternalVersion()
          Returns the internal version. Subclass responsibility.
protected  InternalVersion XAVersionManager.checkin(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history, NodeImpl node)
          Checks in a node

Before modifying version history given, make a local copy of it.

protected  InternalVersion XAVersionManager.setVersionLabel(org.apache.jackrabbit.core.version.InternalVersionHistoryImpl history, QName version, QName label, boolean move)
          Set version label on the specified version.

Before modifying version history given, make a local copy of it.

protected abstract  InternalVersion AbstractVersion.getInternalVersion()
          Returns the internal version.
protected  InternalVersion VersionImpl.getInternalVersion()
          Returns the internal version
 InternalVersion InternalFrozenVersionHistory.getBaseVesion()
          Returns the base version that was assigned to the node at the time it was versioned.
 InternalVersion InternalVersionHistory.getRootVersion()
          Equivalalent to VersionHistory.getRootVersion().
 InternalVersion InternalVersionHistory.getVersion(QName versionName)
          Equivalalent to VersionHistory.getVersion(java.lang.String).
 InternalVersion InternalVersionHistory.getVersion(NodeId id)
          Returns the version with the given uuid or null if the respective version does not exist.
 InternalVersion InternalVersionHistory.getVersionByLabel(QName label)
          Equivalalent to VersionHistory.getVersionByLabel(java.lang.String) but returns null if the version does not exists.
 

Methods in org.apache.jackrabbit.core.version with parameters of type InternalVersion
 boolean InternalVersion.isMoreRecent(InternalVersion v)
          Checks if this version is more recent than the given version v.
protected  void XAVersionManager.versionCreated(InternalVersion version)
          Invoked when a new internal item has been created.

Put the version object into our cache.

protected  void XAVersionManager.versionDestroyed(InternalVersion version)
          Invoked when a new internal item has been destroyed.

Remove the version object from our cache.

 

Constructors in org.apache.jackrabbit.core.version with parameters of type InternalVersion
XAVersion(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersion version)
          Create a new instance of this class.
VersionImpl(ItemManager itemMgr, SessionImpl session, NodeId id, NodeState state, NodeDefinition definition, ItemLifeCycleListener[] listeners, InternalVersion version)
          creates a new version node
 



Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.