public class BlogMemberInviteController extends AbstractUserInviteController
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_BLOG
The Constant PARAM_BLOG.
|
ATTR_INVITATION_FIELDSDEFAULT_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, validateFormgetLocale, initBinder, isRefuseOnExternalAuthentication, onSubmit, onSubmit, onSubmit, setRefuseOnExternalAuthentication, showFormdoSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, showForm, suppressValidationcurrentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewFormbindAndValidate, 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, useDirectFieldAccesshandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final String PARAM_BLOG
protected InviteUserForm internalFormBackingObject(javax.servlet.http.HttpServletRequest request) throws Exception
internalFormBackingObject in class AbstractUserInviteControllerrequest - 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 AbstractUserInviteControllerrequest - the requestresponse - the responseinvitationForm - the invite formerrors - the binding errorsuserToInvite - the user that should be invitedBlogNotFoundExceptionCopyright © 2019 Communote team. All rights reserved.