Package com.centraview.contact.contactfacade

Examples of com.centraview.contact.contactfacade.ContactFacadeHome


      DynaActionForm dynaForm = (DynaActionForm)form;
      HttpSession session = request.getSession(true);
      ModuleFieldRightMatrix mfrmx = ((UserObject)session.getAttribute("userobject")).getUserPref().getModuleAuthorizationMatrix();
      HashMap individualFieldRights = mfrmx.getFieldRights("Individual");

      ContactFacadeHome aa = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = (ContactFacade)aa.create();
      // here is hoping that the individualVOX is used only from the struts layer.
      remote.setDataSource(dataSource);

      Integer individualIdForm = (null == dynaForm.get("individualId")) ? new Integer(-1) : (Integer)dynaForm.get("individualId");
      int individualId = individualIdForm.intValue();
View Full Code Here


      HttpSession session = request.getSession(true);
      UserObject userobject = (UserObject)session.getAttribute("userobject");
      ModuleFieldRightMatrix mfrmx = ((UserObject)session.getAttribute("userobject")).getUserPref().getModuleAuthorizationMatrix();
      HashMap groupFieldRights = mfrmx.getFieldRights("Group");
      int individualId = userobject.getIndividualID();
      ContactFacadeHome aa = (ContactFacadeHome)CVUtility.getHomeObject("com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = (ContactFacade)aa.create();
      int groupId = 0;
      if (dynaForm.get("groupid") != null) {
        groupId = Integer.parseInt((String)dynaForm.get("groupid"));
        this.setGroupID(groupId);
      }
View Full Code Here

TOP

Related Classes of com.centraview.contact.contactfacade.ContactFacadeHome

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.