nl.gx.product.wmpuserprofiles.api
Class ExtensionSubTabController

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.web.servlet.mvc.AbstractController
                  extended by org.springframework.web.servlet.mvc.BaseCommandController
                      extended by org.springframework.web.servlet.mvc.AbstractFormController
                          extended by org.springframework.web.servlet.mvc.SimpleFormController
                              extended by nl.gx.webmanager.springmvc.controller.BaseWebmanagerController
                                  extended by nl.gx.webmanager.springmvc.controller.component.ComponentController
                                      extended by nl.gx.product.wmpuserprofiles.api.ExtensionSubTabController
All Implemented Interfaces:
DelegatedController, ComponentAware, 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
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
ExtensionSubTabController()
          Constructs a new user profiles tab controller.
 
Method Summary
protected  void createEditViews()
          Callback to add edit views.
protected  void createResourceBaseNames(java.lang.Object command)
          Callback to add resource base names.
 DefaultProfileProvider getDefaultProfileProvider()
          Returns the default profile provider.
 GroupManager getGroupManager()
          Returns the group manager.
protected  java.lang.String getLanguageLabel(java.lang.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, 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, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, 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
 

Constructor Detail

ExtensionSubTabController

public ExtensionSubTabController()
Constructs a new user profiles tab controller.

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()
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 class BaseWebmanagerController

createResourceBaseNames

protected final void createResourceBaseNames(java.lang.Object command)
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 class ComponentController

getLanguageLabel

protected final java.lang.String getLanguageLabel(java.lang.String label)
Returns the value of a language label in the current language.

Parameters:
label - the label
Returns:
the label in the current language


Copyright © 2007-2011 GX Software BV. All Rights Reserved.