org.broadleafcommerce.admin.client.presenter.catalog.category
Class CategoryPresenter
java.lang.Object
org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
org.broadleafcommerce.admin.client.presenter.catalog.category.CategoryPresenter
- All Implemented Interfaces:
- EntityPresenter, Instantiable
public class CategoryPresenter
- extends DynamicEntityPresenter
- implements Instantiable
- Author:
- jfischer
| 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 |
| Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter |
addClicked, compileDefaultValuesFromCurrentFilter, containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getInitialValues, getLoaded, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSaveButtonHandlerRegistration, getSelectionChangedHandlerRegistration, itemSaved, loadInitialItem, postSetup, saveClicked, setDisplay, setGridFields, setInitialValues, setReadOnly, setStartState, setupDisplayItems |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapEntityAdd
protected MapStructureEntityEditDialog mapEntityAdd
rootId
protected String rootId
rootName
protected String rootName
featuredPresenter
protected SubPresentable featuredPresenter
mediaPresenter
protected SubPresentable mediaPresenter
allChildCategoriesPresenter
protected AllChildCategoriesPresenter allChildCategoriesPresenter
childProductsPresenter
protected SubPresentable childProductsPresenter
library
protected HashMap<String,Object> library
CategoryPresenter
public CategoryPresenter()
addClicked
protected void addClicked()
- Overrides:
addClicked in class DynamicEntityPresenter
addNewItem
protected void addNewItem(String newItemTitle)
- Overrides:
addNewItem 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(String id)
reloadParentTreeNodeRecords
public void reloadParentTreeNodeRecords(boolean disableCategoryButton)
getMediaMapKeys
protected LinkedHashMap<String,String> getMediaMapKeys()
getMediaEntityView
protected MapStructureEntityEditDialog getMediaEntityView()
getDisplay
public CategoryDisplay getDisplay()
- Specified by:
getDisplay in interface EntityPresenter- Overrides:
getDisplay in class DynamicEntityPresenter
Copyright © 2012. All Rights Reserved.