X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.specs%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fdao%2Fprocess%2FSlcExecutionDao.java;h=65464c7b92f015102b5d0aa2bcfd53f02daa3297;hb=74904a755b5b344238eafa798419b80c5e74f7ed;hp=ba40484b85d24cd4de97ee94620aa31d7e5893cb;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;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 ba40484b8..65464c7b9 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,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * 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.dao.process; import java.util.List; @@ -21,18 +20,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); - @Deprecated - 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); }