ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1506831 - /ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java
Date Thu, 25 Jul 2013 07:29:02 GMT
Author: marrs
Date: Thu Jul 25 07:29:02 2013
New Revision: 1506831

URL: http://svn.apache.org/r1506831
Log:
Added two commands to query the workspace state.

Modified:
    ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java

Modified: ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java?rev=1506831&r1=1506830&r2=1506831&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java (original)
+++ ace/trunk/org.apache.ace.client.rest/src/org/apache/ace/client/rest/Workspace.java Thu
Jul 25 07:29:02 2013
@@ -627,6 +627,14 @@ public class Workspace {
     
 
     /*** other/generic ***/
+    
+    public boolean isModified() throws IOException {
+        return m_repositoryAdmin.isModified();
+    }
+    
+    public boolean isCurrent() throws IOException {
+        return m_repositoryAdmin.isCurrent();
+    }
 
     public void cas(String entityType, String left, String right, String leftCardinality,
String rightCardinalty) {
     	Map<String, String> attrs = new HashMap<String, String>();



Mime
View raw message