Package com.centraview.email.rules

Examples of com.centraview.email.rules.RulesManageLocalHome


    RuleDetails  ruleList = null;
    try
    {
      InitialContext ic = CVUtility.getInitialContext();
      RulesManageLocalHome home = (RulesManageLocalHome)ic.lookup("local/RulesManage");
      com.centraview.email.rules.RulesManageLocal local =  home.create();
      local.setDataSource(this.dataSource);
      ruleList = (RuleDetails)local.getRuleDetails( ruleid);
    }
    catch(Exception e)
    {
View Full Code Here


  {
      int result =0;
      try
      {
        InitialContext ic = CVUtility.getInitialContext();
        RulesManageLocalHome home = (RulesManageLocalHome)ic.lookup("local/RulesManage");
        RulesManageLocal local =  home.create();
        local.setDataSource(this.dataSource);
        result = local.getRuleId(accountid);
      }
      catch(Exception e)
      {
View Full Code Here

      try
      {

      //System.out.println("*** Try Block of Add Rule *** ");
        InitialContext ic = CVUtility.getInitialContext();
        RulesManageLocalHome home = (RulesManageLocalHome)ic.lookup("local/RulesManage");
        RulesManageLocal local =  home.create();
        local.setDataSource(this.dataSource);
        result = local.addRule(preference);
      }
      catch(Exception e)
      {
View Full Code Here

      int result =0;
      try
      {
      //System.out.println("*** Try Block of Edit Rule *** ");
        InitialContext ic = CVUtility.getInitialContext();
        RulesManageLocalHome home = (RulesManageLocalHome)ic.lookup("local/RulesManage");
        RulesManageLocal local =  home.create();
        local.setDataSource(this.dataSource);
        result = local.editRule(preference);
      }
      catch(Exception e)
      {
View Full Code Here

      int result =0;
      try
      {
      //System.out.println("*** Try Block of Delete Rule *** ");
        InitialContext ic = CVUtility.getInitialContext();
        RulesManageLocalHome home = (RulesManageLocalHome)ic.lookup("local/RulesManage");
        RulesManageLocal local =  home.create();
        local.setDataSource(this.dataSource);
        result = local.deleteRule(preference);
      }
    catch(CreateException ce)
    {
View Full Code Here

TOP

Related Classes of com.centraview.email.rules.RulesManageLocalHome

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.