Package com.centraview.contact.contactlist

Examples of com.centraview.contact.contactlist.ContactListLocalHome


  {
    AddressList  addressList = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      // TODO userId HARDCODED
      addressList = remote.getAddressList(1, contactId,contactType);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getAllAddresses] Exception Thrown: "+e);
View Full Code Here


  {
    MOCList  ml = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(dataSource);
      ml = remote.getMOCList(1, contactId,contactType);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getAllMOC] Exception Thrown: "+e);
      //e.printStackTrace();
View Full Code Here

  {
    EntityList  entityList = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      entityList = (EntityList)remote.getAllEntityList( userId,  preference);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getAllEntityList] Exception Thrown: "+e);
      //e.printStackTrace();
View Full Code Here

    IndividualList  individualList = null;

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      individualList = (IndividualList)remote.getAllIndividualList(userID, preference);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB] Exception thrown in getAllIndividualList(): " + e);
    }
View Full Code Here

    IndividualList  individualList = null;

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      individualList = (IndividualList)remote.getAllIndividualAndEntityEmailList(userID, preference);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB] Exception thrown in getAllIndividualAndEntityEmailList(): " + e);
    }
View Full Code Here

      hm.put("sortColumn","Name");
      hm.put("sortDirection","A");
      hm.put("dbID", new Integer(0));
      hm.put("ADVANCESEARCHSTRING", "ADVANCE:SELECT IndividualID FROM individual WHERE entity=1");

      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      employeeList = remote.getAccessIndividualList(individualID, hm);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB] Exception thrown in getAllIndividualList(): " + e);
      //e.printStackTrace();
View Full Code Here

      hm.put("sortColumn","Name");
      hm.put("sortDirection","A");
      hm.put("dbID", new Integer(0));
      hm.put("ADVANCESEARCHSTRING", "ADVANCE:SELECT IndividualID FROM user WHERE usertype != 'CUSTOMER'");

      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      employeeList = remote.getAccessIndividualList(individualID, hm);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB] Exception thrown in getAllIndividualList(): " + e);
      //e.printStackTrace();
View Full Code Here

  {
    GroupList  groupList = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      groupList = (GroupList)remote.getAllGroupList( userId,  preference);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB] Exception thrown in getAllGroupList(): " + e);
      //e.printStackTrace();
View Full Code Here

    Vector vecDB = new Vector();

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactListLocalHome home = (ContactListLocalHome)ic.lookup("local/ContactList");
      ContactListLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      vecDB = (Vector)remote.getDBList(userId);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getDBList] Exception Thrown: "+e);
      //e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.centraview.contact.contactlist.ContactListLocalHome

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.