Package com.liferay.portlet

Examples of com.liferay.portlet.RenderRequestImpl


  }

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

    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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


    return companyId;
  }

  public static String getCompanyId(RenderRequest req) {
    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

  public static Locale getLocale(HttpServletRequest req) {
    return (Locale)req.getSession().getAttribute(Globals.LOCALE_KEY);
  }

  public static Locale getLocale(RenderRequest req) {
    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

    return getSelectedUser(reqImpl.getHttpServletRequest());
  }

  public static User getSelectedUser(RenderRequest req) {
    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

  }

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

    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

    return getUserId(reqImpl.getHttpServletRequest());
  }

  public static String getUserId(RenderRequest req) {
    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

    return getUserPassword(reqImpl.getHttpServletRequest());
  }

  public static String getUserPassword(RenderRequest req) {
    RenderRequestImpl reqImpl = (RenderRequestImpl)req;

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

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

    RenderRequestImpl reqImpl = (RenderRequestImpl)req;
    RenderResponseImpl resImpl = (RenderResponseImpl)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 {

    RenderRequestImpl reqImpl = (RenderRequestImpl)req;
    RenderResponseImpl resImpl = (RenderResponseImpl)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

   *
   */
  protected void _viewContentlets(RenderRequest req, User user) throws Exception {
   
    //GIT-2816
    RenderRequestImpl reqImpl = (RenderRequestImpl) req;
    HttpServletRequest httpReq = reqImpl.getHttpServletRequest();
    HttpSession ses = httpReq.getSession();
    ContentletAPI conAPI = APILocator.getContentletAPI();

    List<String> tempBinaryImageInodes = (List<String>) ses.getAttribute(Contentlet.TEMP_BINARY_IMAGE_INODES_LIST);   
    if(UtilMethods.isSet(tempBinaryImageInodes) && tempBinaryImageInodes.size() > 0){
View Full Code Here

TOP

Related Classes of com.liferay.portlet.RenderRequestImpl

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.