public class ListGrid extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ListGrid.SelectType |
static class |
ListGrid.Type |
Constructor and Description |
---|
ListGrid() |
protected String className
protected String friendlyName
protected String idProperty
protected int order
protected boolean isSortable
protected boolean hideFriendlyName
protected List<ListGridRecord> records
protected List<ListGridAction> toolbarActions
protected List<ListGridAction> rowActions
protected List<ListGridActionGroup> toolbarActionGroups
protected List<ListGridActionGroup> rowActionGroups
protected List<ListGridAction> modalRowActions
protected int totalRecords
protected int startIndex
protected int pageSize
protected Boolean canFilterAndSort
protected Boolean isReadOnly
protected Boolean hideIdColumn
protected String fetchType
protected long firstId
protected long lastId
protected int upperCount
protected int lowerCount
protected boolean totalCountLessThanPageSize
protected boolean promptSearch
protected AddMethodType addMethodType
protected String listGridType
protected String selectType
protected String selectizeUrl
protected String sectionKey
protected List<SectionCrumb> sectionCrumbs
protected String externalEntitySectionKey
protected String containingEntityId
protected String subCollectionFieldName
protected String pathOverride
protected String searchFieldsTemplateOverride
protected String templateOverride
protected String fieldBuilder
protected DataWrapper dataWrapper
protected String json
protected String jsonFieldName
protected FieldWrapper fieldWrapper
public String getPath()
public String getSectionCrumbRepresentation()
public List<ListGridAction> getActiveToolbarActions()
public List<ListGridAction> getActiveRowActions()
public List<ListGridAction> getActiveToolbarActionGroups()
public List<ListGridAction> getActiveRowActionGroups()
public List<ListGridAction> getActiveModalRowActions()
public void addRowAction(ListGridAction action)
public void addModalRowAction(ListGridAction action)
public void addToolbarAction(ListGridAction action)
public void removeAllToolbarActions()
public void removeAllRowActions()
public void addToolbarActionGroup(ListGridActionGroup actionGroup)
public void removeAllToolbarActionGroups()
public void addRowActionGroup(ListGridActionGroup actionGroup)
public void removeAllRowActionGroups()
public void removeAllModalRowActions()
public ListGridAction findToolbarAction(String actionId)
public ListGridAction findRowAction(String actionId)
public ListGridAction findModalRowAction(String actionId)
public boolean isSortable()
public void setListGridType(ListGrid.Type listGridType)
public void setListGridTypeString(String listGridType)
ListGrid.Type
to assign unique handlers to on the JS
sidelistGridType
- public void setSelectType(ListGrid.SelectType selectType)
public void setSelectTypeString(String selectType)
public Boolean getCanFilterAndSort()
public Boolean getIsReadOnly()
public Boolean getClickable()
public Boolean getHideIdColumn()
public String getIdProperty()
public void setIdProperty(String idProperty)
public String getClassName()
public void setClassName(String className)
public int getOrder()
public void setOrder(int order)
public boolean getIsSortable()
public void setIsSortable(boolean isSortable)
public boolean getHideFriendlyName()
public void setHideFriendlyName(boolean hideFriendlyName)
public List<ListGridRecord> getRecords()
public void setRecords(List<ListGridRecord> records)
public List<ListGridAction> getToolbarActions()
public void setToolbarActions(List<ListGridAction> toolbarActions)
public List<ListGridAction> getRowActions()
public void setRowActions(List<ListGridAction> rowActions)
public List<ListGridActionGroup> getToolbarActionGroups()
public void setToolbarActionGroups(List<ListGridActionGroup> toolbarActionGroups)
public List<ListGridActionGroup> getRowActionGroups()
public void setRowActionGroups(List<ListGridActionGroup> rowActionGroups)
public List<ListGridAction> getModalRowActions()
public void setModalRowActions(List<ListGridAction> modalRowActions)
public int getStartIndex()
public void setStartIndex(int startIndex)
public int getTotalRecords()
public void setTotalRecords(int totalRecords)
public int getPageSize()
public void setPageSize(int pageSize)
public void setCanFilterAndSort(Boolean canFilterAndSort)
public AddMethodType getAddMethodType()
public void setAddMethodType(AddMethodType addMethodType)
public String getListGridType()
public String getSelectType()
public String getContainingEntityId()
public void setContainingEntityId(String containingEntityId)
public String getSubCollectionFieldName()
public void setSubCollectionFieldName(String subCollectionFieldName)
public String getFriendlyName()
public void setFriendlyName(String friendlyName)
public String getSectionKey()
public void setSectionKey(String sectionKey)
public String getSelectizeUrl()
public void setSelectizeUrl(String selectizeUrl)
public String getExternalEntitySectionKey()
public void setExternalEntitySectionKey(String externalEntitySectionKey)
public String getPathOverride()
public void setPathOverride(String pathOverride)
public String getSearchFieldsTemplateOverride()
public void setSearchFieldsTemplateOverride(String searchFieldsTemplateOverride)
public String getTemplateOverride()
public void setTemplateOverride(String templateOverride)
public void setIsReadOnly(Boolean readOnly)
public void setHideIdColumn(Boolean hideIdColumn)
public List<SectionCrumb> getSectionCrumbs()
public void setSectionCrumbs(List<SectionCrumb> sectionCrumbs)
public String getFieldBuilder()
public void setFieldBuilder(String fieldBuilder)
public FieldWrapper getFieldWrapper()
public void setFieldWrapper(FieldWrapper fieldWrapper)
public DataWrapper getDataWrapper()
public void setDataWrapper(DataWrapper dataWrapper)
public String getJson()
public void setJson(String json)
public String getJsonFieldName()
public void setJsonFieldName(String jsonFieldName)
public String getFetchType()
public void setFetchType(String fetchType)
public long getFirstId()
public void setFirstId(long firstId)
public long getLastId()
public void setLastId(long lastId)
public int getUpperCount()
public void setUpperCount(int upperCount)
public int getLowerCount()
public void setLowerCount(int lowerCount)
public boolean isTotalCountLessThanPageSize()
public void setTotalCountLessThanPageSize(boolean totalCountLessThanPageSize)
public boolean isPromptSearch()
public void setPromptSearch(boolean promptSearch)
Copyright © 2020. All rights reserved.