*/
public String doInitialize() {
- mystudy = getOpenStudy();
+ _openStudy = getOpenStudy();
validation = new Vector<ValidationFacade>();
validefault = null;
other = getDocumentTypeService().selectResultTypes();
- Study study = mystudy.getStudyObject();
- StudyRights user = mystudy.getStudyRights();
+ Study study = _openStudy.getStudyObject();
+ StudyRights user = _openStudy.getStudyRights();
for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
DocumentType type = i.next();
ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
setLeftMenuProperty("open");
initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
- if (mystudy.isOpenForWriting() && user.canEditProperties()) {
+ if (_openStudy.isOpenForWriting() && user.canEditProperties()) {
return "edit";
}
else {
// Session connex = Database.getCurSession();
// Transaction transax = connex.beginTransaction();
- mystudy = getOpenStudy();
+ _openStudy = getOpenStudy();
validation = new Vector<ValidationFacade>();
validefault = null;
other = getDocumentTypeService().selectResultTypes();
- Study study = mystudy.getStudyObject();
+ Study study = _openStudy.getStudyObject();
for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
DocumentType type = i.next();
ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
// Session connex = Database.getCurSession();
// Transaction transax = connex.beginTransaction();
- mystudy = getOpenStudy();
+ _openStudy = getOpenStudy();
validation = new Vector<ValidationFacade>();
validefault = null;
other = getDocumentTypeService().selectAllTypes();
- Study study = mystudy.getStudyObject();
+ Study study = _openStudy.getStudyObject();
for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
DocumentType type = i.next();
ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
// Session connex = Database.getCurSession();
// Transaction transax = connex.beginTransaction();
- mystudy = getOpenStudy();
+ _openStudy = getOpenStudy();
validation = new Vector<ValidationFacade>();
validefault = null;
other = getDocumentTypeService().selectResultTypes();
- Study study = mystudy.getStudyObject();
+ Study study = _openStudy.getStudyObject();
for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
DocumentType type = i.next();
ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
public User getAuthor() {
// ------------------------
- return mystudy.getStudyObject().getAuthor();
+ return _openStudy.getStudyObject().getAuthor();
}
public List<User> getCandidates() {
public String getStudyTitle() {
// ------------------------------
- return mystudy.getTitle();
+ return _openStudy.getTitle();
}
public List<ValidationFacade> getValidations() {