Interface DataMappingToPreviewLocal
-
public interface DataMappingToPreviewLocalThe interface Data mapping to preview local.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJNDINAMEThe constant JNDINAME.static java.lang.StringMAPPED_NAMEThe constant MAPPED_NAME.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreviewcreatePreviewFromBucket(Bucket in, CometPreviewResultProperties resultProperties)Create preview from bucket preview.PreviewcreatePreviewFromKeyValue(KeyValue in, CometPreviewResultProperties resultProperties)Create preview from key value preview.PreviewcreatePreviewFromPrice(Price in, CometPreviewResultProperties resultProperties)Create preview from price preview.PreviewcreatePreviewFromText(Text in, CometPreviewResultProperties resultProperties)Create preview from text preview.java.util.List<Preview>createPreviewsFromMediaAsset(MediaAsset in, CometPreviewResultProperties resultProperties)Create previews from media asset list.java.util.List<Preview>objectsToPreviews(java.util.List<?> inputList, java.lang.String methodKey)Objects to previews list.
-
-
-
Field Detail
-
JNDINAME
static final java.lang.String JNDINAME
The constant JNDINAME.- See Also:
- Constant Field Values
-
MAPPED_NAME
static final java.lang.String MAPPED_NAME
The constant MAPPED_NAME.- See Also:
- Constant Field Values
-
-
Method Detail
-
objectsToPreviews
java.util.List<Preview> objectsToPreviews(java.util.List<?> inputList, java.lang.String methodKey) throws CometException
Objects to previews list.- Parameters:
inputList- the input listmethodKey- the method key- Returns:
- the list
- Throws:
CometException- the comet exception
-
createPreviewsFromMediaAsset
java.util.List<Preview> createPreviewsFromMediaAsset(MediaAsset in, CometPreviewResultProperties resultProperties) throws CometException
Create previews from media asset list.- Parameters:
in- the inresultProperties- the result properties- Returns:
- the list
- Throws:
CometException- the comet exception
-
createPreviewFromText
Preview createPreviewFromText(Text in, CometPreviewResultProperties resultProperties) throws CometException
Create preview from text preview.- Parameters:
in- the inresultProperties- the result properties- Returns:
- the preview
- Throws:
CometException- the comet exception
-
createPreviewFromBucket
Preview createPreviewFromBucket(Bucket in, CometPreviewResultProperties resultProperties) throws CometException
Create preview from bucket preview.- Parameters:
in- the inresultProperties- the result properties- Returns:
- the preview
- Throws:
CometException- the comet exception
-
createPreviewFromKeyValue
Preview createPreviewFromKeyValue(KeyValue in, CometPreviewResultProperties resultProperties) throws CometException
Create preview from key value preview.- Parameters:
in- the inresultProperties- the result properties- Returns:
- the preview
- Throws:
CometException- the comet exception
-
createPreviewFromPrice
Preview createPreviewFromPrice(Price in, CometPreviewResultProperties resultProperties) throws CometException
Create preview from price preview.- Parameters:
in- the inresultProperties- the result properties- Returns:
- the preview
- Throws:
CometException- the comet exception
-
-