5-1-3-1. Interface of extended class
The following is a list of interfaces of the extended class.
Inheriting Class of extended Apex class
Namespace | Class name |
SkyEditor2 | Extender |
Extender class interface
Event name | Argument / Class | Comment | ||
Method | Constructor | Argument | Apex class for extending page | At initialization before data acquisition |
Init() | - | At initialization and after data acquisition | ||
preSave() | - | Called before Save processing | ||
afterSave() | - | Called after Saving process commit | ||
preSearch() | - | Called before Search processing | ||
afterSearch() | - | Called after Search processing | ||
preAdd(SObject obj) | Object that is displayed on the table | It will be called before adding a row to the table | ||
afterAdd(SObject obj) | Object that is displayed on the table | It will be called after adding a row to the table | ||
afterClone(SObject obj) | Object that is displayed on the table | Called after Clone processing | ||
preMultipleSelectionAdd(SObject cloned) | Object that is displayed on the table | Called before adding a row when adding a row with the master retrieval function from the custom lookup screen | ||
afterMultipleSelectionAdd(SObject cloned) | Object that is displayed on the table | Called after adding a row when adding a row with the master retrieval function from the custom lookup screen | ||
additionalExceptionHandler(Errors.SveDmlException ex , SObject[] records) | An error object produced when Database Query is used instead of DML Arragend in Database.SaveResult or Database.UpsertResult | Retrieve multiple numbere of errors at Save processing if the Variable useDatabaseQuery is set as "true" | ||
variable | useDatabaseQuery | Class | Boolean | Database Query's execution flag.
|
Retrieve or modify values from the Visualforce page by extending Apex classes. If there is a DataTable or MultiRowDataTable for placing lookup relation or parent-child objects on the screen, fields from it can be accessed through the data table class (default class name:dataTableSet1、dataTableSet1Item).
Apex class interface for extending page
Variable name | Type | Content |
Record | sObject | Master record used in page |
hidePageBody | Boolean | Flag to show /hide component except for message. |
registTransitionControl | String | Transition destination upon pressing [Save] on a new screen |
editTransitionControl | String | Transition destination upon pressing [Save] on an edit screen |