org.broadleafcommerce.admin.client.presenter.catalog.product
Class OneToOneProductSkuPresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
      extended by org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
          extended by org.broadleafcommerce.admin.client.presenter.catalog.product.OneToOneProductSkuPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable

public class OneToOneProductSkuPresenter
extends DynamicEntityPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  SubPresentable crossSalePresenter
           
protected  HashMap<String,Object> library
           
protected  MapStructureEntityEditDialog mapEntityAdd
           
protected  SubPresentable mediaPresenter
           
protected  SubPresentable parentCategoriesPresenter
           
protected  SubPresentable productAttributePresenter
           
protected  EntitySearchDialog productSearchView
           
protected  SubPresentable upSalePresenter
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, disabled, display, entityTypeChangedHandlerRegistration, fetchDataHandlerRegistration, formPresenter, gridFields, initialValues, lastSelectedRecord, loaded, presenterSequenceSetupManager, removeClickHandlerRegistration, saveButtonHandlerRegistration, selectionChangedHandlerRegistration
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
OneToOneProductSkuPresenter()
           
 
Method Summary
protected  void addClicked()
           
 void bind()
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
 OneToOneProductSkuDisplay getDisplay()
           
protected  MapStructureEntityEditDialog getMediaEntityView()
           
protected  LinkedHashMap<String,String> getMediaMapKeys()
           
protected  void itemSaved(com.smartgwt.client.data.DSResponse response, Object rawData, com.smartgwt.client.data.DSRequest request)
           
protected  void saveClicked()
           
 void setup()
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClicked, addNewItem, compileDefaultValuesFromCurrentFilter, containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getInitialValues, getLoaded, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSaveButtonHandlerRegistration, getSelectionChangedHandlerRegistration, loadInitialItem, postSetup, removeClicked, setDisplay, setGridFields, setInitialValues, setReadOnly, setStartState, setupDisplayItems
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
getDefaultItemId, getEventBus, setDefaultItemId, setEventBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapEntityAdd

protected MapStructureEntityEditDialog mapEntityAdd

productSearchView

protected EntitySearchDialog productSearchView

crossSalePresenter

protected SubPresentable crossSalePresenter

upSalePresenter

protected SubPresentable upSalePresenter

mediaPresenter

protected SubPresentable mediaPresenter

productAttributePresenter

protected SubPresentable productAttributePresenter

parentCategoriesPresenter

protected SubPresentable parentCategoriesPresenter

library

protected HashMap<String,Object> library
Constructor Detail

OneToOneProductSkuPresenter

public OneToOneProductSkuPresenter()
Method Detail

changeSelection

protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)
Overrides:
changeSelection in class DynamicEntityPresenter

saveClicked

protected void saveClicked()
Overrides:
saveClicked in class DynamicEntityPresenter

itemSaved

protected void itemSaved(com.smartgwt.client.data.DSResponse response,
                         Object rawData,
                         com.smartgwt.client.data.DSRequest request)
Overrides:
itemSaved in class DynamicEntityPresenter

bind

public void bind()
Overrides:
bind in class DynamicEntityPresenter

addClicked

protected void addClicked()
Overrides:
addClicked in class DynamicEntityPresenter

setup

public void setup()
Specified by:
setup in interface EntityPresenter

getMediaMapKeys

protected LinkedHashMap<String,String> getMediaMapKeys()

getMediaEntityView

protected MapStructureEntityEditDialog getMediaEntityView()

getDisplay

public OneToOneProductSkuDisplay getDisplay()
Specified by:
getDisplay in interface EntityPresenter
Overrides:
getDisplay in class DynamicEntityPresenter


Copyright © 2012. All Rights Reserved.