Page History
Divcache | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Div | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTML Table | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | servoy sSummary |
Colgroup Tag | |||||
---|---|---|---|---|---|
|
Table Head (thead) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Table Cell (td) |
---|
ServoyException |
styleindex | display:none |
---|
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
true | |
refresh | 100d |
---|---|
showRefresh | true |
id | doc |
title | Refresh page |
showDate | true |
retry | Enable |
Table Cell (td) |
---|
JSFoundSet |
Colgroup Tag | |||||
---|---|---|---|---|---|
|
Table Head (thead) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Table Cell (td) |
---|
JSDataSet |
Table Cell (td) |
---|
String |
Table Cell (td) |
---|
Object[] |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
void |
Col |
---|
exception
Returns last occurred exception on this record (or null).
Returns
Supported Clients
Table Row (tr) | ||
---|---|---|
| ||
|
id | foundset |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Returns
class | sIndent |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
foundset
Returns parent foundset of the record.
Returns
id | sam |
---|
Colgroup Tag | |||||||
---|---|---|---|---|---|---|---|
|
Table Head (thead) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
id | getChangedData |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Returns
class | sIndent |
---|
Supported Clients
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | function |
---|---|
class | servoy sDetail |
recordMarkers
Returns the validation object if there where validation failures for this record
Can be set to null again if you checked the problems, will also be set to null when a save was successful.
Returns
Supported Clients
Sample
createMarkers()
Creates and returns a new validation object for this record, which allows for markers to be used outside the validation flow.
Will overwrite the current markers if present.
Can be set to null again if you checked the problems, will also be set to null when a save was successful.
Returns
Supported Clients
Sample
getChangedData()
Returns a JSDataSet with outstanding (not saved) changed data of this record.
column1 is the column name, colum2 is the old data and column3 is the new data.
NOTE: To return an array of records with outstanding changed data, see the function databaseManager.getEditedRecords().
Returns
Supported Clients
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Returns
class | sIndent |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | getDataSource |
---|
getDataSource()
Returns the records datasource string.
Returns
Supported Clients
id | ret |
---|
Returns
class | sIndent |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | getPKs |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
getPKs()
Returns an array with the primary key values of the record.
Returns
Supported Clients
Returns
class | sIndent |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | hasChangedData |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Returns
class | sIndent |
---|
hasChangedData()
Returns true if the current record has outstanding/changed data.
Returns
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Body (tbody) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
id | isNew |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Supported Clients
Sample
isEditing()
Returns true or false if the record is being edited or not.
This will not check if the record doesn't really have any changes, it just returns the edit state.
So this can return true but databaseManager.getEditedRecord() will not return this record because that
call will check if the record has really any changed values compared to the stored database values.
Record can be in edit mode without changes when some field is focused (so edit is started) but no changes are done yet
or when changes were done in such a way that record data is the same as database data.
Returns
Supported Clients
Sample
isNew()
Returns true if the current record is a new record or false otherwise. New record means not saved to database.
Returns
id | sam |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | revertChanges |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
Supported Clients
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
isRelatedFoundSetLoaded(relationName)
Returns true or false if the related foundset is already loaded. Will not load the related foundset.
Parameters
Returns
Supported Clients
Sample
revertChanges()
Reverts the in memory outstanding (not saved) changes of the record.
Supported Clients
Sample