org.broadleafcommerce.openadmin.client.presenter.user
Class UserRolePresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.user.UserRolePresenter
All Implemented Interfaces:
SubPresentable

public class UserRolePresenter
extends java.lang.Object
implements SubPresentable

Author:
jfischer

Field Summary
protected  AbstractDynamicDataSource abstractDynamicDataSource
           
protected  com.smartgwt.client.data.Record associatedRecord
           
protected  java.lang.Boolean disabled
           
protected  UserRoleDisplay display
           
protected  EntitySearchDialog searchDialog
           
 
Constructor Summary
UserRolePresenter(UserRoleDisplay display, EntitySearchDialog searchDialog)
           
 
Method Summary
 void bind()
           
 void disable()
           
 void enable()
           
 void load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource abstractDynamicDataSource, com.smartgwt.client.data.DSCallback cb)
           
 void setDataSource(ListGridDataSource dataSource, java.lang.String[] gridFields, java.lang.Boolean[] editable)
           
 void setExpansionDataSource(ListGridDataSource dataSource, java.lang.String[] gridFields, java.lang.Boolean[] editable)
           
 void setReadOnly(java.lang.Boolean readOnly)
           
 void setStartState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

protected UserRoleDisplay display

associatedRecord

protected com.smartgwt.client.data.Record associatedRecord

abstractDynamicDataSource

protected AbstractDynamicDataSource abstractDynamicDataSource

disabled

protected java.lang.Boolean disabled

searchDialog

protected EntitySearchDialog searchDialog
Constructor Detail

UserRolePresenter

public UserRolePresenter(UserRoleDisplay display,
                         EntitySearchDialog searchDialog)
Method Detail

setDataSource

public void setDataSource(ListGridDataSource dataSource,
                          java.lang.String[] gridFields,
                          java.lang.Boolean[] editable)
Specified by:
setDataSource in interface SubPresentable

setExpansionDataSource

public void setExpansionDataSource(ListGridDataSource dataSource,
                                   java.lang.String[] gridFields,
                                   java.lang.Boolean[] editable)

setStartState

public void setStartState()
Specified by:
setStartState in interface SubPresentable

enable

public void enable()
Specified by:
enable in interface SubPresentable

disable

public void disable()
Specified by:
disable in interface SubPresentable

setReadOnly

public void setReadOnly(java.lang.Boolean readOnly)
Specified by:
setReadOnly in interface SubPresentable

load

public void load(com.smartgwt.client.data.Record associatedRecord,
                 AbstractDynamicDataSource abstractDynamicDataSource,
                 com.smartgwt.client.data.DSCallback cb)
Specified by:
load in interface SubPresentable

bind

public void bind()
Specified by:
bind in interface SubPresentable


Copyright © 2011. All Rights Reserved.