|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
− | {{ScoutPage|cat=Shared}}
| + | The Scout documentation has been moved to https://eclipsescout.github.io/. |
− | | + | |
− | TablePageData is the standard data transfert object for {{ScoutLink|Concepts|TablePage}} between the {{ScoutLink|Concepts|Client Plug-In|client Plug-In}} and the {{ScoutLink|Concepts|Server Plug-In|server}}.
| + | |
− | | + | |
− | * extends: {{ScoutJavadoc|AbstractTablePageData|C}}
| + | |
− | | + | |
− | == Description ==
| + | |
− | {{important|Required version|The API described here requires version 3.10.0 or bigger.}}
| + | |
− | | + | |
− | TablePageData are based on {{ScoutLink|Concepts|TableData|bean-based TableData}} to hold the data. In Addition, TablePageData also contains a boolean flag (<tt>limitedResult</tt>) to indicate if the table contains all rows or if the request was limited to X rows in the server. In this case, when the PageData is imported, a status is displayed in the status bar of the table.
| + | |
− | | + | |
− | === Usage ===
| + | |
− | * A page date is the typical return value for the methods of the {{ScoutLink|Concepts|Outline Service|outline services}}.
| + | |
− | * Importation in {{ScoutLink|Concepts|TablePage}} during the {{ScoutEvent|LoadData}} event. Here an example:
| + | |
− | | + | |
− | <source lang="java">
| + | |
− | @Override
| + | |
− | protected void execLoadData(SearchFilter filter) throws ProcessingException {
| + | |
− | PersonSearchFormData formData = (PersonSearchFormData) filter.getFormData();
| + | |
− | if (formData == null) {
| + | |
− | formData = new PersonSearchFormData();
| + | |
− | }
| + | |
− | | + | |
− | PersonTablePageData pageData = SERVICES.getService(IStandardOutlineService.class).getPersonTableData(formData);
| + | |
− | importPageData(pageData);
| + | |
− | }
| + | |
− | </source>
| + | |
− | | + | |
− | == Generation ==
| + | |
− | === SDK Support ===
| + | |
− | * Generation of TablePageData with the {{ScoutLink|SDK|Explorer_View|Explorer View}}
| + | |
− | | + | |
− | {{note|TODO|Add a screenshot}}
| + | |
− | | + | |
− | === PageData anotation ===
| + | |
− | {{ScoutJavadoc|PageData|A}} FormData annotation
| + | |
− | | + | |
− | {{note|TODO|Add a description}}
| + | |
− | | + | |
− | == See Also ==
| + | |
− | * {{ScoutLink|Concepts|TablePage}}
| + | |
− | * {{ScoutLink|Concepts|Outline Service}}
| + | |
− | * {{ScoutLink|Concepts|Shared Plug-In}}
| + | |