org.broadleafcommerce.admin.client.presenter.catalog.category
Class CategoryPresenter

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.category.CategoryPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable

public class CategoryPresenter
extends DynamicEntityPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  AllChildCategoriesPresenter allChildCategoriesPresenter
           
protected  ListGridDataSource categorySearchDataSource
           
protected  SubPresentable childProductsPresenter
           
protected  SubPresentable featuredPresenter
           
protected  java.util.HashMap<java.lang.String,java.lang.Object> library
           
protected  MapStructureEntityEditDialog mapEntityAdd
           
protected  SubPresentable mediaPresenter
           
protected  java.lang.String rootId
           
protected  java.lang.String rootName
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, disabled, display, entityTypeChangedHandlerRegistration, formPresenter, lastSelectedRecord, loaded, presenterSequenceSetupManager, removeClickHandlerRegistration, selectionChangedHandlerRegistration
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
eventBus
 
Constructor Summary
CategoryPresenter()
           
 
Method Summary
protected  void addClicked()
           
 void bind()
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
 CategoryDisplay getDisplay()
           
protected  MapStructureEntityEditDialog getMediaEntityView()
           
protected  java.util.LinkedHashMap<java.lang.String,java.lang.String> getMediaMapKeys()
           
 void reloadAllChildRecordsForId(java.lang.String id)
           
 void reloadParentTreeNodeRecords(boolean disableCategoryButton)
           
protected  void removeClicked()
           
 void setup()
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getLoaded, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSelectionChangedHandlerRegistration, postSetup, setAddNewItemTitle, setDisplay, setFetchAfterAddCriteria, setGridFields, setReadOnly, setStartState, setupDisplayItems
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
getEventBus, 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

categorySearchDataSource

protected ListGridDataSource categorySearchDataSource

rootId

protected java.lang.String rootId

rootName

protected java.lang.String rootName

featuredPresenter

protected SubPresentable featuredPresenter

mediaPresenter

protected SubPresentable mediaPresenter

allChildCategoriesPresenter

protected AllChildCategoriesPresenter allChildCategoriesPresenter

childProductsPresenter

protected SubPresentable childProductsPresenter

library

protected java.util.HashMap<java.lang.String,java.lang.Object> library
Constructor Detail

CategoryPresenter

public CategoryPresenter()
Method Detail

addClicked

protected void addClicked()
Overrides:
addClicked in class DynamicEntityPresenter

removeClicked

protected void removeClicked()
Overrides:
removeClicked in class DynamicEntityPresenter

changeSelection

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

bind

public void bind()
Overrides:
bind in class DynamicEntityPresenter

setup

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

reloadAllChildRecordsForId

public void reloadAllChildRecordsForId(java.lang.String id)

reloadParentTreeNodeRecords

public void reloadParentTreeNodeRecords(boolean disableCategoryButton)

getMediaMapKeys

protected java.util.LinkedHashMap<java.lang.String,java.lang.String> getMediaMapKeys()

getMediaEntityView

protected MapStructureEntityEditDialog getMediaEntityView()

getDisplay

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


Copyright © 2011. All Rights Reserved.