Package com.smartgwt.client.docs.serverds
package com.smartgwt.client.docs.serverds
This package is reference for all properties that may be specified in DataSource descriptor
(.ds.xml file), for use with Smart GWT Pro Edition and above. Do not import this package in
your Java code - it is informational only.
Each Java Class here represents an XML element, and each field is a setting that can be specified as either an attribute or a subelement.
For example, DataSource.canMultiSort can be set like this:
<DataSource canMultiSort="true"/>
Or like this:
<DataSource>
<canMultiSort>true</canMultiSort>
</DataSource>
When a class in this package has a field that is an Array of another class, it means there is
a containing XML tag named after the field, then several tags named after the class. For
example, DataSource.operationBindings is an Array of OperationBinding. The XML for this is:
<DataSource>
<operationBindings>
<operationBinding operationType="fetch">
... various operationBinding settings ...
</operationBinding>
</operationBindings>
</DataSource>
If the field is not an Array, it means there should be a singular tag. For example,
OperationBinding.mail:
<DataSource>
<operationBindings>
<operationBinding operationType="add">
<mail to="admin@company.com" templateFile="messageTemplate.txt"/>
</operationBinding>
</operationBindings>
</DataSource>
DataSource files and other Component XML files can be localized using resource bundles -
see this overview
for details.
NOTE: the settings described in the special "serverds" JavaDoc package are only usable with Smart GWT Pro Edition and above, however, the "serverds" documentation is included with Smart GWT LGPL since some parts of the documentation cover concepts and approaches that are also applicable in Smart GWT LGPL.
-
ClassDescriptionAdvancedCriteria is a format for representing search criteria which may include operators on field values such as "less than", or may include sub-clauses such as several criteria applied to fields joined by an "OR" operator.A specialized subclass of
DSRequest
that you use to declare the properties of a subquery (afieldQuery
orvalueQuery
) to be used inAdvancedCriteria
.An object representing a criterion to apply to a record.A DataSource is data-provider-independent description of a set of objects that will be loaded, edited and saved within the user interface of your application.Metadata about a DataSourceField, including its type and validators.An object that modifies a dsRequest based on several available values, including preceding responses from the same queue.AMail
object describes an email that will be sent automatically by the Smart GWT Server as part of a normalDataSource
operation.An operationBinding tells a DataSource how to execute one of the basic DS operations: fetch, add, update, remove.Specification of an operator for use in filtering, for example "equals".Authentication settings, applicable only to theRestConnector
The ServerObject tells the ISC server how to find or create a server-side object involved inDMI
(Direct Method Invocation).An atomic type such as a string or number, that is generally stored, displayed and manipulated as a single value.A validator describes a check that should be performed on a value the user is trying to save.Defines the method of theServerObject
if it appears in anApplication declaration file
.