Class SplibGeneral1FormDoNothingService<F extends SplibGeneralForm>
java.lang.Object
jp.ecuacion.splib.web.service.SplibGeneralService
jp.ecuacion.splib.web.service.SplibGeneral1FormService<F>
jp.ecuacion.splib.web.service.SplibGeneral1FormDoNothingService<F>
@Service
public class SplibGeneral1FormDoNothingService<F extends SplibGeneralForm>
extends SplibGeneral1FormService<F>
Provides a general service with no method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPrepares form for showing page.voidprepareForm(F form, org.springframework.security.core.userdetails.UserDetails loginUser) Prepares form.Methods inherited from class SplibGeneral1FormService
prepareFormMethods inherited from class SplibGeneralService
getParams, throwWarning
-
Constructor Details
-
SplibGeneral1FormDoNothingService
public SplibGeneral1FormDoNothingService()
-
-
Method Details
-
page
public void page(F form, org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception Description copied from class:SplibGeneral1FormServicePrepares form for showing page.- Specified by:
pagein classSplibGeneral1FormService<F extends SplibGeneralForm>- Parameters:
form- formloginUser- loginUser- Throws:
Exception
-
prepareForm
public void prepareForm(F form, org.springframework.security.core.userdetails.UserDetails loginUser) Description copied from class:SplibGeneral1FormServicePrepares form.This is called in addition to showing normal pages, after occuring
AppExceptionand right before showing the same page with error messages.
In this case the input values are stored inModel, but the other values like selections of dropdowns are not.
This method prepares those data.- Specified by:
prepareFormin classSplibGeneral1FormService<F extends SplibGeneralForm>- Parameters:
form- formloginUser- loginUser
-