com.konakartadmin.blif
Interface PublishProductsIf


public interface PublishProductsIf

Defines the interface for PublishProducts


Method Summary
 void publishAllProducts(java.lang.String logFileName)
           
 java.lang.String publishProduct(AdminProduct product)
           
 java.lang.String readProduct(AdminPublishConfig adminPublishConfig, java.lang.String productKey)
          Read Products
 java.lang.String readProducts(AdminPublishConfig adminPublishConfig)
          Read Products
 void removeAllProducts()
           
 void removeProduct(int productId)
           
 

Method Detail

publishAllProducts

void publishAllProducts(java.lang.String logFileName)
                        throws java.lang.Exception
Parameters:
logFileName -
Throws:
java.lang.Exception

publishProduct

java.lang.String publishProduct(AdminProduct product)
                                throws java.lang.Exception
Parameters:
product -
Returns:
the key of the inserted product
Throws:
java.lang.Exception

readProduct

java.lang.String readProduct(AdminPublishConfig adminPublishConfig,
                             java.lang.String productKey)
                             throws java.lang.Exception
Read Products

Parameters:
adminPublishConfig -
productKey - key used to retrieve the product
Returns:
a String representing the product read
Throws:
java.lang.Exception

readProducts

java.lang.String readProducts(AdminPublishConfig adminPublishConfig)
                              throws java.lang.Exception
Read Products

Parameters:
adminPublishConfig -
Returns:
a String representing the products read
Throws:
java.lang.Exception

removeAllProducts

void removeAllProducts()
                       throws java.lang.Exception
Throws:
java.lang.Exception

removeProduct

void removeProduct(int productId)
                   throws java.lang.Exception
Parameters:
productId -
Throws:
java.lang.Exception


Copyright © 2011 DS Data Systems UK Ltd.