org.chorem.bow.action
Class PreferencesAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.chorem.bow.action.BowBaseAction
org.chorem.bow.action.PreferencesAction
- 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.ServletRequestAware, org.apache.struts2.interceptor.SessionAware
public class PreferencesAction
- extends BowBaseAction
- implements org.apache.struts2.interceptor.ServletRequestAware
Change les preferences de l'utilisateur (coleur, password, email, ...)
- Author:
- poussin
- See Also:
- Serialized Form
| 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.chorem.bow.action.BowBaseAction |
getBowProxy, getBowSession, getSafeText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSession |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
colors
protected String colors
tagsNb
protected String tagsNb
bookmarksHomePage
protected String bookmarksHomePage
searchEngineUrlSuggestions
protected String searchEngineUrlSuggestions
searchEngineUrlResults
protected String searchEngineUrlResults
email
protected String email
newPassword
protected String newPassword
currentPassword
protected String currentPassword
confirmNewPassword
protected String confirmNewPassword
update
protected String update
bookmarksImportDate
protected List<org.nuiton.wikitty.search.FacetTopic> bookmarksImportDate
request
protected javax.servlet.http.HttpServletRequest request
PreferencesAction
public PreferencesAction()
getColors
public String getColors()
- Returns:
- the colors
setColors
public void setColors(String colors)
- Parameters:
colors - the colors to set
getTagsNb
public String getTagsNb()
- Returns:
- the tagsNb
setTagsNb
public void setTagsNb(String tagsNb)
- Parameters:
tagsNb - the tagsNb to set
getBookmarksHomePage
public String getBookmarksHomePage()
- Returns:
- the bookmarksHomePage
setBookmarksHomePage
public void setBookmarksHomePage(String bookmarksHomePage)
- Parameters:
bookmarksHomePage - the bookmarksHomePage to set
getSearchEngineUrlSuggestions
public String getSearchEngineUrlSuggestions()
- Returns:
- the searchEngineUrlSuggestions
setSearchEngineUrlSuggestions
public void setSearchEngineUrlSuggestions(String searchEngineUrlSuggestions)
- Parameters:
searchEngineUrlSuggestions - the searchEngineUrlSuggestions to set
getSearchEngineUrlResults
public String getSearchEngineUrlResults()
- Returns:
- the searchEngineUrlResults
setSearchEngineUrlResults
public void setSearchEngineUrlResults(String searchEngineUrlResults)
- Parameters:
searchEngineUrlResults - the searchEngineUrlResults to set
getEmail
public String getEmail()
- Returns:
- the email
setEmail
public void setEmail(String email)
- Parameters:
email - the email to set
getNewPassword
public String getNewPassword()
- Returns:
- the newPassword
setNewPassword
public void setNewPassword(String newPassword)
- Parameters:
newPassword - the newPassword to set
getCurrentPassword
public String getCurrentPassword()
- Returns:
- the currentPassword
setCurrentPassword
public void setCurrentPassword(String currentPassword)
- Parameters:
currentPassword - the currentPassword to set
getConfirmNewPassword
public String getConfirmNewPassword()
- Returns:
- the confirmNewPassword
setConfirmNewPassword
public void setConfirmNewPassword(String confirmNewPassword)
- Parameters:
confirmNewPassword - the confirmNewPassword to set
getUpdate
public String getUpdate()
- Returns:
- the update
setUpdate
public void setUpdate(String update)
- Parameters:
update - the update to set
getBookmarksImportDate
public List<org.nuiton.wikitty.search.FacetTopic> getBookmarksImportDate()
- Returns:
- the bookmarksImportDate
setBookmarksImportDate
public void setBookmarksImportDate(List<org.nuiton.wikitty.search.FacetTopic> bookmarksImportDate)
- Parameters:
bookmarksImportDate - the bookmarksImportDate to set
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
- Specified by:
setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware
changePreference
protected Preference changePreference()
changeUser
protected User changeUser(User newUser)
execute
public String execute()
- Specified by:
execute in interface com.opensymphony.xwork2.Action- Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
Copyright © 2010-2011 CodeLutin. All Rights Reserved.