| vqwiki.VersionManager
All known Subclasses: vqwiki.db.DatabaseVersionManager, vqwiki.file.FileVersionManager,
VersionManager | public interface VersionManager (Code) | | |
Method Summary | |
void | addVersion(String virtualWiki, String topicName, String contents, Date at) | public String | diff(String virtualWiki, String topicName, int revision1, int revision2, boolean useHtml) | public List | getAllVersions(String virtualWiki, String topicName) | public int | getNumberOfVersions(String virtualWiki, String topicName) | public TopicVersion | getTopicVersion(String virtualWiki, String topicName, int versionNumber) | public String | getVersionContents(String virtualWiki, String topicName, int versionNumber) | public java.util.Date | lastRevisionDate(String virtualWiki, String topicName) | public Object | lookupRevision(String virtualWiki, String topicName, int version) |
getAllVersions | public List getAllVersions(String virtualWiki, String topicName) throws Exception(Code) | | Returns all versions of the given topic in reverse chronological order
Parameters: virtualWiki - Parameters: topicName - throws: Exception - |
lookupRevision | public Object lookupRevision(String virtualWiki, String topicName, int version) throws Exception(Code) | | Returns the revision key to get topic with
Revision 0 is the most recent revision
|
|
|