public class RawMetadataProcessorImpl
extends Object
implements com.liferay.document.library.kernel.util.DLProcessor, com.liferay.document.library.kernel.util.RawMetadataProcessor
Constructor and Description |
---|
RawMetadataProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
cleanUp(com.liferay.portal.kernel.repository.model.FileEntry fileEntry) |
void |
cleanUp(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
void |
copy(com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion) |
void |
exportGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.xml.Element fileEntryElement) |
void |
generateMetadata(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
String |
getType() |
void |
importGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext,
com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileEntry importedFileEntry,
com.liferay.portal.kernel.xml.Element fileEntryElement) |
boolean |
isSupported(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
boolean |
isSupported(String mimeType) |
void |
saveMetadata(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
void |
trigger(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
void |
trigger(com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion,
com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion) |
public void afterPropertiesSet()
afterPropertiesSet
in interface com.liferay.document.library.kernel.util.DLProcessor
public void cleanUp(com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
cleanUp
in interface com.liferay.document.library.kernel.util.DLProcessor
cleanUp
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public void cleanUp(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
cleanUp
in interface com.liferay.document.library.kernel.util.DLProcessor
cleanUp
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public void copy(com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion, com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion)
copy
in interface com.liferay.document.library.kernel.util.DLProcessor
public void exportGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.xml.Element fileEntryElement)
exportGeneratedFiles
in interface com.liferay.document.library.kernel.util.DLProcessor
public void generateMetadata(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
generateMetadata
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public String getType()
getType
in interface com.liferay.document.library.kernel.util.DLProcessor
public void importGeneratedFiles(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext, com.liferay.portal.kernel.repository.model.FileEntry fileEntry, com.liferay.portal.kernel.repository.model.FileEntry importedFileEntry, com.liferay.portal.kernel.xml.Element fileEntryElement)
importGeneratedFiles
in interface com.liferay.document.library.kernel.util.DLProcessor
public boolean isSupported(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
isSupported
in interface com.liferay.document.library.kernel.util.DLProcessor
isSupported
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public boolean isSupported(String mimeType)
isSupported
in interface com.liferay.document.library.kernel.util.DLProcessor
isSupported
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public void saveMetadata(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) throws com.liferay.portal.kernel.exception.PortalException
saveMetadata
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
com.liferay.portal.kernel.exception.PortalException
public void trigger(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
trigger
in interface com.liferay.document.library.kernel.util.RawMetadataProcessor
public void trigger(com.liferay.portal.kernel.repository.model.FileVersion sourceFileVersion, com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion)
trigger
in interface com.liferay.document.library.kernel.util.DLProcessor