Package de.iritgo.aktera.event

Examples of de.iritgo.aktera.event.EventManager


    {
      preferencesManager.clearCache(UserTools.getCurrentUserId(request));
      UserTools.setUserEnvObject(request, "sessionInfoLoaded", "N");
    }

    EventManager em = (EventManager) (EventManager) SpringTools.getBean(EventManager.ID);
    Properties props = new Properties();

    props.put("id", persistents.getPersistent("sysUser").getFieldInt("uid"));
    props.put("name", persistents.getPersistent("sysUser").getFieldString("name"));
    em.fire("aktera.user.updated", request, log, props);
  }
View Full Code Here


    updateUserPersistents(request, formular, persistents, modified);

    FormTools.storeInputValuesToPropertyTable(request, formular, persistents, "aktera.PreferencesConfig", "gui",
            new Integer(persistents.getPersistent("sysUser").getFieldInt("uid")));

    EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
    Properties props = new Properties();

    props.put("id", persistents.getPersistent("sysUser").getFieldInt("uid"));
    props.put("name", persistents.getPersistent("sysUser").getFieldString("name"));
    em.fire("aktera.user.updated", request, log, props);
  }
View Full Code Here

    int res = createUserPersistents(request, formular, persistents);

    FormTools.storeInputValuesToPropertyTable(request, formular, persistents, "aktera.PreferencesConfig", "gui",
            new Integer(persistents.getPersistent("sysUser").getFieldInt("uid")));

    EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
    Properties props = new Properties();

    props.put("id", persistents.getPersistent("sysUser").getFieldInt("uid"));
    props.put("name", persistents.getPersistent("sysUser").getFieldString("name"));
    em.fire("aktera.user.created", request, log, props);

    return res;
  }
View Full Code Here

    int userId = persistent.getFieldInt("uid");
    if (userId != - 1 && userId != 0 && userId != 1 && userId != 2)
    {
      String userName = persistent.getFieldString("name");

      EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
      Properties props = new Properties();

      props.put("id", userId);
      props.put("name", userName);
      em.fire("aktera.user.delete", request, log, props);

      deleteUserPersistent(request, response, persistent, systemDelete);

      props = new Properties();
      props.put("id", userId);
      props.put("name", userName);
      em.fire("aktera.user.deleted", request, log, props);
    }
  }
View Full Code Here

    finally
    {
      DbUtils.closeQuietly(connection);
    }

    EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
    Properties props = new Properties();

    props.put("request", request);
    props.put("datasource", dataSourceComponent);
    em.fire("aktera.database.update.pre", request, props);
  }
View Full Code Here

    em.fire("aktera.database.update.pre", request, props);
  }

  private static void updatePostProcessing(ModelRequest request, DataSourceComponent dataSourceComponent)
  {
    EventManager em = (EventManager) SpringTools.getBean(EventManager.ID);
    Properties props = new Properties();

    props.put("request", request);
    props.put("datasource", dataSourceComponent);
    em.fire("aktera.database.update.post", request, props);
  }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.event.EventManager

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.