Package com.centraview.contact.helper

Examples of com.centraview.contact.helper.ContactHelperLocal


    Vector col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      col = remote.getUsers();
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getUsers] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return col;
View Full Code Here


    Vector col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      col = remote.getGroups();
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getGroups] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return col;
View Full Code Here

    Vector col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      col = remote.getMOCType();
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getMOCType] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return col;
View Full Code Here

    Vector col = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      col = remote.getSyncAs();
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getSyncAs] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return col;
View Full Code Here

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      // Transaction not required cause even if adding member fails its ok.
      avo  = remote.getAddress(addressId);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getAddress] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return avo;
View Full Code Here

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      // Transaction not required cause even if adding member fails its ok.
      avo  = remote.getRelatedAddress(addressId, contactType, contactID);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getAddress] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return avo;
View Full Code Here

    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      // Transaction not required cause even if adding member fails its ok.
      mvo  = remote.getMoc(mocId);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getMOC] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return mvo;
View Full Code Here

    int entityID = 0;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
        ContactHelperLocal remote =  home.create();
        remote.setDataSource(this.dataSource);
        entityID  = remote.getEntityIDForIndividual(individualID);
    }catch(Exception e){
        System.out.println("[Exception][ContactFacadeEJB.getEntityIDForIndividual] Exception Thrown: "+e);
        //e.printStackTrace();
    }
    return entityID;
View Full Code Here

    boolean isUser = false;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      isUser  = remote.isIndividualAUser(individualID);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getEntityIDForIndividual] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return isUser;
View Full Code Here

    String emailAddress = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      emailAddress  = remote.getPrimaryEmailAddress(contactID,contactType);
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.getPrimaryEmailAddress] Exception Thrown: "+e);
      //e.printStackTrace();
    }
    return emailAddress;
View Full Code Here

TOP

Related Classes of com.centraview.contact.helper.ContactHelperLocal

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.