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 SubPresentable
public com.smartgwt.client.widgets.Canvas getDisplay()
getDisplay
in interface SubPresentable
public void setStartState()
setStartState
in interface SubPresentable
public void enable()
enable
in interface SubPresentable
public void disable()
disable
in interface SubPresentable
public void setReadOnly(Boolean readOnly)
setReadOnly
in interface SubPresentable
public boolean load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource associatedDataSource)
load
in interface SubPresentable
public boolean load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource abstractDynamicDataSource, com.smartgwt.client.data.DSCallback cb)
load
in interface SubPresentable
public void bind()
bind
in interface SubPresentable
Copyright © 2013. All rights reserved.