Class AcceptConflictFormInterceptor

java.lang.Object
ch.tocco.nice2.optional.reservation.impl.actions.AcceptConflictFormInterceptor
All Implemented Interfaces:
FormInterceptor

@Component @Order(900) public class AcceptConflictFormInterceptor extends Object implements FormInterceptor
Adds the "showConflict" action to the forms where this action is desired (in the new client). This form interceptor is the equivalent of the AcceptConflictActionFactory for the new client.
  • Field Details

  • Constructor Details

    • AcceptConflictFormInterceptor

      public AcceptConflictFormInterceptor()
  • Method Details

    • setShowConflictModels

      @Autowired public void setShowConflictModels(List<String> models)
    • modifyForm

      public void modifyForm(FormBuilder formBuilder, String baseName, FormScope formScope)
      Specified by:
      modifyForm in interface FormInterceptor
    • setExcludedFormNames

      @Autowired(required=false) public void setExcludedFormNames(List<String> excludedFormNames)