Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.OLAPManagementService


    if(dataImporter4PCS9000ManagementService==null){
      log.error("DataImporter4PCS9000ManagementService is null");
    }else{
      OperResult result = dataImporter4PCS9000ManagementService.importPCS9000Data(WebVariable.measureDF.format(new Date()));
      if(result.isSUCCEED()){
        OLAPManagementService oLAPManagementService = (OLAPManagementService)StorageService.ctx.getBean("oLAPManagementService");
        if(oLAPManagementService!=null){
          result = oLAPManagementService.maintainCube(true,"ems");
        }
      }
    }
  }
View Full Code Here


    }
  }

  public static void cacheOLAP_TIME_TREE() {
    if (CacheProvider.cacheValid) {
      OLAPManagementService oLAPManagementService = (OLAPManagementService) StorageService.ctx
          .getBean("oLAPManagementService");
      if (oLAPManagementService != null) {
        OperResult resultInfo = oLAPManagementService.queryAllTime();
        if (resultInfo.isSUCCEED()) {

          CacheProvider.setObject(OLAP_TIME_TREE, resultInfo);
        }
      }
View Full Code Here

    }
  }

  public static void OLAP_MEASURE_LIST() {
    if (CacheProvider.cacheValid) {
      OLAPManagementService oLAPManagementService = (OLAPManagementService) StorageService.ctx
      .getBean("oLAPManagementService");
      if (oLAPManagementService != null) {
        OperResult resultInfo = oLAPManagementService
            .queryAllMeasures();
        if (resultInfo.isSUCCEED()) {
          CacheProvider.setObject(OLAP_MEASURE_LIST, resultInfo);
        }
      }
View Full Code Here

    String isFullS=request.getParameter("isFull");
    boolean isFull = false;
    if("y".equalsIgnoreCase(isFullS)||"yes".equalsIgnoreCase(isFullS)||"true".equalsIgnoreCase(isFullS)){
      isFull = true;
    }
    OLAPManagementService oLAPManagementService = (OLAPManagementService)StorageService.ctx.getBean("oLAPManagementService");
    if(oLAPManagementService!=null){
      resultInfo = oLAPManagementService.maintainDataBase(isFull);
    }
    return SUCCESS;

  }
View Full Code Here

      if(obj!=null){
        resultInfo = (OperResult)obj;
        return SUCCESS;
      }
    }
    OLAPManagementService oLAPManagementService = (OLAPManagementService) StorageService.ctx
    .getBean("oLAPManagementService");
    if (oLAPManagementService != null) {
      resultInfo = oLAPManagementService.queryAllTime();
      if(resultInfo.isSUCCEED()){
        if(CacheProvider.cacheValid){
          CacheProvider.setObject(OLAP_TIME_TREE, resultInfo);
        }
        return SUCCESS;
View Full Code Here

      if(obj!=null){
        resultInfo = (OperResult)obj;
        return SUCCESS;
      }
    }
    OLAPManagementService oLAPManagementService = (OLAPManagementService) StorageService.ctx
    .getBean("oLAPManagementService");
    if (oLAPManagementService != null) {
      resultInfo = oLAPManagementService.queryAllMeasures();
      if(resultInfo.isSUCCEED()){
        if(CacheProvider.cacheValid){
          CacheProvider.setObject(OLAP_MEASURE_LIST, resultInfo);
        }
        return SUCCESS;
View Full Code Here

TOP

Related Classes of com.narirelays.ems.services.OLAPManagementService

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.