public class PreferenceBaseAction extends BowBaseAction
| Modifier and Type | Class and Description |
|---|---|
static class |
PreferenceBaseAction.DefaultPrefix |
protected static class |
PreferenceBaseAction.PreferenceType
la liste des differentes data que l'on peut charger
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
bookmarksHomePage |
protected Map<String,Integer> |
bookmarksImportDate |
protected String |
colors |
protected String |
confirmNewPassword |
protected String |
currentPassword |
protected String |
delete |
protected String |
email |
protected boolean |
favicon |
protected List<org.nuiton.wikitty.query.FacetTopic> |
labels |
protected String |
newLabel |
protected String |
newPassword |
protected String |
rename |
protected boolean |
screenshot |
protected List<BowSearchPrefix> |
searchPrefix |
protected String[] |
selectedLabels |
protected String |
tagsNb |
protected String |
update |
bookmarkUtils, config, CONTEXT_ACTION_KEY, first, fullTextLine, listId, order, possibleOrder, session, tagLine, UNTRANSLATED_MARKER| Constructor and Description |
|---|
PreferenceBaseAction() |
| Modifier and Type | Method and Description |
|---|---|
static PreferenceBaseAction |
getAction() |
String |
getBookmarksHomePage() |
Map<String,Integer> |
getBookmarksImportDate() |
String |
getColors() |
String |
getConfirmNewPassword() |
String |
getCurrentPassword() |
String |
getDelete() |
String |
getEmail() |
List<org.nuiton.wikitty.query.FacetTopic> |
getLabels() |
String |
getNewLabel() |
String |
getNewPassword() |
String |
getRename() |
List<BowSearchPrefix> |
getSearchPrefix() |
String[] |
getSelectedLabels() |
String |
getTagsNb() |
String |
getUpdate() |
String |
input()
ACTION STRUTS
Action executer lorsque l'utilisateur demande la page.
|
boolean |
isFavicon() |
boolean |
isScreenshot() |
protected void |
load(PreferenceBaseAction.PreferenceType... exclude)
Load les données sauf celle que l'on demande d'exclure du load
|
protected void |
loadImport()
Charge la liste des imports que l'utilisateur a fait
|
protected void |
loadLabels()
Charge dans la variable labels tous les labels de l'utilisateur.
|
protected void |
loadSearchPrefixPref() |
protected void |
loadSitePref()
Charge les preferences utilisateur pour le site
|
protected void |
loadUserPref()
charge les info de l'utilisateur qu'il peut modifier
|
void |
setBookmarksHomePage(String bookmarksHomePage) |
void |
setBookmarksImportDate(Map<String,Integer> bookmarksImportDate) |
void |
setColors(String colors) |
void |
setConfirmNewPassword(String confirmNewPassword) |
void |
setCurrentPassword(String currentPassword) |
void |
setDelete(String delete) |
void |
setEmail(String email) |
void |
setFavicon(boolean favicon) |
void |
setNewLabel(String newLabel) |
void |
setNewPassword(String newPassword) |
void |
setRename(String rename) |
void |
setScreenshot(boolean screenshot) |
void |
setSearchPrefix(List<BowSearchPrefix> searchPrefix) |
void |
setSelectedLabels(String[] selectedLabels) |
void |
setTagsNb(String tagsNb) |
void |
setUpdate(String update) |
Date |
stringToDate(String date)
Date est une date mais au format String qui vient de Solr
Elle est de la forme '2011-08-18T00:25:16.028Z'
qui n'est pas presentable a l'utilisateur
On la remet sous une vrai forme date
Cette methode est utilise dans la JSP de rendu
|
getBookmarkUtils, getBowProxy, getBowSession, getConfig, getFirst, getFullTextLine, getListId, getOrder, getPossibleOrder, getTagLine, setFirst, setFullTextLine, setListId, setOrder, setSession, setTagLineaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected String email
protected String newPassword
protected String currentPassword
protected String confirmNewPassword
protected String colors
protected boolean screenshot
protected boolean favicon
protected String tagsNb
protected String bookmarksHomePage
protected List<BowSearchPrefix> searchPrefix
protected List<org.nuiton.wikitty.query.FacetTopic> labels
protected String[] selectedLabels
protected String rename
protected String delete
protected String newLabel
protected String update
public static PreferenceBaseAction getAction()
public String getNewLabel()
public void setNewLabel(String newLabel)
public void setRename(String rename)
public String getRename()
public void setDelete(String delete)
public String getDelete()
public String getColors()
public void setColors(String colors)
colors - the colors to setpublic boolean isScreenshot()
public void setScreenshot(boolean screenshot)
public boolean isFavicon()
public void setFavicon(boolean favicon)
public String getTagsNb()
public void setTagsNb(String tagsNb)
tagsNb - the tagsNb to setpublic String getBookmarksHomePage()
public void setBookmarksHomePage(String bookmarksHomePage)
bookmarksHomePage - the bookmarksHomePage to setpublic List<BowSearchPrefix> getSearchPrefix()
public void setSearchPrefix(List<BowSearchPrefix> searchPrefix)
public String getEmail()
public void setEmail(String email)
email - the email to setpublic String getNewPassword()
public void setNewPassword(String newPassword)
newPassword - the newPassword to setpublic String getCurrentPassword()
public void setCurrentPassword(String currentPassword)
currentPassword - the currentPassword to setpublic String getConfirmNewPassword()
public void setConfirmNewPassword(String confirmNewPassword)
confirmNewPassword - the confirmNewPassword to setpublic String getUpdate()
public void setUpdate(String update)
update - the update to setpublic Map<String,Integer> getBookmarksImportDate()
public void setBookmarksImportDate(Map<String,Integer> bookmarksImportDate)
bookmarksImportDate - the bookmarksImportDate to setpublic List<org.nuiton.wikitty.query.FacetTopic> getLabels()
public String[] getSelectedLabels()
public void setSelectedLabels(String[] selectedLabels)
public Date stringToDate(String date)
date - protected void load(PreferenceBaseAction.PreferenceType... exclude)
exclude - protected void loadUserPref()
protected void loadSitePref()
protected void loadSearchPrefixPref()
protected void loadImport()
protected void loadLabels()
public String input()
input in class com.opensymphony.xwork2.ActionSupportCopyright © 2010–2015 CodeLutin. All rights reserved.