Examples of OLAPManagementService


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

Examples of com.narirelays.ems.services.OLAPManagementService

    }
  }

  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

Examples of com.narirelays.ems.services.OLAPManagementService

    }
  }

  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

Examples of com.narirelays.ems.services.OLAPManagementService

    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

Examples of com.narirelays.ems.services.OLAPManagementService

      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

Examples of com.narirelays.ems.services.OLAPManagementService

      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
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.