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.HtmlEditingPresenter
              extended by org.broadleafcommerce.cms.admin.client.presenter.pages.PagesPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable

public class PagesPresenter
extends HtmlEditingPresenter
implements Instantiable

Author:
jfischer

Field Summary
protected  String currentPageId
           
protected  com.smartgwt.client.data.Record currentPageRecord
           
protected  EntitySearchDialog pageTemplateDialogView
           
protected  com.google.gwt.event.shared.HandlerRegistration refreshButtonHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.cms.admin.client.presenter.HtmlEditingPresenter
assetSearchDialogView
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClickHandlerRegistration, cellSavedHandlerRegistration, disabled, display, entityTypeChangedHandlerRegistration, fetchDataHandlerRegistration, formPresenter, gridFields, initialValues, lastSelectedRecord, loaded, presenterSequenceSetupManager, removeClickHandlerRegistration, selectionChangedHandlerRegistration
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
PagesPresenter()
           
 
Method Summary
 void bind()
           
protected  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
protected  void destroyTemplateForm()
           
 PagesDisplay getDisplay()
           
protected  void loadTemplateForm(com.smartgwt.client.data.Record selectedRecord)
           
protected  void removeClicked()
           
 void setup()
           
 
Methods inherited from class org.broadleafcommerce.cms.admin.client.presenter.HtmlEditingPresenter
displayAssetSearchDialog, exposeNativeAdminContext, exposeNativeGetPreviewUrlPrefix, getAdminContext, getPreviewUrlPrefix, getTemplatePath
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
addClicked, addClicked, addNewItem, 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 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

currentPageRecord

protected com.smartgwt.client.data.Record currentPageRecord

currentPageId

protected String currentPageId

pageTemplateDialogView

protected EntitySearchDialog pageTemplateDialogView
Constructor Detail

PagesPresenter

public PagesPresenter()
Method Detail

removeClicked

protected void removeClicked()
Overrides:
removeClicked 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)

bind

public void bind()
Overrides:
bind in class HtmlEditingPresenter

setup

public void setup()
Specified by:
setup in interface EntityPresenter
Overrides:
setup in class HtmlEditingPresenter

getDisplay

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


Copyright © 2012. All Rights Reserved.