org.struts.velocity.demo.login
Class LogonAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.strutsit.architecture.struts.StrutsitActionBase
          extended byorg.struts.velocity.demo.login.LogonAction
All Implemented Interfaces:
org.strutsit.architecture.struts.StrutsitAction

public class LogonAction
extends org.strutsit.architecture.struts.StrutsitActionBase
implements org.strutsit.architecture.struts.StrutsitAction

Demonstrates:

Since:
JDK 1.4
Version:
$Revision: 1.11 $
Author:
Manfred Wolff

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LogonAction()
           
 
Method Summary
 boolean execute(org.strutsit.architecture.context.StrutsitContext context)
          Execute-Methods for Struts-It Actions.
 java.lang.String getUseCase()
          Gets the corresponded use case for this action.
 
Methods inherited from class org.strutsit.architecture.struts.StrutsitActionBase
getService, getService, setFailure, setInput, setSucceeded
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogonAction

public LogonAction()
Method Detail

execute

public boolean execute(org.strutsit.architecture.context.StrutsitContext context)
                throws java.lang.Exception
Execute-Methods for Struts-It Actions.

Specified by:
execute in interface org.strutsit.architecture.struts.StrutsitAction
Parameters:
context - The Context for this usecase
Returns:
true, if the request is fulfilled. In this case the context has to return the next step. False, if the request is not fulfilled yet.
Throws:
java.lang.Exception

getUseCase

public java.lang.String getUseCase()
Gets the corresponded use case for this action.

Specified by:
getUseCase in interface org.strutsit.architecture.struts.StrutsitAction
Returns:


Copyright © 2005 Struts-it comunity. All Rights Reserved.