Class SelectionFeature

java.lang.Object
org.primefaces.component.datatable.feature.SelectionFeature
All Implemented Interfaces:
DataTableFeature

public class SelectionFeature extends Object implements DataTableFeature
  • Constructor Details

    • SelectionFeature

      public SelectionFeature()
  • Method Details

    • decode

      public void decode(javax.faces.context.FacesContext context, DataTable table)
      Specified by:
      decode in interface DataTableFeature
    • 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, Set<String> rowKeys)
    • decodeMultipleSelection

      protected void decodeMultipleSelection(javax.faces.context.FacesContext context, DataTable table, Set<String> rowKeys)
    • shouldDecode

      public boolean shouldDecode(javax.faces.context.FacesContext context, DataTable table)
      Specified by:
      shouldDecode in interface DataTableFeature
    • shouldEncode

      public boolean shouldEncode(javax.faces.context.FacesContext context, DataTable table)
      Specified by:
      shouldEncode in interface DataTableFeature
    • isSelectable

      protected boolean isSelectable(DataTable table, String var, Map<String,Object> requestMap, Object o)
    • setSelection

      protected void setSelection(javax.faces.context.FacesContext context, DataTable table, boolean multiple, List<Object> selected, Set<String> rowKeys)