Class ExtensionSubTabController
- java.lang.Object
-
- org.springframework.context.support.ApplicationObjectSupport
-
- org.springframework.web.context.support.WebApplicationObjectSupport
-
- org.springframework.web.servlet.support.WebContentGenerator
-
- org.springframework.web.servlet.mvc.AbstractController
-
- org.springframework.web.servlet.mvc.BaseCommandController
-
- org.springframework.web.servlet.mvc.AbstractFormController
-
- org.springframework.web.servlet.mvc.SimpleFormController
-
- nl.gx.webmanager.springmvc.controller.BaseWebmanagerController
-
- nl.gx.webmanager.springmvc.controller.component.ComponentController
-
- nl.gx.product.wmpuserprofiles.api.ExtensionSubTabController
-
- All Implemented Interfaces:
DelegatedController
,ComponentAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,org.springframework.web.servlet.mvc.Controller
public abstract class ExtensionSubTabController extends ComponentController
This class is an controller for a subtab extension.
-
-
Field Summary
-
Fields inherited from class nl.gx.webmanager.springmvc.controller.BaseWebmanagerController
formBackingObject, PROTOCOL_PROCESSED_KEY
-
Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController
DEFAULT_COMMAND_NAME
-
-
Constructor Summary
Constructors Constructor Description ExtensionSubTabController()
Constructs a new user profiles tab controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createEditViews()
Callback to add edit views.protected void
createResourceBaseNames(Object command)
Callback to add resource base names.DefaultProfileProvider
getDefaultProfileProvider()
Returns the default profile provider.GroupManager
getGroupManager()
Returns the group manager.protected String
getLanguageLabel(String label)
Returns the value of a language label in the current language.ProfileManager
getProfileManager()
Returns the profile manager.Realm
getRealm()
Returns the realm.protected SessionManager
getSessionManager()
Returns the SessionManager.UserManager
getUserManager()
Returns the user manager.void
setRealmManager(RealmManager realmManager)
Sets the realm manager.void
setSessionManager(SessionManager manager)
Sets the Session manager.-
Methods inherited from class nl.gx.webmanager.springmvc.controller.component.ComponentController
addEditView, addEditView, formBackingObject, getBundleDefinitionId, getComponent, getParentController, onSubmit, onSubmit, onSubmit, referenceData, setBundleDefinitionId, setComponent, setDelegatedControllers, setParentController, showForm
-
Methods inherited from class nl.gx.webmanager.springmvc.controller.BaseWebmanagerController
addControllerDelegation, addDisallowedField, addEditView, addEditView, addEditViews, addResourceBaseName, addValidator, getControllerDelegationMap, getEditContext, getEditLanguageLabel, getEditView, getEditViewByValue, getEditViews, getPresentationContext, getResourceBaseNames, getServletContextHack, getVersion, getWebsite, getWebsiteByRequest, getWmSession, initBinder, initialize, isReloadWebManager, onBind, onBindAndValidate, onSubmit, popNestedPath, pushNestedPath, referenceData, removeControllerDelegation, setReloadWebManager, showForm
-
Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, processFormSubmission, setFormView, setSuccessView, suppressValidation
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
-
Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, isValidateOnBinding, onBind, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess
-
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
-
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
-
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
-
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.gx.webmanager.springmvc.DelegatedController
addValidator, getControllerDelegationMap, getEditView, getEditViewByValue, getResourceBaseNames, getValidators, initBinder, initialize, onBind, onBindAndValidate, onSubmit, referenceData
-
-
-
-
Method Detail
-
getSessionManager
protected final SessionManager getSessionManager()
Returns the SessionManager.- Returns:
- SessionManager
-
setSessionManager
public final void setSessionManager(SessionManager manager)
Sets the Session manager.- Parameters:
manager
- The session manager to set
-
setRealmManager
public final void setRealmManager(RealmManager realmManager)
Sets the realm manager.- Parameters:
realmManager
- the realm manager to set
-
getUserManager
public final UserManager getUserManager()
Returns the user manager.- Returns:
- the user manager
-
getRealm
public final Realm getRealm()
Returns the realm.- Returns:
- the realm
-
getDefaultProfileProvider
public final DefaultProfileProvider getDefaultProfileProvider()
Returns the default profile provider.- Returns:
- the default profile provider
-
getGroupManager
public final GroupManager getGroupManager()
Returns the group manager.- Returns:
- the group manager
-
getProfileManager
public final ProfileManager getProfileManager()
Returns the profile manager.- Returns:
- the profile manager
-
createEditViews
protected void createEditViews()
Description copied from class:BaseWebmanagerController
Callback to add edit views. Sub classes should implement this method, call the super and invoke addEditViews to add its own edit views to the controller.- Specified by:
createEditViews
in classBaseWebmanagerController
-
createResourceBaseNames
protected final void createResourceBaseNames(Object command)
Description copied from class:BaseWebmanagerController
Callback to add resource base names. Sub classes should implement this method, call the super and invoke addResourceBaseNames to add its own resource base names to the controller.- Overrides:
createResourceBaseNames
in classComponentController
-
-