Package su.onno.ui

Interface RefOptionDecorator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RefOptionDecorator
Application-provided batch resolver for contextual reference-picker option state.

Implement this as an ordinary Spring bean, then attach it to a reference field with FieldHintBuilder.refOptions(Class). The resolver receives the current parent form, tabular row, edit-document id, and the capped option page in one call. Returning no entry for an option leaves it undecorated.