Page History
Divcache | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
HTML Table | ||||||||||
id | ||||||||||
class | servoy sSummary |
Colgroup Tag | |||||
---|---|---|---|---|---|
|
Table Head (thead) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Table Cell (td) |
---|
Number |
styleindex | display:none |
---|
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Div | ||
---|---|---|
| ||
For more information see Relations |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Row (tr) |
Table Cell (td) | Table Row (tr) |
Table Cell (td) | Table Row (tr) |
Table Cell (td) | | ||||||||||||||||||||||||||||||||||||||||||||||||||||
HTML Table | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
class | servoy sSummary | id | class
Table Head (thead) | Table Row (tr) | | style | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Row (tr) |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
Boolean |
Table Cell (td) |
---|
String |
Table Cell (td) |
---|
String |
Table Cell (td) |
---|
Number |
Table Cell (td) |
---|
String |
Table Cell (td) |
---|
String |
Colgroup Tag | |||||
---|---|---|---|---|---|
|
Table Head (th) | ||
---|---|---|
| ||
Method Summary |
Table Cell (td) |
---|
JSRelationItem[] |
Table Cell (td) |
---|
UUID |
Table Cell (td) |
---|
JSRelationItem |
Col |
---|
FULL_JOIN
Constant for the joinType of a
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | INNER_JOIN |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | des |
---|
class | sIndent |
---|
JSRelation. It is also used in solutionModel.newRelation(...).
Returns
Supported Clients
Sample
INNER_JOIN
Constant for the joinType of a JSRelation. It is also used in solutionModel.newRelation(...)
.
Returns
Supported Clients
id | sam |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
LEFT_OUTER_JOIN
Constant for the joinType of a JSRelation. It is also used in solutionModel.newRelation(...)
.
Returns
Supported Clients
id | sam |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
RIGHT_OUTER_JOIN
Constant for the joinType of a
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
HTML Table | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
HTML Table | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Table Body (tbody) | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
Returns
class | sIndent |
---|
JSRelation. It is also used in solutionModel.newRelation(...).
Returns
Supported Clients
Sample
allowCreationRelatedRecords
Flag that tells if related records can be created through this relation.
The default value of this flag is "false".
Returns
Supported Clients
Sample
allowParentDeleteWhenHavingRelatedRecords
Flag that tells if the parent record can be deleted while it has related records.
The default value of this flag is "true".
Returns
Supported Clients
Sample
deleteRelatedRecords
Flag that tells if related records should be deleted or not when a parent record is deleted.
The default value of this flag is "false".
Returns
Supported Clients
Sample
foreignDataSource
Qualified name of the foreign data source. Contains both the name of the foreign
server and the name of the foreign table.
Returns
Supported Clients
Sample
initialSort
A String which specified a set of sort options for the initial sorting of data
retrieved through this relation.
Has the form "column_name asc, another_column_name desc, ...".
Returns
Supported Clients
Sample
joinType
The join type that is performed between the primary table and the foreign table.
Can be "inner join" or "left outer join".
Returns
Supported Clients
Sample
name
The name of the relation.
Returns
Supported Clients
Sample
primaryDataSource
Qualified name of the primary data source. Contains both the name of the primary server
and the name of the primary table.
Returns
Supported Clients
Sample
id | sig |
---|
Span | ||
---|---|---|
| ||
JSRelationItem |
Span | ||
---|---|---|
| ||
newRelationItem |
getRelationItems()
Returns an array of JSRelationItem objects representing the relation criteria defined for this relation.
Returns
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Body (tbody) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
id | newRelationItem-String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Supported Clients
Sample
getUUID()
Returns the UUID of the relation object
Returns
Supported Clients
Sample
newRelationItem(dataprovider, operator, foreinColumnName)
Creates a new relation item for this relation. The primary dataprovider, the foreign data provider
and one relation operators (like '=' '!=' '>' '<') must be provided.
Parameters
{String}
{String}
Returns
Supported Clients
Table Row (tr) | ||
---|---|---|
| ||
|
id | removeRelationItem-String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
void |
Span | ||
---|---|---|
| ||
removeRelationItem |
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
removeRelationItem(primaryDataProviderID, operator, foreignColumnName)
Removes the desired relation item from the specified relation.
Parameters
{String}
{String}
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
Supported Clients
Sample