Class ProfileAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.bgerp.action.base.BaseAction
org.bgerp.action.ProfileAction
Current user's profile actions: settings and personalization
-
Field Summary
Fields inherited from class BaseAction
l, log, MAPPER, PATH_JSP_ADMIN, PATH_JSP_OPEN, PATH_JSP_USER, PATH_JSP_USERMOB, setupFields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardparameters(DynActionForm form, ConnectionSet conSet) Opens the profile parameters pageorg.apache.struts.action.ActionForwardsettings(DynActionForm form, ConnectionSet conSet) Opens the profile settings pageorg.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.org.apache.struts.action.ActionForwardupdateOthersParameter(DynActionForm form, ConnectionSet conSet) Permission marker action for editing other users' parametersorg.apache.struts.action.ActionForwardupdateOwnParameter(DynActionForm form, ConnectionSet conSet) Permission marker action for editing the user's own parametersorg.apache.struts.action.ActionForwardupdatePersonalization(DynActionForm form, Connection con) Updates the current user's interface personalization preferencesorg.apache.struts.action.ActionForwardupdateSettings(DynActionForm form, Connection con) Updates the current user's login, name and passwordMethods inherited from class BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, updatePersonalizationMethods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, unspecifiedMethods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
ProfileAction
public ProfileAction()Default constructor
-
-
Method Details
-
unspecified
public org.apache.struts.action.ActionForward unspecified(DynActionForm form, ConnectionSet conSet) throws Exception Description copied from class:BaseActionDefault action method if no parameter 'action' passed. Overwrite and implement.- Overrides:
unspecifiedin classBaseAction- Parameters:
form-conSet-- Returns:
- Throws:
Exception
-
settings
public org.apache.struts.action.ActionForward settings(DynActionForm form, ConnectionSet conSet) throws Exception Opens the profile settings page- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
parameters
public org.apache.struts.action.ActionForward parameters(DynActionForm form, ConnectionSet conSet) throws Exception Opens the profile parameters page- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
updateOwnParameter
public org.apache.struts.action.ActionForward updateOwnParameter(DynActionForm form, ConnectionSet conSet) Permission marker action for editing the user's own parameters- Parameters:
form- request formconSet- connection set- Returns:
- never returns normally
-
updateOthersParameter
public org.apache.struts.action.ActionForward updateOthersParameter(DynActionForm form, ConnectionSet conSet) Permission marker action for editing other users' parameters- Parameters:
form- request formconSet- connection set- Returns:
- never returns normally
-
updateSettings
public org.apache.struts.action.ActionForward updateSettings(DynActionForm form, Connection con) throws Exception Updates the current user's login, name and password- Parameters:
form- request formcon- database connection- Returns:
- JSON response
- Throws:
Exception- on any error
-
updatePersonalization
public org.apache.struts.action.ActionForward updatePersonalization(DynActionForm form, Connection con) throws Exception Updates the current user's interface personalization preferences- Parameters:
form- request formcon- database connection- Returns:
- JSON response
- Throws:
Exception- on any error
-