コード例 #1
0
 public Degree getDegreeAndSelectSite() {
   Degree degree = getDegreeCurricularPlan().getDegree();
   if (degree != null) {
     OldCmsSemanticURLHandler.selectSite(getRequest(), degree.getSite());
   }
   return degree;
 }
コード例 #2
0
ファイル: UnitSiteBoardsDA.java プロジェクト: afesteves/fenix
 protected void setUnitContext(HttpServletRequest request) {
   Unit unit = getUnit(request);
   if (unit != null) {
     request.setAttribute("unit", unit);
     request.setAttribute("site", unit.getSite());
     OldCmsSemanticURLHandler.selectSite(request, unit.getSite());
   }
 }
コード例 #3
0
 public DepartmentUnit getDepartmentAndSelectSite() {
   DepartmentUnit department = getDepartmentUnit();
   if (department == null) {
     department =
         FenixFramework.getDomainObject(getAndHoldStringParameter("selectedDepartmentUnitID"));
   }
   if (department != null) {
     OldCmsSemanticURLHandler.selectSite(getRequest(), department.getSite());
   }
   return department;
 }