org.nuiton.wikitty.publication.ui.action
Class PublicationActionEdit
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
org.nuiton.wikitty.publication.ui.action.PublicationBaseAction
org.nuiton.wikitty.publication.ui.action.PublicationActionEdit
- 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 PublicationActionEdit
- extends PublicationBaseAction
Java class for the edit action that allow to create and edit
wikitty.
- Author:
- mfortun
- See Also:
- Serialized Form
| 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 |
| 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 |
wikitty
protected Wikitty wikitty
wikittyFieldMap
protected HashMap<String,Object> wikittyFieldMap
proxy
protected WikittyProxy proxy
isDelete
protected boolean isDelete
isStore
protected boolean isStore
wikittyId
protected String wikittyId
version
protected String version
uploadedFile
protected File uploadedFile
uploadFileName
protected String uploadFileName
uploadContentType
protected String uploadContentType
PublicationActionEdit
public PublicationActionEdit()
getAction
public static PublicationActionEdit getAction()
execute
public String execute()
throws Exception
- Specified by:
execute in interface com.opensymphony.xwork2.Action- Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
- Throws:
Exception
doAction
public void doAction()
setFile
public void setFile(File upload)
getFileContentType
public String getFileContentType()
setFileContentType
public void setFileContentType(String uploadContentType)
getFileFileName
public String getFileFileName()
setFileFileName
public void setFileFileName(String uploadFileName)
getWikitty
public Wikitty getWikitty()
setWikitty
public void setWikitty(Wikitty wikitty)
getPostUrl
public String getPostUrl()
formatArgs
protected Map<String,Object> formatArgs(Map<String,Object> args)
putIdArgs
protected void putIdArgs(String id)
getMimeType
public String getMimeType()
Copyright © 2010-2011 CodeLutin. All Rights Reserved.