Interface DataMappingToRecordIdLocal


public interface DataMappingToRecordIdLocal
The interface Data mapping to record id local.
  • Field Details

    • JNDINAME

      static final String JNDINAME
      The constant JNDINAME "java:global/CometDataMapping/DataMappingToRecordId!com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordIdLocal".
      See Also:
    • MAPPED_NAME

      static final String MAPPED_NAME
      The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordId".
      See Also:
  • Method Details

    • bucketsToRecordIds

      List<RecordId> bucketsToRecordIds(List<Bucket> buckets) throws CometException
      Buckets to record ids list.
      Parameters:
      buckets - the buckets
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • cordsToRecordIds

      List<RecordId> cordsToRecordIds(List<Cord> cords) throws CometException
      Cords to record ids list.
      Parameters:
      cords - the cords
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • createRecordIdFromBucket

      RecordId createRecordIdFromBucket(Bucket bucket)
      Create record id from bucket record id.
      Parameters:
      bucket - the bucket
      Returns:
      the record id
    • createRecordIdFromCord

      RecordId createRecordIdFromCord(Cord cord)
      Create record id from cord record id.
      Parameters:
      cord - the cord
      Returns:
      the record id
    • createRecordIdFromKeyValue

      RecordId createRecordIdFromKeyValue(KeyValue keyValue)
      Create record id from key value record id.
      Parameters:
      keyValue - the key value
      Returns:
      the record id
    • createRecordIdFromMediaAsset

      RecordId createRecordIdFromMediaAsset(MediaAsset mediaAsset)
      Create record id from media asset record id.
      Parameters:
      mediaAsset - the media asset
      Returns:
      the record id
    • createRecordIdFromPrice

      RecordId createRecordIdFromPrice(Price price)
      Create record id from price record id.
      Parameters:
      price - the price
      Returns:
      the record id
    • createRecordIdFromText

      RecordId createRecordIdFromText(Text text)
      Create record id from text record id.
      Parameters:
      text - the text
      Returns:
      the record id
    • createRecordIdFromTocEntry

      RecordId createRecordIdFromTocEntry(CometTocEntry entry)
      Create record id from toc entry record id.
      Parameters:
      entry - the entry
      Returns:
      the record id
    • keyValuesToRecordIds

      List<RecordId> keyValuesToRecordIds(List<KeyValue> keyValues) throws CometException
      Key values to record ids list.
      Parameters:
      keyValues - the key values
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • mediaAssetsToRecordIds

      List<RecordId> mediaAssetsToRecordIds(List<MediaAsset> mediaAssets) throws CometException
      Media assets to record ids list.
      Parameters:
      mediaAssets - the media assets
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • pricesToRecordIds

      List<RecordId> pricesToRecordIds(List<Price> prices) throws CometException
      Prices to record ids list.
      Parameters:
      prices - the prices
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • textsToRecordIds

      List<RecordId> textsToRecordIds(List<Text> texts) throws CometException
      Texts to record ids list.
      Parameters:
      texts - the texts
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • tocEntriesToRecordId

      List<RecordId> tocEntriesToRecordId(List<CometTocEntry> entries) throws CometException
      Toc entries to record id list.
      Parameters:
      entries - the entries
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • planningsToRecordIds

      List<RecordId> planningsToRecordIds(List<Planning> inputList, Context context) throws CometException
      Plannings to record ids list.
      Parameters:
      inputList - the input list
      context - the context
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • createRecordIdFromPlanning

      RecordId createRecordIdFromPlanning(Planning planning, Context context) throws CometException
      Create record id from planning record id.
      Parameters:
      planning - the planning
      context - the context
      Returns:
      the record id
      Throws:
      CometException - the comet exception
    • planningsToRecordIdsGeneric

      List<RecordId> planningsToRecordIdsGeneric(List<Planning> inputList, Context context, String groupNameProperty) throws CometException
      Plannings to record ids generic list.
      Parameters:
      inputList - the input list
      context - the context
      groupNameProperty - the group name property
      Returns:
      the list
      Throws:
      CometException - the comet exception
    • planningsToPlanningRecordIds

      List<RecordId> planningsToPlanningRecordIds(List<Planning> inputList, Context context, String idProperty, String id2Property, String id3Property, String stringIdProperty, String groupNameProperty) throws CometException
      Plannings to planning record ids list.
      Parameters:
      inputList - the input list
      context - the context
      idProperty - the id property
      id2Property - the id 2 property
      id3Property - the id 3 property
      stringIdProperty - the string id property
      groupNameProperty - the group name property
      Returns:
      the list
      Throws:
      CometException - the comet exception