org.broadleafcommerce.cms.admin.client.presenter.sandbox
Class SandBoxPresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
      extended by org.broadleafcommerce.cms.admin.client.presenter.sandbox.SandBoxPresenter
All Implemented Interfaces:
EntityPresenter, Instantiable
Direct Known Subclasses:
MySandBoxPresenter

public class SandBoxPresenter
extends AbstractEntityPresenter
implements Instantiable

Created by IntelliJ IDEA. User: jfischer Date: 9/22/11 Time: 11:51 AM To change this template use File | Settings | File Templates.


Field Summary
protected  Boolean disabled
           
protected  SandBoxDisplay display
           
protected  com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
           
protected  Boolean loaded
           
protected  PresenterSequenceSetupManager presenterSequenceSetupManager
           
protected  com.google.gwt.event.shared.HandlerRegistration previewClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration promoteAllClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration promoteSelectionClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration refreshClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration revertRejectAllClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration revertRejectSelectionClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
defaultItemId, eventBus
 
Constructor Summary
SandBoxPresenter()
           
 
Method Summary
 void bind()
           
protected  Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
           
 void disable()
           
 void enable()
           
 SandBoxDisplay getDisplay()
           
 Boolean getLoaded()
           
 PresenterSequenceSetupManager getPresenterSequenceSetupManager()
           
 com.google.gwt.event.shared.HandlerRegistration getPromoteAllClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getPromoteSelectionClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getRefreshClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getRevertRejectAllClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getRevertRejectSelectionClickHandlerRegistration()
           
protected  String getSelectedRecords()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
protected  void invalidateMyCache()
           
protected  void invalidateOtherCache()
           
 void postSetup(com.smartgwt.client.widgets.Canvas container)
           
protected  void previewSelection(com.smartgwt.client.widgets.grid.ListGridRecord[] records)
           
 void setDisplay(Display display)
           
 void setStartState()
           
 void setup()
           
protected  void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource, com.smartgwt.client.data.DataSource... additionalDataSources)
           
 
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

display

protected SandBoxDisplay display

lastSelectedRecord

protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord

loaded

protected Boolean loaded

selectionChangedHandlerRegistration

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

revertRejectAllClickHandlerRegistration

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

revertRejectSelectionClickHandlerRegistration

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

promoteAllClickHandlerRegistration

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

promoteSelectionClickHandlerRegistration

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

refreshClickHandlerRegistration

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

previewClickHandlerRegistration

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

presenterSequenceSetupManager

protected PresenterSequenceSetupManager presenterSequenceSetupManager

disabled

protected Boolean disabled
Constructor Detail

SandBoxPresenter

public SandBoxPresenter()
Method Detail

setStartState

public void setStartState()

enable

public void enable()

disable

public void disable()

getSelectedRecords

protected String getSelectedRecords()

previewSelection

protected void previewSelection(com.smartgwt.client.widgets.grid.ListGridRecord[] records)

invalidateMyCache

protected void invalidateMyCache()

bind

public void bind()

postSetup

public void postSetup(com.smartgwt.client.widgets.Canvas container)
Specified by:
postSetup in interface EntityPresenter

setup

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

containsDisplay

protected Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)

getDisplay

public SandBoxDisplay getDisplay()
Specified by:
getDisplay in interface EntityPresenter

setDisplay

public void setDisplay(Display display)
Specified by:
setDisplay in interface EntityPresenter

setupDisplayItems

protected void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
                                 com.smartgwt.client.data.DataSource... additionalDataSources)

getSelectionChangedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()

getRevertRejectAllClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getRevertRejectAllClickHandlerRegistration()

getRevertRejectSelectionClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getRevertRejectSelectionClickHandlerRegistration()

getPromoteAllClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getPromoteAllClickHandlerRegistration()

getPromoteSelectionClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getPromoteSelectionClickHandlerRegistration()

getRefreshClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getRefreshClickHandlerRegistration()

getPresenterSequenceSetupManager

public PresenterSequenceSetupManager getPresenterSequenceSetupManager()
Specified by:
getPresenterSequenceSetupManager in interface EntityPresenter

getLoaded

public Boolean getLoaded()
Specified by:
getLoaded in interface EntityPresenter

invalidateOtherCache

protected void invalidateOtherCache()


Copyright © 2012. All Rights Reserved.