Package com.eforce.baby.auth.vo

Examples of com.eforce.baby.auth.vo.SessionUserVO


      (GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
        "com.eteam.ems.auth.delegates.GroupBD");

    // 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();
    GroupVO groupVO = new GroupVO();

    /* Forward to the View Page  */
    try {
      groupVO = bd.findGroup(dsName, dbType, request.getParameter(IConstants.REQ_PARAM_ID));
View Full Code Here


      (GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
        "com.eteam.ems.auth.delegates.GroupBD");

    // 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();
    // get dsName and dbType from the session - end
    GroupVO groupVO = new GroupVO();

    try {
      groupVO =
View Full Code Here

    } catch (InvocationTargetException ex) {
      log.error("Error GroupAction:viewGroup()");
    }

    HttpSession session = request.getSession();
    SessionUserVO sessUser =
      (SessionUserVO) session.getAttribute(
        IConstants.SESSION_ATTR_USER_SESSION_INFO);
    String dsName = sessUser.getDsName();
    String dbType = sessUser.getDbType();

    GroupBD groupbd =
      (GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
        "com.eteam.ems.auth.delegates.GroupBD");
View Full Code Here

    try {
      GroupBD bd =
        (GroupBD) BusinessDelegateFactory.getInstance().getDelegate(
          "com.eteam.ems.auth.delegates.GroupBD");
      HttpSession session = request.getSession();
      SessionUserVO sessUser =
        (SessionUserVO) session.getAttribute(
          IConstants.SESSION_ATTR_USER_SESSION_INFO);
      String dsName = sessUser.getDsName();
      String dbType = sessUser.getDbType();

      bd.delete(dsName, dbType, request.getParameter("id"));

      actionFrwd = mapping.findForward(request.getParameter("target"));
    } catch(DAOException e){
View Full Code Here

          "com.eteam.ems.auth.delegates.DistributionGroupBD");

      log.debug("BD got, calling create distribution group");

      HttpSession session = request.getSession();
      SessionUserVO sessUser =
        (SessionUserVO) session.getAttribute(
          IConstants.SESSION_ATTR_USER_SESSION_INFO);
      String dsName = sessUser.getDsName();
      String dbType = sessUser.getDbType();

      bd.createDistGroup(dsName, dbType, distGroupVO);
      log.debug("Distribution Group Created Successfully !!!");

      request.setAttribute(
View Full Code Here

        .getInstance()
        .getDelegate(
        "com.eteam.ems.auth.delegates.DistributionGroupBD");
    log.debug("calling findDistGroup");
    HttpSession session = request.getSession();
    SessionUserVO sessUser =
      (SessionUserVO) session.getAttribute(
        IConstants.SESSION_ATTR_USER_SESSION_INFO);
    String dsName = sessUser.getDsName();
    String dbType = sessUser.getDbType();
    DistributionGroupVO distGroupVO = new DistributionGroupVO();
    try {
      distGroupVO =
        bd.getDistGroup(dsName, dbType, request.getParameter("id"));
    } catch(DAOException e){
View Full Code Here

        .getInstance()
        .getDelegate(
        "com.eteam.ems.auth.delegates.DistributionGroupBD");
    log.debug("calling findDistGroup");
    HttpSession session = request.getSession();
    SessionUserVO sessUser =
      (SessionUserVO) session.getAttribute(
        IConstants.SESSION_ATTR_USER_SESSION_INFO);
    String dsName = sessUser.getDsName();
    String dbType = sessUser.getDbType();
    DistributionGroupVO distGroupVO = new DistributionGroupVO();
    try {
      distGroupVO =
        bd.getDistGroup(dsName, dbType, request.getParameter("id"));
    } catch(DAOException e){
View Full Code Here

          .getDelegate(
          "com.eteam.ems.auth.delegates.DistributionGroupBD");
      log.debug("BD got, calling updateDistGroup");

      HttpSession session = request.getSession();
      SessionUserVO sessUser =
        (SessionUserVO) session.getAttribute(
          IConstants.SESSION_ATTR_USER_SESSION_INFO);
      String dsName = sessUser.getDsName();
      String dbType = sessUser.getDbType();

      bd.updateDistGroup(dsName, dbType, distGroupVO);
      log.debug("distGroup Updated Successfully !!!");

      request.setAttribute(
View Full Code Here

      (DistributionGroupBD) BusinessDelegateFactory
        .getInstance()
        .getDelegate(
        IConstants.CLASS_DIST_GROUP_BD);
    HttpSession session = request.getSession();
    SessionUserVO sessUser =
      (SessionUserVO) session.getAttribute(
        IConstants.SESSION_ATTR_USER_SESSION_INFO);
    ArrayList list = null;
    try {
      list =
        bd.findGroupsForDistribution(
          sessUser.getDsName(),
          sessUser.getDbType());
    } catch (BusinessException be) {
      // If some business error occured, will return to the input page
      ActionMessage message = new ActionMessage(be.getMessageKey());
      ActionMessages messages = new ActionMessages();
      messages.add(IConstants.PAGE_ERROR_MSG_ERROR_MESSAGE, message);
View Full Code Here

        (DistributionGroupBD) BusinessDelegateFactory
          .getInstance()
          .getDelegate(
          "com.eteam.ems.auth.delegates.DistributionGroupBD");
      HttpSession session = request.getSession();
      SessionUserVO sessUser =
        (SessionUserVO) session.getAttribute(
          IConstants.SESSION_ATTR_USER_SESSION_INFO);
      String dsName = sessUser.getDsName();
      String dbType = sessUser.getDbType();

      bd.delete(dsName, dbType, request.getParameter("id"));

      actionFrwd = mapping.findForward(request.getParameter("target"));
    } catch (BusinessException be) {
View Full Code Here

TOP

Related Classes of com.eforce.baby.auth.vo.SessionUserVO

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.