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
 NodeId getBaseVersionId()
          Returns the id of the base version that was assigned to the node at the time it was versioned.
 InternalVersion getBaseVesion()
          Returns the base version that was assigned to the node at the time it was versioned.
 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

public 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

public 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

public 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

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

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


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