KnowledgeElement.Properties kprop) throws MissedPropertyException,
InvalidPropertyException, MultiplyDefinedException;
+ /**
+ * Check-in the scenario after SALOME session.
+ *
+ * @param scenId
+ * the scenario id
+ * @param userId
+ * the id of the user who modified documents
+ * @param scInfo
+ * the list of scenario steps DTO
+ */
+ void checkin(final long scenId, final long userId,
+ final List<StepDTO> scInfo);
+
/**
* Check in the scenario.
*
return isOk;
}
- public void checkin(final long scenId, final long userId, final List<StepDTO> scInfo) {
-
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.splat.service.ScenarioService#checkin(long, long, java.util.List)
+ */
+ public void checkin(final long scenId, final long userId,
+ final List<StepDTO> scInfo) {
+
}
-
+
/**
* {@inheritDoc}
*
* @see org.splat.service.ScenarioService#checkout(org.splat.dal.bo.som.Scenario, org.splat.dal.bo.kernel.User)
*/
public boolean checkout(final Scenario aScenario, final User user) {
- boolean res =
- getStudyService().isStaffedBy(aScenario.getOwnerStudy(), user);
+ boolean res = getStudyService().isStaffedBy(aScenario.getOwnerStudy(),
+ user);
if (res) {
aScenario.setUser(user);
aScenario.setLastModificationDate(Calendar.getInstance().getTime());