org.nuiton.wikitty.struts
Class AbstractWikittyEditAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.nuiton.wikitty.struts.AbstractWikittyEditAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public abstract class AbstractWikittyEditAction
extends com.opensymphony.xwork2.ActionSupport

See Also:
Serialized Form

Field Summary
static String PREFIX_WIKITTY
           
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractWikittyEditAction()
           
 
Method Summary
 String execute()
          rajouter les attributs par défaut id tout ça et ensuite on rajoute les méthodes de parsage des arguments et qui les rajoute dans les wikitty field tout ça.
protected  Map<String,Object> formatArgs(Map<String,Object> args)
           
 String getArgument(String key, String defaultValue)
           
abstract  WikittyProxy getProxy()
           
 
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

PREFIX_WIKITTY

public static final String PREFIX_WIKITTY
See Also:
Constant Field Values
Constructor Detail

AbstractWikittyEditAction

public AbstractWikittyEditAction()
Method Detail

execute

public String execute()
               throws Exception
rajouter les attributs par défaut id tout ça et ensuite on rajoute les méthodes de parsage des arguments et qui les rajoute dans les wikitty field tout ça. sauf les file parce que les files compliqué.

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

getProxy

public abstract WikittyProxy getProxy()

formatArgs

protected Map<String,Object> formatArgs(Map<String,Object> args)

getArgument

public String getArgument(String key,
                          String defaultValue)


Copyright © 2011-2012 CodeLutin. All Rights Reserved.