org.apache.jackrabbit.core.version
Interface InternalActivity

All Superinterfaces:
InternalVersionItem

public interface InternalActivity
extends InternalVersionItem

This interface defines the internal activity.


Method Summary
 VersionSet getChangeSet()
          Returns the changeset of this activity.
 InternalVersion getLatestVersion(InternalVersionHistory history)
          Returns the latest version of the given history that is referenced in this activity.
 
Methods inherited from interface org.apache.jackrabbit.core.version.InternalVersionItem
getId, getParent
 

Method Detail

getLatestVersion

InternalVersion getLatestVersion(InternalVersionHistory history)
                                 throws RepositoryException
Returns the latest version of the given history that is referenced in this activity.

Parameters:
history - the history
Returns:
the version
Throws:
RepositoryException - if an error occurs

getChangeSet

VersionSet getChangeSet()
                        throws RepositoryException
Returns the changeset of this activity. This is the set of versions that are the latest members of this activity in their respective version histories.

Returns:
the changeset
Throws:
RepositoryException - if an error occurs


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