Class DeliveryTableCustomizer
java.lang.Object
com.kingsrook.qqq.backend.core.delivery.DeliveryTableCustomizer
- All Implemented Interfaces:
TableCustomizerInterface
Owners cannot be changed, even by delivery administrators.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kingsrook.qqq.backend.core.actions.customizers.TableCustomizerInterface
TableCustomizerInterface.NotImplementedHereException -
Field Summary
Fields inherited from interface com.kingsrook.qqq.backend.core.actions.customizers.TableCustomizerInterface
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpreDelete(DeleteInput input, List<QRecord> records, boolean preview) Prevent record UI mutations of action-owned logs.preInsert(InsertInput input, List<QRecord> records, boolean preview) Bind user-created choices to the authenticated owner.preUpdate(UpdateInput input, List<QRecord> records, boolean preview, Optional<List<QRecord>> oldRecords) Ownership is immutable; partial updates need not repeat it.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.actions.customizers.TableCustomizerInterface
oldRecordListToMap, postDelete, postInsert, postInsertOrUpdate, postMetaDataAction, postQuery, postUpdate, preInsertOrUpdate, whenToRunPreInsert
-
Constructor Details
-
DeliveryTableCustomizer
public DeliveryTableCustomizer()
-
-
Method Details
-
preInsert
public List<QRecord> preInsert(InsertInput input, List<QRecord> records, boolean preview) throws QException Bind user-created choices to the authenticated owner.- Specified by:
preInsertin interfaceTableCustomizerInterface- Throws:
QException
-
preUpdate
public List<QRecord> preUpdate(UpdateInput input, List<QRecord> records, boolean preview, Optional<List<QRecord>> oldRecords) throws QException Ownership is immutable; partial updates need not repeat it.- Specified by:
preUpdatein interfaceTableCustomizerInterface- Throws:
QException
-
preDelete
public List<QRecord> preDelete(DeleteInput input, List<QRecord> records, boolean preview) throws QException Prevent record UI mutations of action-owned logs.- Specified by:
preDeletein interfaceTableCustomizerInterface- Throws:
QException
-