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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum 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 SummaryModifier and TypeMethodDescriptiongetValue()static DSOperationTypeReturns 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- 
FETCHFetch one or more records that match a set of search criteria.If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "fetch".
- 
ADDStore new recordsIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "add".
- 
UPDATEUpdate an existing recordIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "update".
- 
REMOVERemove (delete) an existing recordIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "remove".
- 
CUSTOMperform 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 byResultSets. SeeDataSource.performCustomOperation().If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "custom".
- 
VALIDATERun server-side validation for "add" or "update" without actually adding or updating anything. SeeDataSource.validateData().If this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "validate".
- 
VIEWFILERetrieve 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "viewFile".
- 
DOWNLOADFILELike "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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "downloadFile".
- 
STORETESTDATATakes a List of Maps and stores the data in Admin Console XML test data formatIf this enumerated value is used in a Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "storeTestData".
- 
CLIENTEXPORTUpload 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "clientExport".
- 
GETFILEUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "getFile".
- 
HASFILEUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "hasFile".
- 
LISTFILESUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "listFiles".
- 
REMOVEFILEUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "removeFile".
- 
SAVEFILEUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "saveFile".
- 
RENAMEFILEUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "renameFile".
- 
GETFILEVERSIONUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "getFileVersion".
- 
HASFILEVERSIONUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "hasFileVersion".
- 
LISTFILEVERSIONSUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "listFileVersions".
- 
REMOVEFILEVERSIONUse 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 XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "removeFileVersion".
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
getValue
 
-