public class MultiMediaReferenceCreateHandler extends MediaReferenceCreateHandler
MediaModel for uploaded content collection. It uses the same
parameters as parent class and following one:
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
PARAM_APPEND |
EVENT_CREATE_MEDIA_REFERENCE, NOTIFICATION_SOURCE, PARAM_CATALOG_VERSION, PARAM_MEDIA_CODE_EXP, PARAM_MEDIA_CONTAINER, PARAM_MEDIA_CONTENT_PROPERTY, PARAM_MEDIA_FOLDER, PARAM_MEDIA_FORMAT, PARAM_MEDIA_PROPERTY, PARAM_MEDIA_TYPE, PARAM_SAVE_PARENT_OBJECT| Constructor and Description |
|---|
MultiMediaReferenceCreateHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<MediaModel> |
createMediaCollection(FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String mediaProperty) |
protected java.util.Optional<java.util.List<MediaModel>> |
createMediasForContent(java.util.List<FileUploadResult> uploadedMediaList,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> params) |
protected boolean |
isAppendMode(java.util.Map<java.lang.String,java.lang.String> params) |
void |
perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> params) |
protected java.lang.String |
toFilesNames(java.util.Collection<FileUploadResult> mediasContent) |
beginTransaction, commitTransaction, createMediaReference, createMediaReference, generateMediaCode, getCatalogVersion, getExpressionResolverFactory, getFolder, getMediaContainer, getMediaContent, getMediaFormat, getMediaProperty, getMediaService, getMediaType, getNotificationService, getObjectFacade, getPropertyValue, getReferenceParent, getReferenceProperty, getRetryCount, getTypeService, isCatalogVersionRequired, isSaveParentObjectEnabled, notifyCreateMediaFailed, rollbackTransaction, saveReference, setExpressionResolverFactory, setMediaContent, setMediaService, setNotificationService, setObjectFacade, setRetryCount, setTypeService, tryToCreateMediaprotected static final java.lang.String PARAM_APPEND
public void perform(CustomType customType,
FlowActionHandlerAdapter adapter,
java.util.Map<java.lang.String,java.lang.String> params)
perform in class MediaReferenceCreateHandlerprotected java.util.Optional<java.util.List<MediaModel>> createMediasForContent(java.util.List<FileUploadResult> uploadedMediaList, FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> params)
protected java.util.List<MediaModel> createMediaCollection(FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> params, java.lang.String mediaProperty)
protected boolean isAppendMode(java.util.Map<java.lang.String,java.lang.String> params)
protected java.lang.String toFilesNames(java.util.Collection<FileUploadResult> mediasContent)
Copyright © 2018 SAP SE. All Rights Reserved.