public interface RawMetadataProcessor
This processor automatically and assynchronously extracts the metadata from all of the files stored in the document library.
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(FileEntry fileEntry) |
void |
cleanUp(FileVersion fileVersion) |
void |
generateMetadata(FileVersion fileVersion)
Generates the raw metadata associated with the file entry.
|
boolean |
isSupported(FileVersion fileVersion) |
boolean |
isSupported(String mimeType) |
void |
saveMetadata(FileVersion fileVersion)
Saves the raw metadata present in the file version.
|
void |
trigger(FileVersion fileVersion)
Launches extraction of raw metadata from the file version.
|
void cleanUp(FileEntry fileEntry)
void cleanUp(FileVersion fileVersion)
void generateMetadata(FileVersion fileVersion) throws PortalException
fileVersion - the file version from which the raw metatada is to be
generatedPortalExceptionboolean isSupported(FileVersion fileVersion)
boolean isSupported(String mimeType)
void saveMetadata(FileVersion fileVersion) throws PortalException
fileVersion - the file version from which the raw metatada is to be
extracted and persistedPortalExceptionvoid trigger(FileVersion fileVersion)
The raw metadata extraction is done asynchronously.
fileVersion - the latest file version from which the raw metadata is
to be generated