Package com.centraview.support.supportfacade

Examples of com.centraview.support.supportfacade.SupportFacadeHome.create()


      tVO.setPriorityId(Integer.parseInt((dynaForm.get("priority")).toString()));
      tVO.setCreatedBy(individualID);
      tVO.setOwner(individualID);
     
      SupportFacadeHome sfh = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = (SupportFacade) sfh.create();
      remote.setDataSource(dataSource);
     
      remote.addThread(individualID, tVO);
     
      String closeornew = (String) request.getParameter("closeornew");
View Full Code Here


  private void setSupportLists()
  {
    try {
      SupportFacadeHome cfh = (SupportFacadeHome)CVUtility.getHomeObject(
          "com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = cfh.create();
      remote.setDataSource(this.dataSource);
      supportStatusList = remote.getStatusList();
      supportPriorityList = remote.getPriorityList();
    } catch (Exception e) {
      logger.error("[setSupportLists] Exception thrown.", e);
View Full Code Here

      HttpSession session = request.getSession();
      UserObject userObject = (UserObject) session.getAttribute("userobject");
      int individualID = userObject.getIndividualID();

      SupportFacadeHome sfh = (SupportFacadeHome) CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = sfh.create();
      remote.setDataSource(dataSource);

      ThreadVO tVO = null;

      if (request.getParameter("rowId") != null) {
View Full Code Here

      tVO.setDetail((String)dynaForm.get("threaddetail"));
      tVO.setCreatedBy(individualId);
      tVO.setOwner(individualId);

      SupportFacadeHome sfh = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = (SupportFacade)sfh.create();
      remote.setDataSource(dataSource);

      remote.addThread(individualId, tVO);

      FORWARD_final = FORWARD_savenewthread;
View Full Code Here

    try {
      HttpSession session = request.getSession();
      int individualId = ((UserObject)session.getAttribute("userobject")).getIndividualID();

      SupportFacadeHome sfh = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = (SupportFacade)sfh.create();
      remote.setDataSource(dataSource);
      ThreadVO tVO = null;
     
      if (request.getParameter("rowId") != null) {
        tVO = remote.getThread(individualId, Integer.parseInt(request.getParameter("rowId")));
View Full Code Here

      if (request.getParameter("fileIds") != null) {
        fileIds = (String)request.getParameter("fileIds");
      }
     
      SupportFacadeHome supportFacade = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = (SupportFacade)supportFacade.create();
      remote.setDataSource(dataSource);

      // split string into array
      String[] fileIdArray = fileIds.split(",");
     
View Full Code Here

      // initialize file vo
      CategoryVO categoryVO = new CategoryVO();
      CategoryForm catForm = (CategoryForm)form;


      SupportFacade remote =(SupportFacade)supportFacade.create();

      // set the VO from form bean data
      // set the CategoryVO
      if((String)catForm.getCategoryname() != null)
        categoryVO.setTitle((String)catForm.getCategoryname());
View Full Code Here

      QuestionVO QVO = null;

      if (request.getParameter(Constants.TYPEOFOPERATION).equals(SupportConstantKeys.EDIT)) {
        SupportFacadeHome sfh = (SupportFacadeHome) CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome",
            "SupportFacade");
        SupportFacade remote = (SupportFacade) sfh.create();
        remote.setDataSource(dataSource);
        QVO = remote.getQuestion(individualID, Integer.parseInt(request.getParameter("rowId")));
        qForm.set("title", QVO.getQuestion());
        qForm.set("answer", QVO.getAnswer());
        qForm.set("faqid", new Integer(QVO.getFaqId()).toString());
View Full Code Here

        // the int representation for use in the code below
        kbID = formKbID.intValue();
      }
     
      SupportFacadeHome supportFacade = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade remote = (SupportFacade)supportFacade.create();
      remote.setDataSource(dataSource);

      KnowledgeVO kbVO = remote.getKB(individualID, kbID);
     
      kbForm.set("title", kbVO.getTitle());
View Full Code Here

      FaqVO faqDetail = remote.getFaq(individualID, faqID);

      faqForm.set("title", faqDetail.getTitle());
     
      SupportFacadeHome supFacade = (SupportFacadeHome)CVUtility.getHomeObject("com.centraview.support.supportfacade.SupportFacadeHome", "SupportFacade");
      SupportFacade supRemote = supFacade.create();
      supRemote.setDataSource(dataSource);
     
      QuestionList questionList = supRemote.getQuestionList(individualID, faqID);

      ArrayList qList = new ArrayList();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.