Interface DataMappingToRecordIdLocal


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

      • JNDINAME

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

        static final java.lang.String MAPPED_NAME
        The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.datamapping.DataMappingToRecordId".
        See Also:
        Constant Field Values
    • Method Detail

      • bucketsToRecordIds

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

        java.util.List<RecordId> cordsToRecordIds​(java.util.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

        java.util.List<RecordId> keyValuesToRecordIds​(java.util.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

        java.util.List<RecordId> mediaAssetsToRecordIds​(java.util.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

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

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

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

        java.util.List<RecordId> planningsToRecordIds​(java.util.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

        java.util.List<RecordId> planningsToRecordIdsGeneric​(java.util.List<Planning> inputList,
                                                             Context context,
                                                             java.lang.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

        java.util.List<RecordId> planningsToPlanningRecordIds​(java.util.List<Planning> inputList,
                                                              Context context,
                                                              java.lang.String idProperty,
                                                              java.lang.String id2Property,
                                                              java.lang.String id3Property,
                                                              java.lang.String stringIdProperty,
                                                              java.lang.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