Package org.sete.service.project

Examples of org.sete.service.project.ScienceProjectCategoryService


      HttpServletRequest request, HttpServletResponse response)
      throws Exception {

    checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));

        ScienceProjectCategoryService service = getService(ScienceProjectCategoryService.class);

        CreateScienceProjectCategoryVo cspcvo = new CreateScienceProjectCategoryVo();
        BeanUtils.copyProperties(cspcvo, form);
               
        service.createNewScienceProjectCategory(cspcvo);
        TypeLoader.initializeSystemTypes(super.getServletContext());

        return mapping.findForward("view");
  }
View Full Code Here


      HttpServletRequest request, HttpServletResponse response)
      throws Exception {

      checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));
      ScienceProjectCategoryType spcType = TypeUtil.forKey(ScienceProjectCategoryType.class, request.getParameter("key"));      
          ScienceProjectCategoryService service = getService(ScienceProjectCategoryService.class);
          service.deleteScienceProjectCategory(spcType);
          TypeLoader.initializeSystemTypes(super.getServletContext());
          
            return mapping.findForward("view");
  }
View Full Code Here

      ActionForm form, HttpServletRequest request,
      HttpServletResponse response) throws Exception {

    checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));
   
    ScienceProjectCategoryService service = getService(ScienceProjectCategoryService.class);

        EditScienceProjectCategoryVo espcvo = new EditScienceProjectCategoryVo();
        BeanUtils.copyProperties(espcvo, form);
       
        System.out.println("***** action: form name = " + espcvo.getProjectCategoryName()) ;
        System.out.println("***** action: form desc = " + espcvo.getProjectCategoryDescription()) ;
       
        service.editScienceProjectCategory(espcvo);
        TypeLoader.initializeSystemTypes(super.getServletContext());   
        return mapping.findForward("view");
  }
View Full Code Here

TOP

Related Classes of org.sete.service.project.ScienceProjectCategoryService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.