* @throws MultiplyDefinedException
* if some property occurs several times
*/
- public Study createStudy(Study.Properties sprop, Scenario.Properties oprop,
+ Study createStudy(Study.Properties sprop, Scenario.Properties oprop,
SimulationContext.Properties cprop) throws MissedPropertyException,
InvalidPropertyException, MultiplyDefinedException;
* @throws MultiplyDefinedException
* if some property occurs several times
*/
- public Scenario addScenario(Study aStudy, Scenario.Properties sprop)
+ Scenario addScenario(Study aStudy, Scenario.Properties sprop)
throws MissedPropertyException, InvalidPropertyException,
MultiplyDefinedException;
* @throws MultiplyDefinedException
* if some property is defined several times
*/
- public KnowledgeElement addKnowledgeElement(Scenario aScenario,
+ KnowledgeElement addKnowledgeElement(Scenario aScenario,
KnowledgeElement.Properties kprop) throws MissedPropertyException,
InvalidPropertyException, MultiplyDefinedException;
* @param aScenario
* the scenario to check in
*/
- public void checkin(Scenario aScenario);
+ void checkin(Scenario aScenario);
/**
* Check out the scenario.
* the current user
* @return true if check out operation succeeded
*/
- public boolean checkout(Scenario aScenario, User user);
+ boolean checkout(Scenario aScenario, User user);
/**
* Copy contents from other scenario up to its given step into the given scenario.
* @param lastep
* the last processed step of the source scenario
*/
- public void copyContentsUpTo(Scenario scenario, Step lastep);
+ void copyContentsUpTo(Scenario scenario, Step lastep);
/**
* Check if the scenario is empty, i.d. no one of its steps doesn't contain any knowledge elements or documents.
* the scenario to check
* @return true if the scenario is empty
*/
- public boolean isEmpty(Scenario scenario);
+ boolean isEmpty(Scenario scenario);
/**
* Remove a knowledge element from a scenario.
* the knowledge element to remove
* @return true if removal succeeded
*/
- public boolean removeKnowledgeElement(Scenario scenario,
+ boolean removeKnowledgeElement(Scenario scenario,
KnowledgeElement kelm);
}