Interface DataMappingFromStringLocal
public interface DataMappingFromStringLocal
The interface Data mapping from string local.
-
Method Summary
Modifier and TypeMethodDescriptiondelimitedStringToTextList(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String reqRecords, String delimiter, String prefix, String suffix) Split delimited string and assign to TextslocalizedStringToText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Applies new value to the best matching (regarding localization) text.stringsToKeyValues(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Applies values of input to KeyValue objects according to the actual order.stringsToKeyValueValuesByKey(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String key) Map all values associated to the given key to a string liststringsToTextList(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Sets the new values to available Texts according to input and data source orderstringToBucketLabel(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Sets the bucket label to the new value provided.stringToBucketProperty(List<String> in, String entityModelIdentifier, String entityId, String bucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) sets a Bucket property.stringToFirstKeyValue(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator) Sets a property specified by designator to the first KeyValuestringToFirstKeyValueByKey(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String key, String designator) Sets the KeyValue property specified by designator of a KeyValue object with the given keystringToFirstMediaAssetFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) Sets the PATH of the first MediaAsset of a certain type / mediastringToFirstMediaAssetFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) Sets the URL of the first MediaAsset of a certain type / mediastringToFirstMediaAssetText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Sets the first text of the first MediaAssetstringToFirstPrice(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator) Sets Price property specified by designator of the first PricestringToFirstText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) ets the first Texts valuestringToFirstTextIfExists(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Sets the first Texts value, if a Text existsstringToFirstTextOfAncestorBucket(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String ancestorEntityId, String resultEntityId, Context context, String searchStr, int level) Go back n levels in bucket tree and map the specified text of that bucket to a String List.stringToLastMediaAssetFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) Sets the PATH of the last MediaAsset of a certain type / mediastringToLastMediaAssetFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) Sets the URL of the last MediaAsset of a certain type / mediastringToLastText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) Sets the last Texts valuestringToMediaAssetListFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String record, String type, String media) Sets the PATH of MediaAssets with given type / mediastringToMediaAssetListFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String record, String type, String media) Sets the URL of MediaAssets with given type / mediastringToMediaAssetProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) sets a MediaAsset property.stringToNthPrice(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator, int nth) Sets Price property specified by designator of the nth PricestringToPriceProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) sets a Price property.stringToTableDataProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) sets a TableData property.stringToText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, int nth) Map the nth entry of a text list to a stringstringToTextProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) sets a Text property.
-
Method Details
-
stringToBucketLabel
List<Bucket> stringToBucketLabel(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Sets the bucket label to the new value provided.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstTextIfExists
List<Text> stringToFirstTextIfExists(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Sets the first Texts value, if a Text exists- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstText
List<Text> stringToFirstText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException ets the first Texts value- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
localizedStringToText
List<Text> localizedStringToText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Applies new value to the best matching (regarding localization) text.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToText
List<Text> stringToText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, int nth) throws PubServerException Map the nth entry of a text list to a string- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strnth- the nth- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToLastText
List<Text> stringToLastText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Sets the last Texts value- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringsToTextList
List<Text> stringsToTextList(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Sets the new values to available Texts according to input and data source order- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
delimitedStringToTextList
List<Text> delimitedStringToTextList(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String reqRecords, String delimiter, String prefix, String suffix) throws PubServerException Split delimited string and assign to Texts- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strreqRecords- the req recordsdelimiter- the delimiterprefix- the prefixsuffix- the suffix- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstTextOfAncestorBucket
List<Text> stringToFirstTextOfAncestorBucket(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String ancestorEntityId, String resultEntityId, Context context, String searchStr, int level) throws PubServerException Go back n levels in bucket tree and map the specified text of that bucket to a String List.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierancestorEntityId- the ancestor entity idresultEntityId- the result entity idcontext- the contextsearchStr- the search strlevel- the level- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstKeyValue
List<KeyValue> stringToFirstKeyValue(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator) throws PubServerException Sets a property specified by designator to the first KeyValue- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strdesignator- the designator- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstKeyValueByKey
List<KeyValue> stringToFirstKeyValueByKey(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String key, String designator) throws PubServerException Sets the KeyValue property specified by designator of a KeyValue object with the given key- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strkey- the keydesignator- the designator- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringsToKeyValues
List<KeyValue> stringsToKeyValues(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Applies values of input to KeyValue objects according to the actual order.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringsToKeyValueValuesByKey
List<KeyValue> stringsToKeyValueValuesByKey(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String key) throws PubServerException Map all values associated to the given key to a string list- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strkey- the key- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToMediaAssetListFileUrl
List<MediaAsset> stringToMediaAssetListFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String record, String type, String media) throws PubServerException Sets the URL of MediaAssets with given type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strrecord- the recordtype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstMediaAssetFileUrl
List<MediaAsset> stringToFirstMediaAssetFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) throws PubServerException Sets the URL of the first MediaAsset of a certain type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strmediaAssets- the media assetstype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToLastMediaAssetFileUrl
List<MediaAsset> stringToLastMediaAssetFileUrl(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) throws PubServerException Sets the URL of the last MediaAsset of a certain type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strmediaAssets- the media assetstype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToMediaAssetListFilePath
List<MediaAsset> stringToMediaAssetListFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String record, String type, String media) throws PubServerException Sets the PATH of MediaAssets with given type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strrecord- the recordtype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstMediaAssetFilePath
List<MediaAsset> stringToFirstMediaAssetFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) throws PubServerException Sets the PATH of the first MediaAsset of a certain type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strmediaAssets- the media assetstype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToLastMediaAssetFilePath
List<MediaAsset> stringToLastMediaAssetFilePath(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, List<MediaAsset> mediaAssets, String type, String media) throws PubServerException Sets the PATH of the last MediaAsset of a certain type / media- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strmediaAssets- the media assetstype- the typemedia- the media- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstMediaAssetText
List<MediaAsset> stringToFirstMediaAssetText(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr) throws PubServerException Sets the first text of the first MediaAsset- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search str- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToFirstPrice
List<Price> stringToFirstPrice(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator) throws PubServerException Sets Price property specified by designator of the first Price- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strdesignator- the designator- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToNthPrice
List<Price> stringToNthPrice(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String designator, int nth) throws PubServerException Sets Price property specified by designator of the nth Price- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strdesignator- the designatornth- the nth- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToBucketProperty
List<Bucket> stringToBucketProperty(List<String> in, String entityModelIdentifier, String entityId, String bucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) throws PubServerException sets a Bucket property.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idbucketId- the bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strpropertyName- the property name- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToMediaAssetProperty
List<MediaAsset> stringToMediaAssetProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) throws PubServerException sets a MediaAsset property.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strpropertyName- the property name- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToPriceProperty
List<Price> stringToPriceProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) throws PubServerException sets a Price property.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strpropertyName- the property name- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToTextProperty
List<Text> stringToTextProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) throws PubServerException sets a Text property.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strpropertyName- the property name- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-
stringToTableDataProperty
List<TableData> stringToTableDataProperty(List<String> in, String entityModelIdentifier, String entityId, String parentBucketId, String recordGroupIdentifier, String resultEntityId, Context context, String searchStr, String propertyName) throws PubServerException sets a TableData property.- Parameters:
in- the inentityModelIdentifier- the entity model identifierentityId- the entity idparentBucketId- the parent bucket idrecordGroupIdentifier- the record group identifierresultEntityId- the result entity idcontext- the contextsearchStr- the search strpropertyName- the property name- Returns:
- the list
- Throws:
PubServerException- the pub server exception
-