Class DisableMarkingForAnonymousFormInterceptor
java.lang.Object
ch.tocco.nice2.marking.impl.DisableMarkingForAnonymousFormInterceptor
- All Implemented Interfaces:
FormInterceptor
@Component
@Order(800)
public class DisableMarkingForAnonymousFormInterceptor
extends Object
implements FormInterceptor
Disables the "marking" feature on all forms if the current user is not authenticated.
-
Field Summary
FieldsFields inherited from interface FormInterceptor
SORTING_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyForm(FormBuilder formBuilder, String baseName, FormScope formScope) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FormInterceptor
getActionGroupBuilder, getActionGroupBuilder, getActionsActionGroupBuilder, getCreateCopyActionGroupBuilder, getOutputActionGroupBuilder
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
DisableMarkingForAnonymousFormInterceptor
public DisableMarkingForAnonymousFormInterceptor()
-
-
Method Details
-
modifyForm
- Specified by:
modifyFormin interfaceFormInterceptor
-