Package it.eng.spagobi.events.dao

Examples of it.eng.spagobi.events.dao.EventLogDAOHibImpl


    if(instance == null) instance = new EventsManager();
    return instance;
  }
   
  private EventsManager(){
    eventLogDAO = new EventLogDAOHibImpl();
   
  }
View Full Code Here


  }
 
  private void getDetailEventLog(String idStr, SourceBean response) throws EMFUserError {
    try {
      Integer id = new Integer(idStr);
      EventLogDAOHibImpl eventLogDAO = new EventLogDAOHibImpl();
      EventLog event = eventLogDAO.loadEventLogById(id);
      if (event == null) {
        HashMap params = new HashMap();
        params.put(AdmintoolsConstants.PAGE, "EVENTS_MONITOR_PAGE");
        params.put("REFRESH", "TRUE");
        params.put(LightNavigationManager.LIGHT_NAVIGATOR_BACK_TO, "1");
View Full Code Here

    }
  }
 
  private void delDetailEventLog(String idStr, SourceBean response) throws EMFUserError, SourceBeanException  {
    try {
      EventLogDAOHibImpl eventLogDAO = new EventLogDAOHibImpl();
      Integer id = new Integer(idStr);
      EventLog eventLog = new EventLog();
      eventLog.setId(id);
      eventLogDAO.eraseEventLog(eventLog);
    } catch (EMFUserError e){
      HashMap params = new HashMap();
      params.put(AdmintoolsConstants.PAGE, "EVENTS_MONITOR_PAGE");
      params.put("REFRESH", "TRUE");
      throw new EMFUserError(EMFErrorSeverity.ERROR, 1066, new Vector(), params);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.events.dao.EventLogDAOHibImpl

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.