1 /*****************************************************************************
5 * Creation date 12.03.2013
8 * @copyright OPEN CASCADE 2012
9 *****************************************************************************/
11 package org.splat.service.technical;
13 import java.util.List;
15 import org.splat.dal.bo.som.ProjectElement;
18 * Study steps configuration service.
20 * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
22 public interface StepsConfigService {
25 * Get steps of the given project element (study or scenario).
28 * the project element (study or scenario)
29 * @return the list of steps
31 List<ProjectSettingsService.Step> getStepsOf(
32 Class<? extends ProjectElement> level);
35 * Check whether the workflow step involves a project element(s) of the given level.
40 * the project element level
41 * @return true if there are project element's steps of the given level before the given step
43 public boolean stepInvolves(final int stepNum,
44 final Class<? extends ProjectElement> level);
51 public List<ProjectSettingsService.Step> getSteps();