org.broadleafcommerce.openadmin.client.presenter.entity
public abstract class DynamicEntityPresenter extends AbstractEntityPresenter
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.event.shared.HandlerRegistration |
addClickHandlerRegistration |
protected com.google.gwt.event.shared.HandlerRegistration |
cellSavedHandlerRegistration |
static Map<String,CollectionMetadata> |
collectionMetadatas |
protected Boolean |
disabled |
protected DynamicEditDisplay |
display |
protected com.google.gwt.event.shared.HandlerRegistration |
entityTypeChangedHandlerRegistration |
protected com.google.gwt.event.shared.HandlerRegistration |
fetchDataHandlerRegistration |
protected DynamicFormPresenter |
formPresenter |
protected String[] |
gridFields |
protected GridHelper |
gridHelper |
protected Map<String,Object> |
initialValues |
protected com.smartgwt.client.widgets.grid.ListGridRecord |
lastSelectedRecord |
protected Boolean |
loaded |
protected List<PresenterModifier> |
modifierList |
protected PresenterSequenceSetupManager |
presenterSequenceSetupManager |
protected com.google.gwt.event.shared.HandlerRegistration |
removeClickHandlerRegistration |
protected com.google.gwt.event.shared.HandlerRegistration |
saveButtonHandlerRegistration |
protected com.google.gwt.event.shared.HandlerRegistration |
selectionChangedHandlerRegistration |
protected com.google.gwt.event.shared.HandlerRegistration |
showArchivedButtonHandlerRegistration |
protected Map<String,SubPresentable> |
subPresentables |
protected Map<String,List<com.smartgwt.client.data.DataSource>> |
viewModifierDataSourceMap |
defaultItemId, eventBus| Constructor and Description |
|---|
DynamicEntityPresenter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClicked() |
protected void |
addClicked(String newItemTitle) |
protected void |
addNewItem(String newItemTitle) |
void |
bind() |
protected void |
changeSelection(com.smartgwt.client.data.Record selectedRecord) |
protected void |
changeSelectionWrapper(com.smartgwt.client.data.Record selectedRecord) |
protected void |
compileDefaultValuesFromCurrentFilter(Map<String,Object> initialValues) |
protected Boolean |
containsDisplay(com.smartgwt.client.widgets.Canvas container) |
void |
disable() |
void |
enable() |
com.google.gwt.event.shared.HandlerRegistration |
getAddClickHandlerRegistration() |
com.google.gwt.event.shared.HandlerRegistration |
getCellSavedHandlerRegistration() |
DynamicEditDisplay |
getDisplay() |
com.google.gwt.event.shared.HandlerRegistration |
getEntityTypeChangedHandlerRegistration() |
Map<String,Object> |
getInitialValues() |
Boolean |
getLoaded() |
List<PresenterModifier> |
getModifierList() |
PresenterSequenceSetupManager |
getPresenterSequenceSetupManager() |
com.google.gwt.event.shared.HandlerRegistration |
getRemoveClickHandlerRegistration() |
com.google.gwt.event.shared.HandlerRegistration |
getSaveButtonHandlerRegistration() |
com.google.gwt.event.shared.HandlerRegistration |
getSelectionChangedHandlerRegistration() |
Map<String,SubPresentable> |
getSubPresentables() |
protected void |
initializeAdvancedCollections() |
void |
initializeLookup(String propertyName,
LookupMetadata metadata) |
protected void |
itemSaved(com.smartgwt.client.data.DSResponse response,
Object rawData,
com.smartgwt.client.data.DSRequest request) |
protected void |
loadInitialItem() |
void |
postSetup(com.smartgwt.client.widgets.Canvas container) |
protected void |
removeClicked() |
protected void |
saveClicked() |
void |
setDisplay(Display display) |
void |
setGridFields(String[] gridFields) |
void |
setInitialValues(Map<String,Object> initialValues) |
void |
setReadOnly(Boolean readOnly) |
void |
setStartState() |
void |
setSubPresentable(String dataSourceName,
SubPresentable subPresentable) |
protected void |
setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
com.smartgwt.client.data.DataSource... additionalDataSources) |
getDefaultItemId, getEventBus, setDefaultItemId, setEventBusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetuppublic static Map<String,CollectionMetadata> collectionMetadatas
protected DynamicEditDisplay display
protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
protected Boolean loaded
protected DynamicFormPresenter formPresenter
protected GridHelper gridHelper
protected com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration fetchDataHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration saveButtonHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration showArchivedButtonHandlerRegistration
protected PresenterSequenceSetupManager presenterSequenceSetupManager
protected Map<String,SubPresentable> subPresentables
protected List<PresenterModifier> modifierList
protected Map<String,List<com.smartgwt.client.data.DataSource>> viewModifierDataSourceMap
protected Boolean disabled
protected String[] gridFields
public void setStartState()
public void enable()
public void disable()
public void setReadOnly(Boolean readOnly)
protected void compileDefaultValuesFromCurrentFilter(Map<String,Object> initialValues)
public void setSubPresentable(String dataSourceName, SubPresentable subPresentable)
public void bind()
protected void saveClicked()
protected void itemSaved(com.smartgwt.client.data.DSResponse response,
Object rawData,
com.smartgwt.client.data.DSRequest request)
public void postSetup(com.smartgwt.client.widgets.Canvas container)
protected void loadInitialItem()
protected Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
public DynamicEditDisplay getDisplay()
public void setDisplay(Display display)
protected void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
com.smartgwt.client.data.DataSource... additionalDataSources)
public void initializeLookup(String propertyName, LookupMetadata metadata)
protected void initializeAdvancedCollections()
protected void changeSelectionWrapper(com.smartgwt.client.data.Record selectedRecord)
protected void changeSelection(com.smartgwt.client.data.Record selectedRecord)
protected void addClicked()
protected void addClicked(String newItemTitle)
protected void addNewItem(String newItemTitle)
protected void removeClicked()
public com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
public com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()
public com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()
public com.google.gwt.event.shared.HandlerRegistration getSaveButtonHandlerRegistration()
public com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()
public com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()
public PresenterSequenceSetupManager getPresenterSequenceSetupManager()
public Boolean getLoaded()
public void setGridFields(String[] gridFields)
public List<PresenterModifier> getModifierList()
public Map<String,SubPresentable> getSubPresentables()
Copyright © 2015. All Rights Reserved.