Class LazyFormCardsViewModel

    • Constructor Detail

      • LazyFormCardsViewModel

        public LazyFormCardsViewModel​(List<FormCardModel> formCards)
    • Method Detail

      • count

        public int count​(Map<String,​org.primefaces.model.FilterMeta> filterBy)
        Specified by:
        count in class org.primefaces.model.LazyDataModel<FormCardModel>
      • load

        public List<FormCardModel> load​(int offset,
                                        int pageSize,
                                        Map<String,​org.primefaces.model.SortMeta> sortBy,
                                        Map<String,​org.primefaces.model.FilterMeta> filterBy)
        Specified by:
        load in class org.primefaces.model.LazyDataModel<FormCardModel>
      • getRowData

        public FormCardModel getRowData​(String rowKey)
        Specified by:
        getRowData in interface org.primefaces.model.SelectableDataModel<FormCardModel>
        Overrides:
        getRowData in class org.primefaces.model.LazyDataModel<FormCardModel>
      • getRowKey

        public String getRowKey​(FormCardModel formCard)
        Specified by:
        getRowKey in interface org.primefaces.model.SelectableDataModel<FormCardModel>
        Overrides:
        getRowKey in class org.primefaces.model.LazyDataModel<FormCardModel>