org.broadleafcommerce.cms.admin.client.presenter.structure
Class StructuredContentPresenter

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.cms.admin.client.presenter.structure.StructuredContentPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable

public class StructuredContentPresenter
extends DynamicEntityPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  AdditionalFilterEventManager additionalFilterEventManager
           
protected  String currentStructuredContentId
           
protected  Integer currentStructuredContentPos
           
protected  com.smartgwt.client.data.Record currentStructuredContentRecord
           
protected  com.google.gwt.event.shared.HandlerRegistration extendedFetchDataHandlerRegistration
           
protected  StructuredContentPresenterExtractor extractor
           
protected  StructuredContentRuleBasedPresenterInitializer initializer
           
protected  com.google.gwt.event.shared.HandlerRegistration refreshButtonHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration ruleRefreshButtonHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration ruleSaveButtonHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, collectionMetadatas, disabled, display, entityTypeChangedHandlerRegistration, fetchDataHandlerRegistration, formPresenter, gridFields, gridHelper, initialValues, lastSelectedRecord, loaded, modifierList, presenterSequenceSetupManager, removeClickHandlerRegistration, selectionChangedHandlerRegistration, showArchivedButtonHandlerRegistration, subPresentables, viewModifierDataSourceMap
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
StructuredContentPresenter()
           
 
Method Summary
protected  void addClicked()
           
 void bind()
           
protected  void bindItemBuilderEvents(ItemBuilderDisplay display)
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
protected  void destroyContentTypeForm()
           
protected  void disableRules()
           
protected  void enableRules()
           
 StructuredContentDisplay getDisplay()
           
protected  void loadContentTypeForm(com.smartgwt.client.data.Record selectedRecord, FilterRestartCallback cb)
           
protected  void refresh()
           
protected  void removeClicked()
           
protected  void resetButtons()
           
protected  void save()
           
 void setup()
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClicked, addNewItem, changeSelectionWrapper, compileDefaultValuesFromCurrentFilter, containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getInitialValues, getLoaded, getModifierList, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSaveButtonHandlerRegistration, getSelectionChangedHandlerRegistration, getSubPresentables, initializeAdvancedCollections, initializeLookup, itemSaved, loadInitialItem, postSetup, 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

saveButtonHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration

refreshButtonHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration refreshButtonHandlerRegistration

ruleSaveButtonHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration ruleSaveButtonHandlerRegistration

ruleRefreshButtonHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration ruleRefreshButtonHandlerRegistration

extendedFetchDataHandlerRegistration

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

currentStructuredContentRecord

protected com.smartgwt.client.data.Record currentStructuredContentRecord

currentStructuredContentId

protected String currentStructuredContentId

currentStructuredContentPos

protected Integer currentStructuredContentPos

initializer

protected StructuredContentRuleBasedPresenterInitializer initializer

extractor

protected StructuredContentPresenterExtractor extractor

additionalFilterEventManager

protected AdditionalFilterEventManager additionalFilterEventManager
Constructor Detail

StructuredContentPresenter

public StructuredContentPresenter()
Method Detail

removeClicked

protected void removeClicked()
Overrides:
removeClicked in class DynamicEntityPresenter

destroyContentTypeForm

protected void destroyContentTypeForm()

enableRules

protected void enableRules()

disableRules

protected void disableRules()

addClicked

protected void addClicked()
Overrides:
addClicked in class DynamicEntityPresenter

changeSelection

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

loadContentTypeForm

protected void loadContentTypeForm(com.smartgwt.client.data.Record selectedRecord,
                                   FilterRestartCallback cb)

bind

public void bind()
Overrides:
bind in class DynamicEntityPresenter

save

protected void save()

refresh

protected void refresh()

bindItemBuilderEvents

protected void bindItemBuilderEvents(ItemBuilderDisplay display)

resetButtons

protected void resetButtons()

setup

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

getDisplay

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


Copyright © 2013. All Rights Reserved.