Class EditedUrlCustomDataProvider
java.lang.Object
ch.tocco.nice2.dms.impl.customdataprovider.EditedUrlCustomDataProvider
- All Implemented Interfaces:
CustomDataProvider
This custom providers provides information about whether a url (field: name) is edited or not
-
Constructor Summary
ConstructorsConstructorDescriptionEditedUrlCustomDataProvider(TypeManager typeManager, TextResources textResources, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionCollects the custom data for this field and returns it as aTypedValue.
-
Constructor Details
-
EditedUrlCustomDataProvider
public EditedUrlCustomDataProvider(TypeManager typeManager, TextResources textResources, org.slf4j.Logger log)
-
-
Method Details
-
getData
public CustomDataValue<String> getData(@Nullable @Nullable Entity entity) throws CustomDataProviderException Description copied from interface:CustomDataProviderCollects the custom data for this field and returns it as aTypedValue.- Specified by:
getDatain interfaceCustomDataProvider- Parameters:
entity- 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.
-