Class SelectionFeature
- java.lang.Object
-
- org.primefaces.component.datatable.feature.SelectionFeature
-
- All Implemented Interfaces:
DataTableFeature
public class SelectionFeature extends Object implements DataTableFeature
-
-
Constructor Summary
Constructors Constructor Description SelectionFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(javax.faces.context.FacesContext context, DataTable table)protected voiddecodeMultipleSelection(javax.faces.context.FacesContext context, DataTable table, Set<String> rowKeys)voiddecodeSelection(javax.faces.context.FacesContext context, DataTable table, Set<String> rowKeys)voiddecodeSelectionRowKeys(javax.faces.context.FacesContext context, DataTable table)protected voiddecodeSingleSelection(javax.faces.context.FacesContext context, DataTable table, String rowKey)voidencode(javax.faces.context.FacesContext context, DataTableRenderer renderer, DataTable table)protected booleanisSelectable(DataTable table, String var, Map<String,Object> requestMap, Object o)protected voidsetSelection(javax.faces.context.FacesContext context, DataTable table, boolean multiple, List<Object> selected, Set<String> rowKeys)booleanshouldDecode(javax.faces.context.FacesContext context, DataTable table)booleanshouldEncode(javax.faces.context.FacesContext context, DataTable table)
-
-
-
Method Detail
-
decode
public void decode(javax.faces.context.FacesContext context, DataTable table)- Specified by:
decodein interfaceDataTableFeature
-
decodeSelection
public void decodeSelection(javax.faces.context.FacesContext context, DataTable table, Set<String> rowKeys)
-
decodeSelectionRowKeys
public void decodeSelectionRowKeys(javax.faces.context.FacesContext context, DataTable table)
-
decodeSingleSelection
protected void decodeSingleSelection(javax.faces.context.FacesContext context, DataTable table, String rowKey)
-
decodeMultipleSelection
protected void decodeMultipleSelection(javax.faces.context.FacesContext context, DataTable table, Set<String> rowKeys)
-
encode
public void encode(javax.faces.context.FacesContext context, DataTableRenderer renderer, DataTable table) throws IOException- Specified by:
encodein interfaceDataTableFeature- Throws:
IOException
-
shouldDecode
public boolean shouldDecode(javax.faces.context.FacesContext context, DataTable table)- Specified by:
shouldDecodein interfaceDataTableFeature
-
shouldEncode
public boolean shouldEncode(javax.faces.context.FacesContext context, DataTable table)- Specified by:
shouldEncodein interfaceDataTableFeature
-
isSelectable
protected boolean isSelectable(DataTable table, String var, Map<String,Object> requestMap, Object o)
-
-