public class UserPermissionPresenter extends Object implements SubPresentable
| Modifier and Type | Field and Description |
|---|---|
protected AbstractDynamicDataSource |
abstractDynamicDataSource |
protected com.smartgwt.client.data.Record |
associatedRecord |
protected String[] |
availableToTypes |
protected Boolean |
disabled |
protected UserPermissionDisplay |
display |
protected EntitySearchDialog |
searchDialog |
| Constructor and Description |
|---|
UserPermissionPresenter(UserPermissionDisplay display,
EntitySearchDialog searchDialog) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind() |
void |
disable() |
void |
enable() |
com.smartgwt.client.widgets.Canvas |
getDisplay() |
boolean |
load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource associatedDataSource) |
boolean |
load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource abstractDynamicDataSource,
com.smartgwt.client.data.DSCallback cb) |
void |
setDataSource(ListGridDataSource dataSource,
String[] gridFields,
Boolean[] editable) |
void |
setReadOnly(Boolean readOnly) |
void |
setStartState() |
protected UserPermissionDisplay display
protected com.smartgwt.client.data.Record associatedRecord
protected AbstractDynamicDataSource abstractDynamicDataSource
protected Boolean disabled
protected EntitySearchDialog searchDialog
protected String[] availableToTypes
public UserPermissionPresenter(UserPermissionDisplay display, EntitySearchDialog searchDialog)
public void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
setDataSource in interface SubPresentablepublic com.smartgwt.client.widgets.Canvas getDisplay()
getDisplay in interface SubPresentablepublic void setStartState()
setStartState in interface SubPresentablepublic void enable()
enable in interface SubPresentablepublic void disable()
disable in interface SubPresentablepublic void setReadOnly(Boolean readOnly)
setReadOnly in interface SubPresentablepublic boolean load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource associatedDataSource)
load in interface SubPresentablepublic boolean load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource abstractDynamicDataSource,
com.smartgwt.client.data.DSCallback cb)
load in interface SubPresentablepublic void bind()
bind in interface SubPresentableCopyright © 2013. All rights reserved.