public class InviteUserToClientController extends AbstractUserInviteController
ATTR_INVITATION_FIELDS
DEFAULT_COMMAND_NAME
Constructor and Description |
---|
InviteUserToClientController() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.servlet.ModelAndView |
getModelAndView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors)
Get the model and view to show.
|
protected InviteUserForm |
internalFormBackingObject(javax.servlet.http.HttpServletRequest request)
|
protected boolean |
inviteUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InviteUserForm invitationForm,
org.springframework.validation.BindException errors,
UserVO userToInvite)
Invite the given user.
|
formBackingObject, getAliasErrorField, getEmailErrorField, getErrorFields, getExternalUsernameErrorField, getUserManagement, handleOnSubmit, validateForm
getLocale, initBinder, isRefuseOnExternalAuthentication, onSubmit, onSubmit, onSubmit, setRefuseOnExternalAuthentication, showForm
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, showForm, suppressValidation
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
protected org.springframework.web.servlet.ModelAndView getModelAndView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object command, org.springframework.validation.BindException errors) throws Exception
getModelAndView
in class AbstractUserInviteController
request
- the requestresponse
- the responsecommand
- the commanderrors
- the errorModelAndView
to showException
- in case of an errorprotected InviteUserForm internalFormBackingObject(javax.servlet.http.HttpServletRequest request) throws Exception
internalFormBackingObject
in class AbstractUserInviteController
request
- the requestException
- in case of an errorprotected boolean inviteUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, InviteUserForm invitationForm, org.springframework.validation.BindException errors, UserVO userToInvite) throws Exception
inviteUser
in class AbstractUserInviteController
request
- the requestresponse
- the responseinvitationForm
- the invite formerrors
- the binding errorsuserToInvite
- the user that should be invitedException
- in case of an errorCopyright © 2019 Communote team. All rights reserved.