org.nuiton.wikitty.publication.ui.action
Class PublicationActionLogin

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.nuiton.web.struts2.BaseAction
          extended by org.nuiton.wikitty.publication.ui.action.PublicationBaseAction
              extended by org.nuiton.wikitty.publication.ui.action.PublicationActionLogin
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware

public class PublicationActionLogin
extends PublicationBaseAction

Class used as an action login, call the login method on the proxy with login/password pass threw the login form

Author:
mfortun
See Also:
Serialized Form

Field Summary
protected  String error
           
protected  String login
           
protected  String password
           
protected  String success
           
 
Fields inherited from class org.nuiton.wikitty.publication.ui.action.PublicationBaseAction
ARG_CONTENT_FIELD, ARG_MIMETYPE, ARG_QUERY, ARGS_KEY, CONTEXT_ACTION_KEY, CONTEXT_APPS_KEY, CONTEXT_DATA_KEY, contextApps, contextData, SEARCH_SEPARATOR, SEPARATOR, session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PublicationActionLogin()
           
 
Method Summary
 String execute()
          Method executed when struts invoke it and the struts action mapped to this class
static PublicationActionLogin getAction()
           
 String getError()
           
 String getLogin()
           
 String getPassword()
           
 String getSuccess()
           
 void setError(String error)
           
 void setLogin(String login)
           
 void setPassword(String password)
           
 void setSuccess(String success)
           
 
Methods inherited from class org.nuiton.wikitty.publication.ui.action.PublicationBaseAction
getArgs, getArgument, getContextApps, getContextArgs, getContextData, getError, getWikittyPublicationProxy, getWikittyPublicationSession, searchCriteria, setContextApps, setContextData, setSession
 
Methods inherited from class org.nuiton.web.struts2.BaseAction
_, _
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

login

protected String login

password

protected String password

error

protected String error

success

protected String success
Constructor Detail

PublicationActionLogin

public PublicationActionLogin()
Method Detail

getAction

public static PublicationActionLogin getAction()

getLogin

public String getLogin()

setLogin

public void setLogin(String login)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getError

public String getError()

setError

public void setError(String error)

getSuccess

public String getSuccess()

setSuccess

public void setSuccess(String success)

execute

public String execute()
Method executed when struts invoke it and the struts action mapped to this class

Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport


Copyright © 2010-2011 CodeLutin. All Rights Reserved.