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:
- HtmlEditingPresenter, 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 |
collectionMetadatas
public static Map<String,CollectionMetadata> collectionMetadatas
display
protected DynamicEditDisplay display
lastSelectedRecord
protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
loaded
protected Boolean loaded
formPresenter
protected DynamicFormPresenter formPresenter
gridHelper
protected GridHelper gridHelper
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
showArchivedButtonHandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration showArchivedButtonHandlerRegistration
presenterSequenceSetupManager
protected PresenterSequenceSetupManager presenterSequenceSetupManager
subPresentables
protected Map<String,SubPresentable> subPresentables
modifierList
protected List<PresenterModifier> modifierList
viewModifierDataSourceMap
protected Map<String,List<com.smartgwt.client.data.DataSource>> viewModifierDataSourceMap
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)
setSubPresentable
public void setSubPresentable(String dataSourceName,
SubPresentable subPresentable)
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)
initializeLookup
public void initializeLookup(String propertyName,
LookupMetadata metadata)
initializeAdvancedCollections
protected void initializeAdvancedCollections()
changeSelectionWrapper
protected void changeSelectionWrapper(com.smartgwt.client.data.Record selectedRecord)
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)
getModifierList
public List<PresenterModifier> getModifierList()
getSubPresentables
public Map<String,SubPresentable> getSubPresentables()
Copyright © 2013. All Rights Reserved.