org.apache.jackrabbit.core.version
Interface InternalFrozenNode

All Superinterfaces:
InternalFreeze, InternalVersionItem

public interface InternalFrozenNode
extends InternalFreeze

The InternalFrozenNode interface represents the frozen node that was generated during a Node.checkin(). It holds the set of frozen properties, the frozen child nodes and the frozen version history references of the original node.


Method Summary
 InternalFreeze[] getFrozenChildNodes()
          Returns the list of frozen child nodes
 QName[] getFrozenMixinTypes()
          Returns the list of names of the frozen mixin types.
 QName getFrozenPrimaryType()
          Returns the name of frozen primary type.
 PropertyState[] getFrozenProperties()
          Returns the list of frozen properties.
 UUID getFrozenUUID()
          Returns the frozen UUID.
 boolean hasFrozenHistory(UUID uuid)
          Checks if this frozen node has the frozen version history
 
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

getFrozenChildNodes

InternalFreeze[] getFrozenChildNodes()
                                     throws VersionException
Returns the list of frozen child nodes

Returns:
an array of internal freezes
Throws:
VersionException - if the freezes cannot be retrieved

getFrozenProperties

PropertyState[] getFrozenProperties()
Returns the list of frozen properties.

Returns:
an array of property states

getFrozenUUID

UUID getFrozenUUID()
Returns the frozen UUID.

Returns:
the frozen uuid.

getFrozenPrimaryType

QName getFrozenPrimaryType()
Returns the name of frozen primary type.

Returns:
the name of the frozen primary type.

getFrozenMixinTypes

QName[] getFrozenMixinTypes()
Returns the list of names of the frozen mixin types.

Returns:
the list of names of the frozen mixin types.

hasFrozenHistory

boolean hasFrozenHistory(UUID uuid)
Checks if this frozen node has the frozen version history

Parameters:
uuid -
Returns:
true if this node has the history; false otherwise.


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