Package hirondelle.web4j.action

Examples of hirondelle.web4j.action.Action


    int numRecords = dao.delete(getLoggedInUserName(), getUserId(), predictionLists);
    fLogger.fine("Account deleted for user login name: " + getLoggedInUserName().getRawString() + ". This many rows deleted:" + numRecords);
   
    //interesting - log off by calling another action directly
    //BUT cannot use the response page of the other action
    Action logoff = new LogoffAction(getRequestParser());
    logoff.execute();
  }
View Full Code Here


 
   <P>Extract the <a href="#URIMappingString">URI Mapping String</a> from the underlying request, and
   map it to an {@link Action}.
  */
  @Override public final Action getWebAction() {
    Action result = null;
    AppException problem = new AppException();
    Class webAction = fUriToActionMapping.get(fURIMappingString);
    if ( webAction == null ) {
      throw new RuntimeException("Cannot map URI to an Action class : " + Util.quote(fURIMappingString));
    }
View Full Code Here

    addCurrentUriToRequest(aRequest, aResponse);
    RequestParser requestParser = RequestParser.getInstance(aRequest, aResponse);
    try {
      LoginTasksHelper loginHelper = new LoginTasksHelper();
      loginHelper.reactToNewLogins(aRequest);
      Action action = requestParser.getWebAction();
      ApplicationFirewall appFirewall = BuildImpl.forApplicationFirewall();
      appFirewall.doHardValidation(action, requestParser);
      logAttributesForAllScopes(aRequest);
      ensureDatabasesOk();
      ResponsePage responsePage = checkOwnershipThenExecuteAction(action, requestParser);
View Full Code Here

TOP

Related Classes of hirondelle.web4j.action.Action

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.