Class ShowRegisterButtonProvider
java.lang.Object
ch.tocco.nice2.optional.event.impl.customdata.ShowRegisterButtonProvider
- All Implemented Interfaces:
CustomDataProvider
-
Constructor Summary
ConstructorsConstructorDescriptionShowRegisterButtonProvider(TypeManager typeManager, EventRegistrationActionService eventRegistrationActionService) -
Method Summary
Modifier and TypeMethodDescriptionCollects the custom data for this field and returns it as aTypedValue.
-
Constructor Details
-
ShowRegisterButtonProvider
public ShowRegisterButtonProvider(TypeManager typeManager, EventRegistrationActionService eventRegistrationActionService)
-
-
Method Details
-
getData
public SimpleCustomDataValue getData(@Nullable @Nullable Entity eventEntity) throws CustomDataProviderException Description copied from interface:CustomDataProviderCollects the custom data for this field and returns it as aTypedValue.- Specified by:
getDatain interfaceCustomDataProvider- Parameters:
eventEntity- The current entity, which gets loaded in the grid or form (is null in create scope).- Returns:
- a
TypedValuecontaining the custom data for this field. - Throws:
CustomDataProviderException- in case of error.
-