Class BinaryFieldValueFactory
java.lang.Object
ch.tocco.nice2.rest.entity.impl.beans.factories.BinaryFieldValueFactory
- All Implemented Interfaces:
EntityFieldValueFactory<BinaryBean>
@Component
public class BinaryFieldValueFactory
extends Object
implements EntityFieldValueFactory<BinaryBean>
This value factory is registered on `binary` fields and returns
a
BinaryBean
containing the field value.-
Constructor Summary
ConstructorDescriptionBinaryFieldValueFactory
(EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, org.slf4j.Logger log) -
Method Summary
-
Constructor Details
-
BinaryFieldValueFactory
public BinaryFieldValueFactory(EntityDocumentsService entityDocumentsService, ContentTreeService contentTreeService, org.slf4j.Logger log)
-
-
Method Details
-
createValue
- Specified by:
createValue
in interfaceEntityFieldValueFactory<BinaryBean>
-
getFieldType
- Specified by:
getFieldType
in interfaceEntityFieldValueFactory<BinaryBean>
-