Enum DSOperationType
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<DSOperationType>
,Constable
DataSourceOperations
for a full description. There are also additional, non-CRUD operations explained below.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStore new recordsUpload formatted client data and export it to Excel, XML and other formats.perform some arbitrary custom logic that is not a CRUD operation.Like "viewFile", but the HTTP header Content-Disposition is used to suggest that the browser show a save dialog.Fetch one or more records that match a set of search criteria.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Remove (delete) an existing recordUse the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Use the DataSource as asource for files
.Takes a List of Maps and stores the data in Admin Console XML test data formatUpdate an existing recordRun server-side validation for "add" or "update" without actually adding or updating anything.Retrieve a file stored in a binary field in a DataSource record, and allow the browser to choose whether to view it directly or prompt the user to save. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static DSOperationType
Returns the enum constant of this type with the specified name.static DSOperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FETCH
Fetch one or more records that match a set of search criteria.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "fetch". -
ADD
Store new recordsIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "add". -
UPDATE
Update an existing recordIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "update". -
REMOVE
Remove (delete) an existing recordIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "remove". -
CUSTOM
perform some arbitrary custom logic that is not a CRUD operation. Format of the inputs and outputs is unconstrained, and the operation will be ignored for cache sync purposes byResultSet
s. SeeDataSource.performCustomOperation()
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "custom". -
VALIDATE
Run server-side validation for "add" or "update" without actually adding or updating anything. SeeDataSource.validateData()
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "validate". -
VIEWFILE
Retrieve a file stored in a binary field in a DataSource record, and allow the browser to choose whether to view it directly or prompt the user to save. SeeBinaryFields
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "viewFile". -
DOWNLOADFILE
Like "viewFile", but the HTTP header Content-Disposition is used to suggest that the browser show a save dialog. SeeBinaryFields
.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "downloadFile". -
STORETESTDATA
Takes a List of Maps and stores the data in Admin Console XML test data formatIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "storeTestData". -
CLIENTEXPORT
Upload formatted client data and export it to Excel, XML and other formats. Used automatically byexportClientData()
and cannot be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "clientExport". -
GETFILE
Use the DataSource as asource for files
. Used automatically byDataSource.getFile()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "getFile". -
HASFILE
Use the DataSource as asource for files
. Used automatically byDataSource.hasFile()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "hasFile". -
LISTFILES
Use the DataSource as asource for files
. Used automatically byDataSource.listFiles()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "listFiles". -
REMOVEFILE
Use the DataSource as asource for files
. Used automatically byDataSource.removeFile()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "removeFile". -
SAVEFILE
Use the DataSource as asource for files
. Used automatically byDataSource.saveFile()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "saveFile". -
RENAMEFILE
Use the DataSource as asource for files
. Used automatically byDataSource.renameFile()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "renameFile". -
GETFILEVERSION
Use the DataSource as asource for files
. Used automatically byDataSource.getFileVersion()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "getFileVersion". -
HASFILEVERSION
Use the DataSource as asource for files
. Used automatically byDataSource.hasFileVersion()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "hasFileVersion". -
LISTFILEVERSIONS
Use the DataSource as asource for files
. Used automatically byDataSource.listFileVersions()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "listFileVersions". -
REMOVEFILEVERSION
Use the DataSource as asource for files
. Used automatically byDataSource.removeFileVersion()
, and would not normally be used directly. Usable only with the Smart GWT server framework.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "removeFileVersion".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-