]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcr.java
Introduce module meta data
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / main / java / org / argeo / slc / jcr / dao / SlcExecutionDaoJcr.java
index a51e61fc562d48b4db8f5c7019f2e5377a3101ac..1189c3aac77178f50bd90bc67373f2904922b237 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ * Copyright (C) 2007-2012 Mathieu Baudier
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.argeo.slc.jcr.dao;
 
 import java.util.ArrayList;
@@ -28,6 +27,8 @@ import javax.jcr.RepositoryException;
 import javax.jcr.query.Query;
 import javax.jcr.query.QueryResult;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.argeo.jcr.JcrUtils;
 import org.argeo.slc.SlcException;
 import org.argeo.slc.dao.process.SlcExecutionDao;
@@ -36,8 +37,7 @@ import org.argeo.slc.process.SlcExecutionStep;
 
 public class SlcExecutionDaoJcr extends AbstractSlcJcrDao implements
                SlcExecutionDao {
-       // private final static Log log =
-       // LogFactory.getLog(SlcExecutionDaoJcr.class);
+       private final static Log log = LogFactory.getLog(SlcExecutionDaoJcr.class);
 
        public void addSteps(String slcExecutionId,
                        List<SlcExecutionStep> additionalSteps) {
@@ -117,4 +117,16 @@ public class SlcExecutionDaoJcr extends AbstractSlcJcrDao implements
                }
        }
 
+       public List<SlcExecutionStep> tailSteps(String slcExecutionId,
+                       Integer nbrOfSteps) {
+               log.error("Method not implemented, returning an empty list.");
+               return new ArrayList<SlcExecutionStep>();
+       }
+
+       public List<SlcExecutionStep> tailSteps(String slcExecutionId,
+                       String slcExecutionStepId) {
+               log.error("Method not implemented, returning an empty list.");
+               return new ArrayList<SlcExecutionStep>();
+       }
+
 }