Package com.centraview.email.emailList

Examples of com.centraview.email.emailList.EmailLocalHome.create()


    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)
    {
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)
    {
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)
    {
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
    }
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.