org.broadleafcommerce.admin.client.presenter.promotion
Class OfferPresenterExtractor

java.lang.Object
  extended by org.broadleafcommerce.admin.client.presenter.promotion.OfferPresenterExtractor

public class OfferPresenterExtractor
extends Object

Author:
jfischer

Field Summary
protected  OfferPresenter presenter
           
 
Constructor Summary
OfferPresenterExtractor(OfferPresenter presenter)
           
 
Method Summary
 void applyData(com.smartgwt.client.data.Record selectedRecord)
           
protected  void extractCustomerData(com.smartgwt.client.data.Record selectedRecord, Map<String,Object> dirtyValues)
           
protected  void extractFulfillmentGroupData(com.smartgwt.client.data.Record selectedRecord, String type, Map<String,Object> dirtyValues)
           
protected  void extractOrderData(com.smartgwt.client.data.Record selectedRecord, String type, Map<String,Object> dirtyValues)
           
protected  void extractQualifierData(com.smartgwt.client.data.Record selectedRecord, String type, boolean isValidation, Map<String,Object> dirtyValues)
           
protected  void extractQualifierRuleType(com.smartgwt.client.data.Record selectedRecord, Map<String,Object> dirtyValues)
           
protected  void extractTargetItemData(com.smartgwt.client.data.Record selectedRecord, String type, Map<String,Object> dirtyValues)
           
protected  void extractTargetRuleType(com.smartgwt.client.data.Record selectedRecord, Map<String,Object> dirtyValues)
           
protected  OfferDisplay getDisplay()
           
 void removeItemQualifer(ItemBuilderDisplay builder)
           
protected  void setData(com.smartgwt.client.data.Record record, String fieldName, Object value, Map<String,Object> dirtyValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

presenter

protected OfferPresenter presenter
Constructor Detail

OfferPresenterExtractor

public OfferPresenterExtractor(OfferPresenter presenter)
Method Detail

getDisplay

protected OfferDisplay getDisplay()

removeItemQualifer

public void removeItemQualifer(ItemBuilderDisplay builder)

setData

protected void setData(com.smartgwt.client.data.Record record,
                       String fieldName,
                       Object value,
                       Map<String,Object> dirtyValues)

applyData

public void applyData(com.smartgwt.client.data.Record selectedRecord)

extractQualifierData

protected void extractQualifierData(com.smartgwt.client.data.Record selectedRecord,
                                    String type,
                                    boolean isValidation,
                                    Map<String,Object> dirtyValues)
                             throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractFulfillmentGroupData

protected void extractFulfillmentGroupData(com.smartgwt.client.data.Record selectedRecord,
                                           String type,
                                           Map<String,Object> dirtyValues)
                                    throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractTargetRuleType

protected void extractTargetRuleType(com.smartgwt.client.data.Record selectedRecord,
                                     Map<String,Object> dirtyValues)

extractTargetItemData

protected void extractTargetItemData(com.smartgwt.client.data.Record selectedRecord,
                                     String type,
                                     Map<String,Object> dirtyValues)
                              throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractQualifierRuleType

protected void extractQualifierRuleType(com.smartgwt.client.data.Record selectedRecord,
                                        Map<String,Object> dirtyValues)

extractOrderData

protected void extractOrderData(com.smartgwt.client.data.Record selectedRecord,
                                String type,
                                Map<String,Object> dirtyValues)
                         throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractCustomerData

protected void extractCustomerData(com.smartgwt.client.data.Record selectedRecord,
                                   Map<String,Object> dirtyValues)
                            throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException


Copyright © 2012. All Rights Reserved.