org.apache.jackrabbit.core.version
Interface InternalFrozenVersionHistory

All Superinterfaces:
InternalFreeze, InternalVersionItem
All Known Implementing Classes:
InternalFrozenVHImpl

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
 String 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.
 String 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 String 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 String 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-2005 The Apache Software Foundation. All Rights Reserved.