Interface DataMappingFromStringLocal


public interface DataMappingFromStringLocal
The interface Data mapping from string local.
  • 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      nth - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      reqRecords - the req records
      delimiter - the delimiter
      prefix - the prefix
      suffix - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      ancestorEntityId - the ancestor entity id
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      level - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      designator - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      key - the key
      designator - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      key - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      record - the record
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      mediaAssets - the media assets
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      mediaAssets - the media assets
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      record - the record
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      mediaAssets - the media assets
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      mediaAssets - the media assets
      type - the type
      media - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      designator - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      designator - the designator
      nth - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      bucketId - the bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      propertyName - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      propertyName - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      propertyName - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      propertyName - 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 in
      entityModelIdentifier - the entity model identifier
      entityId - the entity id
      parentBucketId - the parent bucket id
      recordGroupIdentifier - the record group identifier
      resultEntityId - the result entity id
      context - the context
      searchStr - the search str
      propertyName - the property name
      Returns:
      the list
      Throws:
      PubServerException - the pub server exception