Examples of KpiError


Examples of it.eng.spagobi.kpi.config.bo.KpiError

   * @return
   * @throws EMFUserError
   */
  public KpiError loadKpiErrorById(Integer id) throws EMFUserError {
    logger.debug("IN");
    KpiError kpiError = null;
    Session session = getSession();
    Transaction tx = null;
    try {
      tx = session.beginTransaction();
      SbiKpiError sbiKpiError = (SbiKpiError)session.get(SbiKpiError.class, id);
View Full Code Here

Examples of it.eng.spagobi.kpi.config.bo.KpiError



  public KpiError toKpiError(SbiKpiError sbiKpiError){
    logger.debug("IN");
    KpiError toReturn=new KpiError();

    toReturn.setKpiErrorId(sbiKpiError.getKpiErrorId());
    toReturn.setUserMessage(sbiKpiError.getUserMessage());
    toReturn.setLabelModInst(sbiKpiError.getLabelModInst());
    toReturn.setParameters(sbiKpiError.getParameters());
    toReturn.setTsDate(sbiKpiError.getTsDate());
    toReturn.setFullMessage(sbiKpiError.getFullMessage());

    if(sbiKpiError.getSbiKpiModelInst() != null)
      toReturn.setKpiModelInstId(sbiKpiError.getSbiKpiModelInst().getKpiModelInst());

    logger.debug("OUT");
    return toReturn;
  }
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.