package org.splat.simer;
import org.splat.dal.bo.som.Study;
-import org.splat.service.StudyService;
public class EditStudyAction extends DisplayStudyStepAction {
* Serial version ID.
*/
private static final long serialVersionUID = -4865668290514118396L;
-
- /**
- * Injected study service.
- */
- private StudyService _studyService;
private enum Execute {
publish, protect, promote
_openStudy = getOpenStudy();
Study study = _openStudy.getStudyObject();
- _studyService.markStudyAsReference(study);
+ getStudyService().markStudyAsReference(study);
return SUCCESS;
}
_openStudy = getOpenStudy();
Study study = _openStudy.getStudyObject();
- _studyService.removeStudyAsReference(study);
+ getStudyService().removeStudyAsReference(study);
return SUCCESS;
}
-
- /**
- * Get the studyService.
- *
- * @return the studyService
- */
- @Override
- public StudyService getStudyService() {
- return _studyService;
- }
-
- /**
- * Set the studyService.
- *
- * @param studyService
- * the studyService to set
- */
- @Override
- public void setStudyService(final StudyService studyService) {
- _studyService = studyService;
- }
-
}
\ No newline at end of file