atg.commerce.promotion
Interface PromotionImportExportIntegrator


public interface PromotionImportExportIntegrator

This class defines an interface for promotion import export actions. This action interface enables integrators to inject additional custom functionality at various points within the promotion import export process.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 void postImportExportSession(PromotionImportExportSession pSession)
          postImportExportSession This method is called by the PromotionImportExport's endImportExportSession method.
 void postImportPromotion(PromotionImportExportSession pSession, PromotionImportExportInfo pPromotion)
          postImportPromotion This method is called at the end of the PromotionImportExport's importPromotion method.
 void preImportExportSession(PromotionImportExportSession pSession)
          preImportExportSession This method is called by the PromotionImportExport's startImportExportSession method.
 void preImportPromotion(PromotionImportExportSession pSession, PromotionImportExportInfo pPromotion)
          preImportPromotion This method is called at the beginning of the PromotionImportExport's importPromotion method.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

preImportExportSession

void preImportExportSession(PromotionImportExportSession pSession)
                            throws atg.commerce.promotion.PromotionException
preImportExportSession This method is called by the PromotionImportExport's startImportExportSession method. It is called after the session has been established.

Parameters:
pSession - - the import export session.
Throws:
atg.commerce.promotion.PromotionException

postImportExportSession

void postImportExportSession(PromotionImportExportSession pSession)
                             throws atg.commerce.promotion.PromotionException
postImportExportSession This method is called by the PromotionImportExport's endImportExportSession method. It is called before the end session processing begins.

Parameters:
pSession - - the import export session.
Throws:
atg.commerce.promotion.PromotionException

preImportPromotion

void preImportPromotion(PromotionImportExportSession pSession,
                        PromotionImportExportInfo pPromotion)
                        throws atg.commerce.promotion.PromotionException
preImportPromotion This method is called at the beginning of the PromotionImportExport's importPromotion method.

Parameters:
pSession - - the import export session.
pPromotion - - the promotion details for the import.
Throws:
atg.commerce.promotion.PromotionException

postImportPromotion

void postImportPromotion(PromotionImportExportSession pSession,
                         PromotionImportExportInfo pPromotion)
                         throws atg.commerce.promotion.PromotionException
postImportPromotion This method is called at the end of the PromotionImportExport's importPromotion method.

Parameters:
pSession - - the import export session.
pPromotion - - the promotion details for the import.
Throws:
atg.commerce.promotion.PromotionException