Package com.centraview.email.emailList

Examples of com.centraview.email.emailList.EmailLocal


    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmailLocalHome home = (EmailLocalHome)ic.lookup("local/EmailList");
      EmailLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      emailList = (EmailList)remote.getEmailList(individualID, info);
    }catch(Exception e){
      System.out.println("[Exception][EmailFacadeBean.getEmailList] Exception Thrown: "+e);
      e.printStackTrace();
    }
View Full Code Here


    RuleList  rulelist = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmailLocalHome home = (EmailLocalHome)ic.lookup("local/EmailList");
      EmailLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      rulelist = (RuleList)remote.getRuleList(userId , preference );
    }
    catch(Exception e)
    {
      System.out.println("[Exception][EmailFacadeBean.getRuleList] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here

    int status = 0 ;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmailLocalHome home = (EmailLocalHome)ic.lookup("local/EmailList");
      EmailLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      status = remote.deleteRule( userid , elementid );
    }
    catch(CreateException ce)
    {
      throw new EJBException(ce);
    }catch(NamingException ce)
View Full Code Here

    int flag = 0 ;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmailLocalHome home = (EmailLocalHome)ic.lookup("local/EmailList");
      EmailLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      flag = remote.enableordisableRuleuserid , elementid , status  );
    }
    catch(Exception e)
    {
      System.out.println("[Exception][EmailFacadeBean.enableordisableRule] Exception Thrown: "+e);
      e.printStackTrace();
View Full Code Here

    EmailList emailList = new EmailList();
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      EmailLocalHome home = (EmailLocalHome)ic.lookup("local/EmailList");
      EmailLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      emailList = (EmailList)remote.getRelatedEmailList(searchCondition, individualID);
    }catch(Exception e){
      e.printStackTrace();    // TODO: remove stacktrace
    }
    return(emailList);
  }   // end getRelatedEmailList() method
View Full Code Here

TOP

Related Classes of com.centraview.email.emailList.EmailLocal

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.