public class BlogMemberInviteController extends AbstractUserInviteController
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_BLOG
The Constant PARAM_BLOG.
|
ATTR_INVITATION_FIELDS
DEFAULT_COMMAND_NAME
Constructor and Description |
---|
BlogMemberInviteController() |
Modifier and Type | Method and Description |
---|---|
protected InviteUserForm |
internalFormBackingObject(javax.servlet.http.HttpServletRequest request)
|
void |
invite(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InviteUserForm command,
org.springframework.validation.BindException errors)
Well, well this is a week before release hack.
|
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, getModelAndView, 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
public static final String PARAM_BLOG
protected InviteUserForm internalFormBackingObject(javax.servlet.http.HttpServletRequest request) throws Exception
internalFormBackingObject
in class AbstractUserInviteController
request
- the requestException
- in case of an errorpublic void invite(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, InviteUserForm command, org.springframework.validation.BindException errors) throws Exception
request
- the request to useresponse
- the response to usecommand
- the formerrors
- the errorsException
- 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 BlogNotFoundException
inviteUser
in class AbstractUserInviteController
request
- the requestresponse
- the responseinvitationForm
- the invite formerrors
- the binding errorsuserToInvite
- the user that should be invitedBlogNotFoundException
Copyright © 2019 Communote team. All rights reserved.