Interface DataMappingToProductLocal


  • public interface DataMappingToProductLocal
    The interface Data mapping to product local.
    • 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

      • bucketsToProducts

        java.util.List<Product> bucketsToProducts​(java.util.List<Bucket> inputList,
                                                  java.lang.String sessionId,
                                                  java.lang.String parentEntityId,
                                                  java.lang.String parentBucketId,
                                                  java.lang.String entityModelName,
                                                  Context context)
                                           throws CometException
        Buckets to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • cordsToProducts

        java.util.List<Product> cordsToProducts​(java.util.List<Cord> inputList,
                                                java.lang.String sessionId,
                                                java.lang.String parentEntityId,
                                                java.lang.String parentBucketId,
                                                java.lang.String entityModelName,
                                                Context context)
                                         throws CometException
        Cords to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • keyValuesToProducts

        java.util.List<Product> keyValuesToProducts​(java.util.List<KeyValue> inputList,
                                                    java.lang.String sessionId,
                                                    java.lang.String parentEntityId,
                                                    java.lang.String parentBucketId,
                                                    java.lang.String entityModelName,
                                                    Context context)
                                             throws CometException
        Key values to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • mediaAssetsToProducts

        java.util.List<Product> mediaAssetsToProducts​(java.util.List<MediaAsset> inputList,
                                                      java.lang.String sessionId,
                                                      java.lang.String parentEntityId,
                                                      java.lang.String parentBucketId,
                                                      java.lang.String entityModelName,
                                                      Context context)
                                               throws CometException
        Media assets to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • pricesToProducts

        java.util.List<Product> pricesToProducts​(java.util.List<Price> inputList,
                                                 java.lang.String sessionId,
                                                 java.lang.String parentEntityId,
                                                 java.lang.String parentBucketId,
                                                 java.lang.String entityModelName,
                                                 Context context)
                                          throws CometException
        Prices to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • textsToProducts

        java.util.List<Product> textsToProducts​(java.util.List<Text> inputList,
                                                java.lang.String sessionId,
                                                java.lang.String parentEntityId,
                                                java.lang.String parentBucketId,
                                                java.lang.String entityModelName,
                                                Context context)
                                         throws CometException
        Texts to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • tableDataToProducts

        java.util.List<Product> tableDataToProducts​(java.util.List<TableData> inputList,
                                                    java.lang.String sessionId,
                                                    java.lang.String parentEntityId,
                                                    java.lang.String parentBucketId,
                                                    java.lang.String entityModelName,
                                                    Context context)
                                             throws CometException
        Table data to products list.
        Parameters:
        inputList - the input list
        sessionId - the session id
        parentEntityId - the parent entity id
        parentBucketId - the parent bucket id
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • createProductFromBucket

        Product createProductFromBucket​(Bucket bucket,
                                        EntityModel model,
                                        Bucket parent)
                                 throws CometException
        Create product from bucket product.
        Parameters:
        bucket - the bucket
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromCord

        Product createProductFromCord​(Cord cord,
                                      EntityModel model,
                                      Bucket parent)
                               throws CometException
        Create product from cord product.
        Parameters:
        cord - the cord
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromKeyValue

        Product createProductFromKeyValue​(KeyValue keyValue,
                                          EntityModel model,
                                          Bucket parent)
                                   throws CometException
        Create product from key value product.
        Parameters:
        keyValue - the key value
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromMediaAsset

        Product createProductFromMediaAsset​(MediaAsset asset,
                                            EntityModel model,
                                            Bucket parent)
                                     throws CometException
        Create product from media asset product.
        Parameters:
        asset - the asset
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromPrice

        Product createProductFromPrice​(Price price,
                                       EntityModel model,
                                       Bucket parent)
                                throws CometException
        Create product from price product.
        Parameters:
        price - the price
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromText

        Product createProductFromText​(Text text,
                                      EntityModel model,
                                      Bucket parent)
                               throws CometException
        Create product from text product.
        Parameters:
        text - the text
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • createProductFromTableData

        Product createProductFromTableData​(TableData data,
                                           EntityModel model,
                                           Bucket parent)
                                    throws CometException
        Create product from table data product.
        Parameters:
        data - the data
        model - the model
        parent - the parent
        Returns:
        the product
        Throws:
        CometException - the comet exception
      • bucketsToProducts

        java.util.List<Product> bucketsToProducts​(java.util.List<Bucket> inputList,
                                                  Bucket parent,
                                                  java.lang.String entityModelName,
                                                  Context context)
                                           throws CometException
        Buckets to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • bucketsToProducts

        java.util.List<Product> bucketsToProducts​(java.util.List<Bucket> inputList,
                                                  java.lang.String entityModelName,
                                                  Context context)
                                           throws CometException
        Buckets to products list.
        Parameters:
        inputList - the input list
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • cordsToProducts

        java.util.List<Product> cordsToProducts​(java.util.List<Cord> inputList,
                                                Bucket parent,
                                                java.lang.String entityModelName,
                                                Context context)
                                         throws CometException
        Cords to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • keyValuesToProducts

        java.util.List<Product> keyValuesToProducts​(java.util.List<KeyValue> inputList,
                                                    Bucket parent,
                                                    java.lang.String entityModelName,
                                                    Context context)
                                             throws CometException
        Key values to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • mediaAssetsToProducts

        java.util.List<Product> mediaAssetsToProducts​(java.util.List<MediaAsset> inputList,
                                                      Bucket parent,
                                                      java.lang.String entityModelName,
                                                      Context context)
                                               throws CometException
        Media assets to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • pricesToProducts

        java.util.List<Product> pricesToProducts​(java.util.List<Price> inputList,
                                                 Bucket parent,
                                                 java.lang.String entityModelName,
                                                 Context context)
                                          throws CometException
        Prices to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • textsToProducts

        java.util.List<Product> textsToProducts​(java.util.List<Text> inputList,
                                                Bucket parent,
                                                java.lang.String entityModelName,
                                                Context context)
                                         throws CometException
        Texts to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • tableDataToProducts

        java.util.List<Product> tableDataToProducts​(java.util.List<TableData> inputList,
                                                    Bucket parent,
                                                    java.lang.String entityModelName,
                                                    Context context)
                                             throws CometException
        Table data to products list.
        Parameters:
        inputList - the input list
        parent - the parent
        entityModelName - the entity model name
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • planningsToProducts

        java.util.List<Product> planningsToProducts​(java.util.List<Planning> inputList,
                                                    Context context)
                                             throws CometException
        Plannings to products list.
        Parameters:
        inputList - the input list
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • planningsToProducts

        java.util.List<Product> planningsToProducts​(java.util.List<Planning> inputList,
                                                    int mappingType,
                                                    Context context)
                                             throws CometException
        Plannings to products list.
        Parameters:
        inputList - the input list
        mappingType - the mapping type
        context - the context
        Returns:
        the list
        Throws:
        CometException - the comet exception