org.apache.jackrabbit.core.version
Interface InternalFrozenVersionHistory

All Superinterfaces:
InternalFreeze, InternalVersionItem

public interface InternalFrozenVersionHistory
extends InternalFreeze

This interface defines a frozen versionable child node, that was created during a Node.checkin() with a OPV==Version node.


Method Summary
 InternalVersion getBaseVersion()
          Returns the base version that was assigned to the node at the time it was versioned.
 NodeId getBaseVersionId()
          Returns the id of the base version that was assigned to the node at the time it was versioned.
 InternalVersion getBaseVesion()
           
 InternalVersionHistory getVersionHistory()
          Returns the version history that was assigned to the node at the time it was versioned.
 NodeId getVersionHistoryId()
          Returns the id of the version history that was assigned to the node at the time it was versioned.
 
Methods inherited from interface org.apache.jackrabbit.core.version.InternalFreeze
getName
 
Methods inherited from interface org.apache.jackrabbit.core.version.InternalVersionItem
getId, getParent
 

Method Detail

getVersionHistoryId

NodeId getVersionHistoryId()
Returns the id of the version history that was assigned to the node at the time it was versioned.

Returns:
the id of the version history

getVersionHistory

InternalVersionHistory getVersionHistory()
                                         throws VersionException
Returns the version history that was assigned to the node at the time it was versioned.

Returns:
the internal version history.
Throws:
VersionException - if the history cannot be retrieved.

getBaseVersionId

NodeId getBaseVersionId()
Returns the id of the base version that was assigned to the node at the time it was versioned.

Returns:
the id of the base version

getBaseVesion

InternalVersion getBaseVesion()
                              throws VersionException
Throws:
VersionException

getBaseVersion

InternalVersion getBaseVersion()
                               throws VersionException
Returns the base version that was assigned to the node at the time it was versioned.

Returns:
the internal base version
Throws:
VersionException - if the version could not be retrieved


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