org.broadleafcommerce.cms.admin.client.presenter.pages
Class PagesPresenter

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

public class PagesPresenter
extends DynamicEntityPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  AdditionalFilterEventManager additionalFilterEventManager
           
protected  String currentPageId
           
protected  Integer currentPagePos
           
protected  com.smartgwt.client.data.Record currentPageRecord
           
protected  com.google.gwt.event.shared.HandlerRegistration extendedFetchDataHandlerRegistration
           
protected  PagesPresenterExtractor extractor
           
protected  PagesRuleBasedPresenterInitializer initializer
           
protected  EntitySearchDialog pageTemplateDialogView
           
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, lookupMetadatas, presenterSequenceSetupManager, removeClickHandlerRegistration, selectionChangedHandlerRegistration, showArchivedButtonHandlerRegistration, subPresentables
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
PagesPresenter()
           
 
Method Summary
protected  void addClicked()
           
 void bind()
           
 void bindItemBuilderEvents(ItemBuilderDisplay display)
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
protected  void destroyTemplateForm()
           
 PagesDisplay getDisplay()
           
protected  void loadTemplateForm(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, compileDefaultValuesFromCurrentFilter, containsDisplay, disable, enable, getAddClickHandlerRegistration, getCellSavedHandlerRegistration, getEntityTypeChangedHandlerRegistration, getInitialValues, getLoaded, getPresenterSequenceSetupManager, getRemoveClickHandlerRegistration, getSaveButtonHandlerRegistration, getSelectionChangedHandlerRegistration, 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

currentPageRecord

protected com.smartgwt.client.data.Record currentPageRecord

currentPageId

protected String currentPageId

currentPagePos

protected Integer currentPagePos

pageTemplateDialogView

protected EntitySearchDialog pageTemplateDialogView

initializer

protected PagesRuleBasedPresenterInitializer initializer

extractor

protected PagesPresenterExtractor extractor

additionalFilterEventManager

protected AdditionalFilterEventManager additionalFilterEventManager
Constructor Detail

PagesPresenter

public PagesPresenter()
Method Detail

removeClicked

protected void removeClicked()
Overrides:
removeClicked in class DynamicEntityPresenter

addClicked

protected void addClicked()
Overrides:
addClicked in class DynamicEntityPresenter

destroyTemplateForm

protected void destroyTemplateForm()

changeSelection

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

loadTemplateForm

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

refresh

protected void refresh()

bind

public void bind()
Overrides:
bind in class DynamicEntityPresenter

save

protected void save()

setup

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

getDisplay

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

resetButtons

protected void resetButtons()

bindItemBuilderEvents

public void bindItemBuilderEvents(ItemBuilderDisplay display)


Copyright © 2013. All Rights Reserved.