[Yanel-commits] rev 57517 - public/yanel/trunk/src/core/java/org/wyona/yanel/core/api/attributes
michi at wyona.com
michi at wyona.com
Fri Mar 25 14:37:58 CET 2011
Author: michi
Date: 2011-03-25 14:37:58 +0100 (Fri, 25 Mar 2011)
New Revision: 57517
Modified:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/api/attributes/VersionableV2.java
Log:
notes for further improvements added
Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/core/api/attributes/VersionableV2.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/api/attributes/VersionableV2.java 2011-03-25 12:54:44 UTC (rev 57516)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/api/attributes/VersionableV2.java 2011-03-25 13:37:58 UTC (rev 57517)
@@ -33,6 +33,7 @@
* @throws Exception
*/
public RevisionInformation[] getRevisions() throws Exception;
+ // TODO: It would be nice if a new version of this method would return an iterator for scalability reasons, and also allows sorting, e.g. by date
/**
* Gets the view of a certain revision.
@@ -49,6 +50,7 @@
* @throws Exception
*/
public void restore(String revisionName) throws Exception;
+ // TODO: It would be nice if a new version of this method would return the new revision number/name which has been created during restoring
/**
* Puts this resource into checked-out state. Noone else will be able to check it out afterwards.
@@ -90,8 +92,7 @@
public Date getCheckoutDate() throws Exception;
/*
- * Methods which could be added to this interface:
- *
+ * TODO: Methods which could be added to a new version of this interface:
*
* getDiff(String rev1, String rev2) throws Exception;
* getHeadRevisionNumber() ?
More information about the Yanel-commits
mailing list