public class FileMetadataManager extends MetadataManager
MetadataManager.RepeaterEntryComparator
Modifier and Type | Field and Description |
---|---|
static String |
ROLE
Avalon ROLE.
|
_contentTypeExtensionPoint, _contentTypesHelper, _externalizableMetadataProviderEP, REPEATER_ENTRY_COMPARATOR
_context, _jsonUtils, _resolver, _userManager
Constructor and Description |
---|
FileMetadataManager() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
readBinaryMetadata(Content content,
BinaryMetadata binaryMetadata,
String metadataPath)
Get the JSON representation of a
BinaryMetadata |
Map<String,Object> |
readResource(Resource resource)
Get the JSON representation of a
Resource |
_binaryAsJson, _canRead, _contentAsJson, _geocodeAsJson, _multilingualStringAsJson, _referenceAsJson, _resourceAsJson, _richTextAsString, _saxBinaryMetadata, _saxBinaryMetadataAsJson, _saxCompositeMetadata, _saxContentReferenceMetadata, _saxExternalisableBinaryMetadata, _saxExternalisableFileMetadata, _saxExternalisableGeocodeMetadata, _saxExternalisableMetadata, _saxExternalisableMultilingualStringMetadata, _saxExternalisableObjectCollectionMetadata, _saxExternalisableReferenceMetadata, _saxExternalisableResourceFileMetadata, _saxExternalisableRichTextMetadata, _saxExternalisableUserMetadata, _saxExternalizableBooleanMetadata, _saxExternalizableContentReferenceMetadata, _saxExternalizableDateMetadata, _saxExternalizableDoubleMetadata, _saxExternalizableLongMetadata, _saxExternalizableStringMetadata, _saxExternalizableValuesAsJson, _saxFileMetadata, _saxGeocodeMetadata, _saxMetadata, _saxMetadataComments, _saxMultilingualStringAsJson, _saxMultilingualStringMetadata, _saxNoExternalisableMetadata, _saxNonEditionRenderingContent, _saxReferenceMetadata, _saxResourceFileMetadata, _saxResourceFileMetadata, _saxResourceFileMetadataAsJson, _saxRichTextMetadata, _saxSingleDateMetadata, _saxSingleGeocodeMetadata, _saxSingleGeocodeMetadataAsJson, _saxSingleReferenceMetadata, _saxSingleReferenceMetadataAsJson, _saxStringMetadata, _saxSubContentMetadata, _saxUserMetadata, getExternalizableMetadata, saxMetadata, saxMetadata, saxMetadata, saxMetadataComments, saxReadableMetadata, saxReadableMetadata, service
_binaryAsJson, _getRefAmetysObjectIds, _saxAllMetadata, _saxBinaryMetadata, _saxDateMetadata, _saxEnumeratedStringMetadata, _saxMetadata, _saxMultilingualStringMetadata, _saxMultipleUserMetadataAsJson, _saxObject, _saxRichTextMetadata, _saxSingleUserMetadataAsJson, _saxStringMetadata, _saxUserMetadata, _userAsJson, contextualize, saxMetadata, saxMetadata
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public FileMetadataManager()
public Map<String,Object> readResource(Resource resource)
Resource
resource
- The resourcepublic Map<String,Object> readBinaryMetadata(Content content, BinaryMetadata binaryMetadata, String metadataPath)
BinaryMetadata
content
- The content holding the binary metadatabinaryMetadata
- The resourcemetadataPath
- The path to the metadata