org.broadleafcommerce.openadmin.client.presenter.entity
Class DynamicEntityPresenter
java.lang.Object
org.broadleafcommerce.openadmin.client.presenter.entity.AbstractEntityPresenter
org.broadleafcommerce.openadmin.client.presenter.entity.DynamicEntityPresenter
- All Implemented Interfaces:
- EntityPresenter
- Direct Known Subclasses:
- PermissionManagementPresenter, RoleManagementPresenter, UserManagementPresenter
public abstract class DynamicEntityPresenter
- extends AbstractEntityPresenter
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.broadleafcommerce.openadmin.client.presenter.entity.EntityPresenter |
setup |
display
protected DynamicEditDisplay display
lastSelectedRecord
protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
loaded
protected Boolean loaded
formPresenter
protected DynamicFormPresenter formPresenter
selectionChangedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
removeClickHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration
addClickHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration
entityTypeChangedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration
cellSavedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration
fetchDataHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration fetchDataHandlerRegistration
saveButtonHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration
presenterSequenceSetupManager
protected PresenterSequenceSetupManager presenterSequenceSetupManager
disabled
protected Boolean disabled
gridFields
protected String[] gridFields
initialValues
protected Map<String,Object> initialValues
DynamicEntityPresenter
public DynamicEntityPresenter()
setStartState
public void setStartState()
enable
public void enable()
disable
public void disable()
setReadOnly
public void setReadOnly(Boolean readOnly)
compileDefaultValuesFromCurrentFilter
protected void compileDefaultValuesFromCurrentFilter(Map<String,Object> initialValues)
bind
public void bind()
saveClicked
protected void saveClicked()
itemSaved
protected void itemSaved(com.smartgwt.client.data.DSResponse response,
Object rawData,
com.smartgwt.client.data.DSRequest request)
postSetup
public void postSetup(com.smartgwt.client.widgets.Canvas container)
loadInitialItem
protected void loadInitialItem()
containsDisplay
protected Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
getDisplay
public DynamicEditDisplay getDisplay()
setDisplay
public void setDisplay(Display display)
setupDisplayItems
protected void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
com.smartgwt.client.data.DataSource... additionalDataSources)
changeSelection
protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)
addClicked
protected void addClicked()
addClicked
protected void addClicked(String newItemTitle)
addNewItem
protected void addNewItem(String newItemTitle)
removeClicked
protected void removeClicked()
getSelectionChangedHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
getRemoveClickHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()
getAddClickHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()
getSaveButtonHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getSaveButtonHandlerRegistration()
getEntityTypeChangedHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()
getCellSavedHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()
getPresenterSequenceSetupManager
public PresenterSequenceSetupManager getPresenterSequenceSetupManager()
getLoaded
public Boolean getLoaded()
getInitialValues
public Map<String,Object> getInitialValues()
setInitialValues
public void setInitialValues(Map<String,Object> initialValues)
setGridFields
public void setGridFields(String[] gridFields)
Copyright © 2012. All Rights Reserved.