public class SaveAction extends ScmWebEditorCommitAction
| Modifier and Type | Field and Description |
|---|---|
protected Date |
date
the saving date
|
protected String |
result
the result of the commit action
|
protected static String |
USELESS_SAVE |
address, badLogin, commitMessage, commitOnly, diff, FILE_MODIFY, force, format, headCommiter, lastText, mimeType, newText, numRevision, origText, projectUrl, pw, request, response, saveCookie, usernameATTRIBUTE_BAD_LOGIN, ATTRIBUTE_FILESEARCH_SERVLET_URL, ATTRIBUTE_INVALIDATE_MAX_TIME, ATTRIBUTE_IS_LOGIN, ATTRIBUTE_LOGIN, ATTRIBUTE_ORIG_TEXT, ATTRIBUTE_PREVIEW_SERVLET_URL, ATTRIBUTE_PRIVATE_SERVLET_URI, ATTRIBUTE_PROJECT_URL, ATTRIBUTE_REDIRECT_URL, ATTRIBUTE_REDIRECTION_URL, ATTRIBUTE_SCM_EDITOR_URI, AUTH_ERROR, CONTEXT_ACTION_KEY, detector, EDITABLESFILES, ENCODING, ERROR_PATH, PARAMETER_ADDRESS, PARAMETER_COMMIT_MESSAGE, PARAMETER_DEFAULT_LANG, PARAMETER_FILE_NAME, PARAMETER_FORMAT, PARAMETER_LANG, PARAMETER_MYTEXT, PARAMETER_ORIG_TEXT, PARAMETER_PROJECT_URL, PARAMETER_PW, PARAMETER_SCM_EDITOR_URL, PARAMETER_TEXT, PARAMETER_USERNAME, PROPERTIESFILES, scmType, session| Constructor and Description |
|---|
SaveAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Execution of the save action
|
Date |
getDate() |
String |
getFormatDate()
Use to display a beautiful date in jsp
|
String |
getResult() |
void |
setResult(String result) |
getAddress, getCommitMessage, getDiff, getForce, getFormat, getHeadCommiter, getLastText, getMimeType, getNewText, getNumRevision, getOrigText, getParameterAddress, getProjectUrl, getPw, getRequest, getUsername, isBadLogin, isCommitOnly, isRstValid, isSaveCookie, setAddress, setBadLogin, setCommitMessage, setCommitOnly, setDiff, setForce, setFormat, setHeadCommiter, setLastText, setMimeType, setNewText, setNumRevision, setOrigText, setProjectUrl, setPw, setSaveCookie, setServletRequest, setServletResponse, setUsernameconvertToUnicode, getCodepageDetector, getMimeType, getMimeType, getMimeTypes, getPassword, getScmSession, getScmType, getSweVersion, getUsername, getUsernamePwFromSession, loadProperties, loadProperties, setScmTypeaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected static final String USELESS_SAVE
protected String result
protected Date date
public String getResult()
public void setResult(String result)
public Date getDate()
public String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class ScmWebEditorCommitActionpublic String getFormatDate()
Copyright © 2009–2016 CodeLutin. All rights reserved.