public class ObjectListDataSource
extends com.ibm.xsp.model.AbstractDataSource
implements com.ibm.xsp.model.ModelDataSource, com.ibm.xsp.model.TabularDataSource
Constructor and Description |
---|
ObjectListDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
addSortableAttribute(String strAttribute) |
void |
clearSort() |
protected String |
composeUniqueId() |
boolean |
getAscending() |
javax.faces.el.MethodBinding |
getBuildValues() |
javax.faces.model.DataModel |
getDataModel() |
Object |
getDataObject() |
String |
getIdAttribute() |
List<String> |
getSortableAttributes() |
String |
getSortAttribute() |
boolean |
isReadonly() |
com.ibm.xsp.model.DataContainer |
load(javax.faces.context.FacesContext arg0) |
void |
readRequestParams(javax.faces.context.FacesContext arg0,
Map<String,Object> arg1) |
void |
refresh() |
void |
restoreState(javax.faces.context.FacesContext arg0,
Object state) |
boolean |
save(javax.faces.context.FacesContext arg0,
com.ibm.xsp.model.DataContainer arg1) |
Object |
saveState(javax.faces.context.FacesContext arg0) |
void |
setAscending(boolean ascending) |
void |
setBuildValues(javax.faces.el.MethodBinding buildValues) |
void |
setIdAttribute(String idAttribute) |
void |
setSortableAttributes(List<String> sortableAttributes) |
void |
setSortAttribute(String sortAttribute) |
void |
sortList(String strAttribute,
boolean ascending) |
beginRuntimeProperties, computeUniqueBeanId, createRuntimeProperties, endRuntimeProperties, getBeanId, getDataContainer, getDataContainer, getEffectiveScope, getRequestParamPrefix, getRuntimeProperties, getScope, getUniqueId, getVar, getVars, getViewRoot, hasRuntimeProperties, initializeRuntimeProperties, isDataShared, isIgnoreRequestParams, isNestedInUIIterator, popData, prefixRequestParam, pushData, putDataContainer, removeBean, removeBean, save, setIgnoreRequestParams, setRequestParamPrefix, setScope, setVar
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public javax.faces.el.MethodBinding getBuildValues()
public void setBuildValues(javax.faces.el.MethodBinding buildValues)
public javax.faces.model.DataModel getDataModel()
getDataModel
in interface com.ibm.xsp.model.ModelDataSource
protected String composeUniqueId()
composeUniqueId
in class com.ibm.xsp.model.AbstractDataSource
public Object getDataObject()
getDataObject
in class com.ibm.xsp.model.AbstractDataSource
public boolean isReadonly()
isReadonly
in interface com.ibm.xsp.model.DataSource
isReadonly
in class com.ibm.xsp.model.AbstractDataSource
public com.ibm.xsp.model.DataContainer load(javax.faces.context.FacesContext arg0) throws IOException
load
in class com.ibm.xsp.model.AbstractDataSource
IOException
public void sortList(String strAttribute, boolean ascending)
public void clearSort()
public void readRequestParams(javax.faces.context.FacesContext arg0, Map<String,Object> arg1)
readRequestParams
in class com.ibm.xsp.model.AbstractDataSource
public boolean save(javax.faces.context.FacesContext arg0, com.ibm.xsp.model.DataContainer arg1) throws com.ibm.xsp.FacesExceptionEx
save
in class com.ibm.xsp.model.AbstractDataSource
com.ibm.xsp.FacesExceptionEx
public Object saveState(javax.faces.context.FacesContext arg0)
saveState
in interface javax.faces.component.StateHolder
saveState
in class com.ibm.xsp.model.AbstractDataSource
public void restoreState(javax.faces.context.FacesContext arg0, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class com.ibm.xsp.model.AbstractDataSource
public void refresh()
refresh
in interface com.ibm.xsp.model.DataSource
refresh
in class com.ibm.xsp.model.AbstractDataSource
public String getSortAttribute()
public void setSortAttribute(String sortAttribute)
public boolean getAscending()
public void setAscending(boolean ascending)
public void addSortableAttribute(String strAttribute)
public String getIdAttribute()
public void setIdAttribute(String idAttribute)
Copyright © 2021. All Rights Reserved.