Package com.centraview.support.helper

Examples of com.centraview.support.helper.SupportHelperHome.create()


    // schedule a job to check support email every x minutes
    int supportInterval = 0;
    try {
      SupportHelperHome supportHome = (SupportHelperHome)CVUtility.getHomeObject("com.centraview.support.helper.SupportHelperHome", "SupportHelper");
      SupportHelper supportRemote = supportHome.create();
      supportRemote.setDataSource(dataSource);
      supportInterval = supportRemote.getSupportEmailCheckInterval();
    } catch (Exception e) { }

    if (supportInterval > 0) {
View Full Code Here


     
      Vector supportMailIds = (Vector)appRemote.getSupportMailId();
     
      try {
        SupportHelperHome supportHome = (SupportHelperHome)CVUtility.getHomeObject("com.centraview.support.helper.SupportHelperHome", "SupportHelper");
        SupportHelper supportRemote = (SupportHelper)supportHome.create();
        supportRemote.setDataSource(dataSource);
        int supportInterval = supportRemote.getSupportEmailCheckInterval();
        dynaForm.set("emailCheckInterval", new Integer(supportInterval));
      } catch (Exception e) {
        dynaForm.set("emailCheckInterval", new Integer(0));
View Full Code Here

        // call EJB support helper to update DB
        SupportHelperHome supportHome = (SupportHelperHome)CVUtility.getHomeObject("com.centraview.support.helper.SupportHelperHome", "SupportHelper");
        try {
          // this updates the "supportEmailCheckInterval"
          // setting in the "systemsettings" table
          SupportHelper supportRemote = (SupportHelper)supportHome.create();
          supportRemote.setDataSource(dataSource);
          supportRemote.setSupportEmailCheckInterval(formInterval.intValue());
        } catch (Exception e) {
          // "Oh we're not gonna take it... No, we ain't gonna take it... Oh we're not gonna take it anymore..."
        }
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.