org.apache.lenya.cms.repository
Interface History


public interface History

The revision history of a node.


Method Summary
 Revision getLatestRevision()
           
 Revision getRevision(int number)
           
 int[] getRevisionNumbers()
           
 

Method Detail

getRevisionNumbers

int[] getRevisionNumbers()
Returns:
The available revision numbers in descending order (starting with the newest one).

getLatestRevision

Revision getLatestRevision()
Returns:
The latest revision.

getRevision

Revision getRevision(int number)
                     throws RepositoryException
Parameters:
number - A revision number.
Returns:
A revision.
Throws:
RepositoryException - if no revision with this number exists.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.