Class PostDocumentsDataProvider
java.lang.Object
ch.tocco.nice2.optional.forum.impl.customdata.PostDocumentsDataProvider
- All Implemented Interfaces:
CustomDataProvider
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPostDocumentsDataProvider
(TypeManager typeManager, EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, SizeEvaluationService sizeEvaluationService) -
Method Summary
Modifier and TypeMethodDescriptionCollects the custom data for this field and returns it as aTypedValue
.
-
Constructor Details
-
PostDocumentsDataProvider
public PostDocumentsDataProvider(TypeManager typeManager, EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, SizeEvaluationService sizeEvaluationService)
-
-
Method Details
-
getData
Description copied from interface:CustomDataProvider
Collects the custom data for this field and returns it as aTypedValue
.- Specified by:
getData
in interfaceCustomDataProvider
- Parameters:
entity
- 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.
-