X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdao%2Fprocess%2FSlcExecutionDao.java;h=7cea2595acb67fcc6ff39b24938437b664f36502;hb=16e2ffb035a4c41576acc74efb37610c7aec1887;hp=e10d5fdc403ad3fed201d3d3206762d88a94d6d1;hpb=2f57b9abf7e5110603e8cf952259509c76c9a162;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/process/SlcExecutionDao.java b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/process/SlcExecutionDao.java index e10d5fdc4..7cea2595a 100644 --- a/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/process/SlcExecutionDao.java +++ b/runtime/org.argeo.slc.specs/src/main/java/org/argeo/slc/dao/process/SlcExecutionDao.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.dao.process; import java.util.List; @@ -5,17 +21,25 @@ import java.util.List; import org.argeo.slc.process.SlcExecution; import org.argeo.slc.process.SlcExecutionStep; +/** + * @deprecated will be removed in SLC 2.x, use + * {@link org.argeo.slc.dao.SlcExecutionDao} + */ public interface SlcExecutionDao { public void create(SlcExecution slcExecution); public void update(SlcExecution slcExecution); - public void merge(SlcExecution slcExecution); - public SlcExecution getSlcExecution(String uuid); public List listSlcExecutions(); public void addSteps(String slcExecutionId, List additionalSteps); + + public List tailSteps(final String slcExecutionId, + final Integer nbrOfSteps); + + public List tailSteps(final String slcExecutionId, + final String slcExecutionStepId); }