@ OverrideOnDemand @ OverridingMethodsMustInvokeSuper protected boolean performLocking ( @ Nonnull final WPECTYPE aWPEC , @ Nonnull final DATATYPE aSelectedObject , @ Nonnull final EWebPageFormAction eFormAction ) { // Lock EDIT and DELETE if an object is present // Also lock custom actions if an object is selected return eFormAction . isModifying ( ) || eFormAction . isCustom ( ) ; }
Check if locking should be performed on the current request or not . Override with care!