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 bundleItemsPresenter
           
protected  com.google.gwt.event.shared.HandlerRegistration extendedFetchDataHandlerRegistration
           
protected  HashMap<String,Object> library
           
protected  SubPresentable parentCategoriesPresenter
           
protected  AssociatedProductOptionPresenterBasic productOptionsPresenter
           
protected  EntitySearchDialog productSearchView
           
protected  EntitySearchDialog skuSearchView
           
protected  SubPresentable skusPresenter
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, collectionMetadatas, disabled, display, entityTypeChangedHandlerRegistration, fetchDataHandlerRegistration, formPresenter, gridFields, gridHelper, initialValues, lastSelectedRecord, loaded, lookupMetadatas, presenterSequenceSetupManager, removeClickHandlerRegistration, saveButtonHandlerRegistration, selectionChangedHandlerRegistration, showArchivedButtonHandlerRegistration, subPresentables
 
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  void itemSaved(com.smartgwt.client.data.DSResponse response, Object rawData, com.smartgwt.client.data.DSRequest request)
           
 void postSetup(com.smartgwt.client.widgets.Canvas container)
           
 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, removeClicked, saveClicked, setDisplay, setGridFields, setInitialValues, setReadOnly, setStartState, setSubPresentable, 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

productSearchView

protected EntitySearchDialog productSearchView

skuSearchView

protected EntitySearchDialog skuSearchView

parentCategoriesPresenter

protected SubPresentable parentCategoriesPresenter

productOptionsPresenter

protected AssociatedProductOptionPresenterBasic productOptionsPresenter

skusPresenter

protected SubPresentable skusPresenter

bundleItemsPresenter

protected SubPresentable bundleItemsPresenter

library

protected HashMap<String,Object> library

extendedFetchDataHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration extendedFetchDataHandlerRegistration
Constructor Detail

OneToOneProductSkuPresenter

public OneToOneProductSkuPresenter()
Method Detail

changeSelection

protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)
Overrides:
changeSelection 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

postSetup

public void postSetup(com.smartgwt.client.widgets.Canvas container)
Specified by:
postSetup in interface EntityPresenter
Overrides:
postSetup in class DynamicEntityPresenter

getDisplay

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


Copyright © 2012. All Rights Reserved.