]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/msg/ExecutionAnswer.java
Introduce listResults service with filtering on collectionId and attributes
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / msg / ExecutionAnswer.java
index 4a036ccfeedbcbffb1ac430af301ffe5be1f5a90..e113f98bb65a95d012b87791c59d019649384b56 100644 (file)
@@ -40,4 +40,12 @@ public class ExecutionAnswer {
                this.message = message;
        }
 
+       public static ExecutionAnswer error(String message) {
+               return new ExecutionAnswer(ERROR, message);
+       }
+
+       public static ExecutionAnswer ok(String message) {
+               return new ExecutionAnswer(OK, message);
+       }
+
 }