@Component public class AccommodationDemo extends FormTablePage
editLink, form, removeLink, table
controls, format, forward, headElements, headers, includeControlHeadElements, messages, model, PAGE_ACTION, PAGE_MESSAGES, pageImports, path, redirect, stateful, template
Constructor and Description |
---|
AccommodationDemo() |
Modifier and Type | Method and Description |
---|---|
org.apache.cayenne.DataObject |
getDataObject(Object id)
Return the DataObject for the given id.
|
Class |
getDataObjectClass()
Return the DataObject class to edit and display.
|
List<Student> |
getRowList()
Return the list of DataObjects to display in the table.
|
void |
onInit()
Complete the initialization of the form and table controls.
|
clear, createForm, deleteDataObject, getMaxTableSize, onCancelClick, onEditClick, onRemoveClick, onRender, onSaveClick, onSecurityCheck, saveDataObject
getTemplate, onDestroy
addControl, addModel, getContentType, getContext, getControls, getFormat, getForward, getHeadElements, getHeaders, getHtmlImports, getMessage, getMessage, getMessages, getModel, getPageImports, getPath, getRedirect, hasControls, hasHeaders, isIncludeControlHeadElements, isStateful, onGet, onPost, removeControl, setFormat, setForward, setForward, setForward, setHeader, setHeaders, setIncludeControlHeadElements, setPageImports, setPath, setRedirect, setRedirect, setRedirect, setRedirect, setStateful, setTemplate
public void onInit()
FormTablePage
onInit
in class FormTablePage
FormTablePage.onInit()
public org.apache.cayenne.DataObject getDataObject(Object id)
FormTablePage
getDataObject
in class FormTablePage
id
- the DataObject identifierFormTablePage.getDataObject(Object)
public Class getDataObjectClass()
FormTablePage
getDataObjectClass
in class FormTablePage
FormTablePage.getDataObjectClass()
public List<Student> getRowList()
FormTablePage
getRowList
in class FormTablePage
FormTablePage.getRowList()