Package de.xima.fc.gui.bean.designer
Class FormOverviewBean
- java.lang.Object
-
- de.xima.fc.gui.bean.designer.FormOverviewBean
-
- All Implemented Interfaces:
Serializable
@ViewScoped @Named public class FormOverviewBean extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormOverviewBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getClassNames()
org.primefaces.model.StreamedContent
getCsvExport()
org.primefaces.model.StreamedContent
getExcelExport()
List<org.primefaces.model.FilterMeta>
getFilterBy()
List<FormOverviewRow>
getFilteredFormOverviewRows()
List<FormOverviewRow>
getFormOverviewRows()
void
initFormOverview()
AJAX listener invoked when the form overview dialog is opened.void
onClose(org.primefaces.event.CloseEvent event)
AJAX listener invoked when the form overview dialog is closed.void
setFilterBy(List<org.primefaces.model.FilterMeta> filterBy)
void
setFilteredFormOverviewRows(List<FormOverviewRow> filteredFormOverviewRows)
void
setFormOverviewRows(List<FormOverviewRow> formOverviewRows)
-
-
-
Method Detail
-
getCsvExport
public org.primefaces.model.StreamedContent getCsvExport()
- Returns:
- The available form elements as a CSV file, one row per form element.
-
getExcelExport
public org.primefaces.model.StreamedContent getExcelExport()
- Returns:
- The available form elements as an Excel document, one row per form element.
-
getFilterBy
public List<org.primefaces.model.FilterMeta> getFilterBy()
-
getFilteredFormOverviewRows
public List<FormOverviewRow> getFilteredFormOverviewRows()
-
getFormOverviewRows
public List<FormOverviewRow> getFormOverviewRows()
-
initFormOverview
public void initFormOverview()
AJAX listener invoked when the form overview dialog is opened. Reads the current list of form elements and prepares the data table rows.
-
onClose
public void onClose(org.primefaces.event.CloseEvent event)
AJAX listener invoked when the form overview dialog is closed. Resets the data.- Parameters:
event
- Close event that occurred.
-
setFilterBy
public void setFilterBy(List<org.primefaces.model.FilterMeta> filterBy)
-
setFilteredFormOverviewRows
public void setFilteredFormOverviewRows(List<FormOverviewRow> filteredFormOverviewRows)
-
setFormOverviewRows
public void setFormOverviewRows(List<FormOverviewRow> formOverviewRows)
-
-