X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.jcr%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fjcr%2Fdao%2FSlcExecutionDaoJcr.java;h=67ebefd82d1337caba584a352a77249dd9fee60c;hb=4663b42433ba4a16c81d90927aecff2a923cd7a4;hp=ab9a1ea974fde7987fbc4b2dd4914571d3513a58;hpb=7efacbb6a17cd98979833f3c427ddeb940869d5c;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcr.java b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcr.java index ab9a1ea97..67ebefd82 100644 --- a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcr.java +++ b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/SlcExecutionDaoJcr.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2010 Mathieu Baudier + * + * 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 additionalSteps) { @@ -101,4 +118,16 @@ public class SlcExecutionDaoJcr extends AbstractSlcJcrDao implements } } + public List tailSteps(String slcExecutionId, + Integer nbrOfSteps) { + log.error("Method not implemented, returning an empty list."); + return new ArrayList(); + } + + public List tailSteps(String slcExecutionId, + String slcExecutionStepId) { + log.error("Method not implemented, returning an empty list."); + return new ArrayList(); + } + }