public ActionForward viewThesis( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { final String thesisIdString = request.getParameter("thesisID"); final Thesis thesis = FenixFramework.getDomainObject(thesisIdString); request.setAttribute("thesis", thesis); final ThesisPresentationState thesisPresentationState = ThesisPresentationState.getThesisPresentationState(thesis); ; request.setAttribute("thesisPresentationState", thesisPresentationState); return mapping.findForward("viewThesis"); }
public boolean isRejected() { return thesisPresentationState.isRejected(); }
public boolean isSubmitted() { return thesisPresentationState.isSubmitted(); }
public boolean isDraft() { return thesisPresentationState.isDraft(); }
public boolean isUnexisting() { return thesisPresentationState.isUnexisting(); }
public ThesisPresentationWrapper(final Thesis thesis) { this.thesis = thesis; this.thesisPresentationState = ThesisPresentationState.getThesisPresentationState(thesis); ; }
public boolean isUnknown() { return thesisPresentationState.isUnknown(); }
public boolean isEvaluated() { return thesisPresentationState.isEvaluated(); }
public boolean isConfirmed() { return thesisPresentationState.isConfirmed(); }
public boolean isApproved() { return thesisPresentationState.isApproved(); }