Class SplibGeneral2FormsDoNothingService<F1 extends SplibGeneralForm, F2 extends SplibGeneralForm>

java.lang.Object
jp.ecuacion.splib.web.service.SplibGeneralService
jp.ecuacion.splib.web.service.SplibGeneral2FormsService<F1,F2>
jp.ecuacion.splib.web.service.SplibGeneral2FormsDoNothingService<F1,F2>

@Service public class SplibGeneral2FormsDoNothingService<F1 extends SplibGeneralForm, F2 extends SplibGeneralForm> extends SplibGeneral2FormsService<F1,F2>
Provides a general service with no method.

See SplibGeneralDoNothingService.

  • Constructor Details

    • SplibGeneral2FormsDoNothingService

      public SplibGeneral2FormsDoNothingService()
  • Method Details

    • page

      public void page(F1 form1, F2 form2, org.springframework.security.core.userdetails.UserDetails loginUser) throws Exception
      Description copied from class: SplibGeneral2FormsService
      Prepares form for showing page.
      Specified by:
      page in class SplibGeneral2FormsService<F1 extends SplibGeneralForm, F2 extends SplibGeneralForm>
      Parameters:
      form1 - form
      form2 - form
      loginUser - loginUser
      Throws:
      Exception
    • prepareForm

      public void prepareForm(F1 form1, F2 form2, org.springframework.security.core.userdetails.UserDetails loginUser)
      Description copied from class: SplibGeneral2FormsService
      Prepares form.

      This is called in addition to showing normal pages, after occuring AppException and right before showing the same page with error messages.
      In this case the input values are stored in Model, but the other values like selections of dropdowns are not.
      This method prepares those data.

      Specified by:
      prepareForm in class SplibGeneral2FormsService<F1 extends SplibGeneralForm, F2 extends SplibGeneralForm>
      Parameters:
      form1 - form
      form2 - form
      loginUser - loginUser