Class LazyFormsViewBean

    • Constructor Detail

      • LazyFormsViewBean

        public LazyFormsViewBean()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • count

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

        public List<FormModel> 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<FormModel>
      • getRowData

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

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

        public void loadCount()
        Load the count of forms.
      • onFormTagsChange

        public void onFormTagsChange()
        Called when the sort selection changes.
      • onSearchChange

        public void onSearchChange()
        Called when the search query changes.