Package com.liferay.portlet

Examples of com.liferay.portlet.ActionRequestImpl


    throws Exception {

    try {

            // Getting the http request
            ActionRequestImpl reqImpl = (ActionRequestImpl) req;
            HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

      User user = PortalUtil.getSelectedUser(req);

      UserManagerUtil.deleteUser(user.getUserId());
View Full Code Here


  }

  public void process(ActionRequest req, ActionResponse res, String path)
    throws IOException, ServletException {

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

    HttpServletRequest httpReq = reqImpl.getHttpServletRequest();
    HttpServletResponse httpRes = resImpl.getHttpServletResponse();

    ActionMapping mapping = processMapping(httpReq, httpRes, path);
    if (mapping == null) {
      return;
View Full Code Here

  private void _addVote(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String questionId = ParamUtil.getString(req, "question_id");
    String choiceId = ParamUtil.getString(req, "choice_id");

    PollsQuestionManagerUtil.vote(questionId, choiceId);
View Full Code Here

  private void _updateComments(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String comments = ParamUtil.getString(req, "comments");

    User user = PortalUtil.getSelectedUser(req);
View Full Code Here

  private void _updateFavorites(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String activity = ParamUtil.getString(req, "favorite_activity");
    String bibleVerse = ParamUtil.getString(req, "favorite_bible_verse");
    String food = ParamUtil.getString(req, "favorite_food");
    String movie = ParamUtil.getString(req, "favorite_movie");
View Full Code Here

  private void _updateIm(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String aimId = ParamUtil.getString(req, "aim_id");
    String icqId = ParamUtil.getString(req, "icq_id");
    String msnId = ParamUtil.getString(req, "msn_id");
    String ymId = ParamUtil.getString(req, "ym_id");
View Full Code Here

  }
  private void _updateLocale(ActionRequest req, ActionResponse res)
  throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

  String language = ParamUtil.getString(req, "user_language_id");
  String timezone = ParamUtil.getString(req, "user_tz_id");

  User user = PortalUtil.getSelectedUser(req);
View Full Code Here

  private void _updateMain(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String firstName = ParamUtil.getString(req, "first_name");
    String middleName = ParamUtil.getString(req, "middle_name");
    String lastName = ParamUtil.getString(req, "last_name");
    String nickName = ParamUtil.getString(req, "nick_name");
View Full Code Here

  private void _updatePassword(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    PortletSession ses = req.getPortletSession();

    String password1 = ParamUtil.getString(req, "password_1");
    String password2 = ParamUtil.getString(req, "password_2");
View Full Code Here

  private void _updateSms(ActionRequest req, ActionResponse res)
    throws Exception {

        // Getting the http request
        ActionRequestImpl reqImpl = (ActionRequestImpl) req;
        HttpServletRequest httpReq = reqImpl.getHttpServletRequest();

    String smsId = ParamUtil.getString(req, "sms_id");

    User user = PortalUtil.getSelectedUser(req);
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.