Class ReservationRegistrationUserCustomDataProvider
java.lang.Object
ch.tocco.nice2.optional.reservation.impl.ReservationRegistrationUserCustomDataProvider
- All Implemented Interfaces:
CustomDataProvider
@Component
public class ReservationRegistrationUserCustomDataProvider
extends Object
implements CustomDataProvider
-
Constructor Summary
ConstructorDescriptionReservationRegistrationUserCustomDataProvider
(TypeManager typeManager, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescriptionCollects the custom data for this field and returns it as aTypedValue
.
-
Constructor Details
-
ReservationRegistrationUserCustomDataProvider
public ReservationRegistrationUserCustomDataProvider(TypeManager typeManager, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService)
-
-
Method Details
-
getData
public SimpleCustomDataValue getData(@Nullable @Nullable Entity reservationEntity) throws CustomDataProviderException Description copied from interface:CustomDataProvider
Collects the custom data for this field and returns it as aTypedValue
.- Specified by:
getData
in interfaceCustomDataProvider
- Parameters:
reservationEntity
- The current entity, which gets loaded in the grid or form (is null in create scope).- Returns:
- a
TypedValue
containing the custom data for this field. - Throws:
CustomDataProviderException
- in case of error.
-