org.broadleafcommerce.admin.client.presenter.catalog.category
Class AllChildCategoriesPresenter

java.lang.Object
  extended by org.broadleafcommerce.admin.client.presenter.catalog.category.AllChildCategoriesPresenter
All Implemented Interfaces:
SubPresentable

public class AllChildCategoriesPresenter
extends java.lang.Object
implements SubPresentable

Author:
jfischer

Field Summary
protected  AbstractDynamicDataSource associatedDataSource
           
protected  com.smartgwt.client.data.Record associatedRecord
           
protected  CategoryPresenter categoryPresenter
           
protected  java.lang.Boolean disabled
           
protected  GridStructureDisplay display
           
protected  EntitySearchDialog searchDialog
           
protected  java.lang.String searchDialogTitle
           
 
Constructor Summary
AllChildCategoriesPresenter(CategoryPresenter categoryPresenter, GridStructureDisplay display, EntitySearchDialog searchDialog, java.lang.String searchDialogTitle)
           
 
Method Summary
 void bind()
           
 void disable()
           
 void enable()
           
 void load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource associatedDataSource, com.smartgwt.client.data.DSCallback cb)
           
 void setDataSource(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 GridStructureDisplay display

searchDialog

protected EntitySearchDialog searchDialog

searchDialogTitle

protected java.lang.String searchDialogTitle

categoryPresenter

protected CategoryPresenter categoryPresenter

associatedRecord

protected com.smartgwt.client.data.Record associatedRecord

associatedDataSource

protected AbstractDynamicDataSource associatedDataSource

disabled

protected java.lang.Boolean disabled
Constructor Detail

AllChildCategoriesPresenter

public AllChildCategoriesPresenter(CategoryPresenter categoryPresenter,
                                   GridStructureDisplay display,
                                   EntitySearchDialog searchDialog,
                                   java.lang.String searchDialogTitle)
Method Detail

setDataSource

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

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 associatedDataSource,
                 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.