public interface FileSource
DataSource
to be used as a way to store
files in a DataSource that might otherwise be stored in a filesystem on the server. They are
implemented by sending requests to the server with a special operationType
. FileSource operations use
standardized field names: fileName, fileType, fileFormat, fileContents, fileSize,
fileLastModified and optionally fileVersion. These are translated on the server to native
field names for the DataSource
, determined according to the
DataSource configuration for fileNameField
, fileTypeField
, fileFormatField
, fileContentsField
, fileLastModifiedField
, and fileVersionField
.
DataSource
,
DataSource.getFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.callbacks.GetFileCallback)
,
DataSource.hasFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.callbacks.HasFileCallback)
,
DataSource.listFiles(com.smartgwt.client.data.Criteria, com.smartgwt.client.data.DSCallback)
,
DataSource.saveFile(com.smartgwt.client.data.FileSpec, java.lang.String)
,
DataSource.renameFile(com.smartgwt.client.data.FileSpec, com.smartgwt.client.data.FileSpec)
,
DataSource.removeFile(com.smartgwt.client.data.FileSpec)
,
DataSource.listFileVersions(com.smartgwt.client.data.FileSpec, com.smartgwt.client.data.DSCallback)
,
DataSource.getFileVersion(com.smartgwt.client.data.FileSpec, java.util.Date, com.smartgwt.client.callbacks.GetFileVersionCallback)
,
DataSource.hasFileVersion(com.smartgwt.client.data.FileSpec, java.util.Date, com.smartgwt.client.callbacks.HasFileCallback)
,
DataSource.removeFileVersion(com.smartgwt.client.data.FileSpec, java.util.Date)
,
FileSpec
,
DataSource.makeFileSpec(java.lang.String)
,
DataSource.fileNameField
,
DataSource.fileTypeField
,
DataSource.fileFormatField
,
DataSource.fileContentsField
,
DataSource.fileLastModifiedField
,
DataSource.fileVersionField
,
DataSource.maxFileVersions
,
DataSource.projectFileKey
,
DataSource.projectFileLocations