1 /*****************************************************************************
5 * Creation date 06.10.2012
8 *****************************************************************************/
10 package org.splat.service;
12 import java.io.IOException;
14 import org.splat.dal.bo.som.Document;
15 import org.splat.dal.bo.som.Publication;
16 import org.splat.dal.bo.som.SimulationContext;
17 import org.splat.kernel.InvalidPropertyException;
18 import org.splat.kernel.MismatchException;
19 import org.splat.kernel.MissedPropertyException;
20 import org.splat.kernel.MultiplyDefinedException;
21 import org.splat.kernel.NotApplicableException;
22 import org.splat.som.Step;
28 public interface StepService {
30 public Publication createDocument(Step aStep, Document.Properties dprop)
31 throws MissedPropertyException, InvalidPropertyException,
32 MultiplyDefinedException, IOException;
34 public Publication assignDocument(Step aStep, Document.Properties dprop)
35 throws MissedPropertyException, InvalidPropertyException,
36 NotApplicableException;
38 public Publication versionDocument(Step aStep, Publication base,
39 Document.Properties dprop) throws MissedPropertyException,
40 InvalidPropertyException, MultiplyDefinedException, IOException,
43 public SimulationContext addSimulationContext(Step aStep,
44 SimulationContext.Properties dprop) throws MissedPropertyException,
45 InvalidPropertyException, MultiplyDefinedException,
53 public SimulationContext addSimulationContext(Step firstStep,
54 SimulationContext context);
56 public boolean removeSimulationContext(Step aStep, SimulationContext context);