]> 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
Improve Maven support in repo
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / main / java / org / argeo / slc / jcr / dao / SlcExecutionDaoJcr.java
index ab9a1ea974fde7987fbc4b2dd4914571d3513a58..67ebefd82d1337caba584a352a77249dd9fee60c 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.argeo.slc.jcr.dao;
 
 import java.util.ArrayList;
@@ -12,6 +28,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;
@@ -20,8 +38,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) {
@@ -101,4 +118,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>();
+       }
+
 }