Class PullMediaDataTranslator

java.lang.Object
de.hybris.y2ysync.impex.PullMediaDataTranslator
All Implemented Interfaces:
SpecialValueTranslator

public class PullMediaDataTranslator extends Object implements SpecialValueTranslator
Allows to transfer media data from a source platform to another target platform like this: Export: It's assembling a URL which shall be accessible be the target system. For that a 'baseURL' ImpEx property may be specified. If that's omitted the platform property 'y2ysync.home.url' will be used. INSERT_UPDATE Media; @doesntMatter[translator=de.hybris.y2ysync.impexmc.PullMediaDataTranslator, baseURL='http://public.host.url']; Import: When importing it's simply pulling the data from the previously exported URL and calls Media.setDataFromStream(InputStream).