Package com.eforce.baby.auth.delegates

Examples of com.eforce.baby.auth.delegates.NotificationAdminBD


    HttpServletResponse response)
    throws IOException, ServletException {
    ActionForward actionFrwd = null;
    DynaActionForm dynaForm = (DynaActionForm) form;

    NotificationAdminBD bd =
      (NotificationAdminBD) BusinessDelegateFactory.getInstance().getDelegate(
        "com.eteam.ems.auth.delegates.NotificationAdminBD");

    // get dsName and dbType from the session - begin
    HttpSession session = request.getSession();
    SessionUserVO sessUser =
      (SessionUserVO) session.getAttribute(
        IConstants.SESSION_ATTR_USER_SESSION_INFO);
    String dsName = sessUser.getDsName();
    String dbType = sessUser.getDbType();
    NotificationAdminVO notVO = new NotificationAdminVO();

    /* Forward to the View Page  */
    try {
      notVO = bd.findGroup(dsName, dbType, request.getParameter("id"));
      BeanUtils.copyProperties(form, notVO);
    } catch (IllegalAccessException ex) {
      log.error("Error GroupAction:viewGroup()");
    } catch (InvocationTargetException ex) {
      log.error("Error GroupAction:viewGroup()");
View Full Code Here

TOP

Related Classes of com.eforce.baby.auth.delegates.NotificationAdminBD

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.