Package com.liferay.portlet

Examples of com.liferay.portlet.ActionRequestImpl


  }

  public static Company getCompany(ActionRequest req)
    throws PortalException, SystemException {

    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getCompany(reqImpl.getHttpServletRequest());
  }
View Full Code Here


    return companyId;
  }

  public static String getCompanyId(ActionRequest req) {
    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getCompanyId(reqImpl.getHttpServletRequest());
  }
View Full Code Here

    return user;
  }

  public static User getSelectedUser(ActionRequest req) {
    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getSelectedUser(reqImpl.getHttpServletRequest());
  }
View Full Code Here

  }

  public static UploadPortletRequest getUploadPortletRequest(
    ActionRequest req) {

    ActionRequestImpl actionReq = (ActionRequestImpl)req;
    DynamicServletRequest dynamicReq =
      (DynamicServletRequest)actionReq.getHttpServletRequest();
    UploadServletRequest uploadReq =
      (UploadServletRequest)dynamicReq.getRequest();

    return new UploadPortletRequest(
      uploadReq, getPortletNamespace(actionReq.getPortletName()));
  }
View Full Code Here

  }

  public static User getUser(ActionRequest req)
    throws PortalException, SystemException {

    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getUser(reqImpl.getHttpServletRequest());
  }
View Full Code Here

  public static String getUserId(HttpServletRequest req) {
    return getUserId(req.getSession(false));
  }

  public static String getUserId(ActionRequest req) {
    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getUserId(reqImpl.getHttpServletRequest());
  }
View Full Code Here

  public static String getUserPassword(HttpServletRequest req) {
    return (String)req.getSession().getAttribute(WebKeys.USER_PASSWORD);
  }

  public static String getUserPassword(ActionRequest req) {
    ActionRequestImpl reqImpl = (ActionRequestImpl)req;

    return getUserPassword(reqImpl.getHttpServletRequest());
  }
View Full Code Here

  public static User updateUser(
      ActionRequest req, ActionResponse res, String userId,
      String password1, String password2, boolean passwordReset)
    throws PortalException, SystemException {

    ActionRequestImpl reqImpl = (ActionRequestImpl)req;
    ActionResponseImpl resImpl = (ActionResponseImpl)res;

    return updateUser(
      reqImpl.getHttpServletRequest(), resImpl.getHttpServletResponse(),
      userId, password1,  password2, passwordReset);
  }
View Full Code Here

      String languageId, String timeZoneId, String skinId,
      boolean dottedSkins, boolean roundedSkins, String greeting,
      String resolution, String refreshRate, String comments)
    throws PortalException, SystemException {

    ActionRequestImpl reqImpl = (ActionRequestImpl)req;
    ActionResponseImpl resImpl = (ActionResponseImpl)res;

    return updateUser(
      reqImpl.getHttpServletRequest(), resImpl.getHttpServletResponse(),
      userId, firstName, middleName, lastName, nickName, male, birthday,
      emailAddress, smsId, aimId, icqId, msnId, ymId, favoriteActivity,
      favoriteBibleVerse, favoriteFood, favoriteMovie, favoriteMusic,
      languageId, timeZoneId, skinId, dottedSkins, roundedSkins, greeting,
      resolution, refreshRate, comments);
View Full Code Here

      Logger.debug(this, "Calling Retrieve method");
      _retrieveWebAsset(req, res, config, form, user, HTMLPage.class, WebKeys.HTMLPAGE_EDIT);

      // wraps request to get session object
      ActionRequestImpl reqImpl = (ActionRequestImpl) req;
      HttpServletRequest hreq = reqImpl.getHttpServletRequest();

      // gets the session object for the messages
      HttpSession session = hreq.getSession();

      session.setAttribute(com.dotmarketing.util.WebKeys.EDIT_MODE_SESSION, "true");
View Full Code Here

TOP

Related Classes of com.liferay.portlet.ActionRequestImpl

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.