BenSelect Documentation
IFileStorage Interface
Members  See Also  Send Feedback
Selerix.Foundation.Interfaces Namespace : IFileStorage Interface
Gives methods to save, store and read files.

Syntax

JScript 
public interface IFileStorage 

Public Properties

 NameDescription
 PropertyIsConfiguredReturns true if storage is configured.  
 PropertyStorageIDGets the storage identifier.  
Top

Public Methods

 NameDescription
 MethodCommitCommit new version for file.  
 MethodDeleteFileOverloaded. Deletes the file.  
 MethodExistsReturns true when file exists.  
 MethodFilesCountReturn count of files saved in storage.  
 MethodGetFileAsBytesOverloaded. Return file as byte array.  
 MethodGetFileAsOfDateOverloaded. Returns file as of date in storage or null in case file doesn't exist.  
 MethodGetFileAsStringOverloaded. Returns file as string.  
 MethodGetInputStreamOverloaded. Returns input file stream by filename.  
 MethodGetLastVersionReturn number of version stored for file.  
 MethodGetMetadataOverloaded. Returns file's metadata.  
 MethodGetMetadataAllVersionsReturns file metadata for all file versions including trunk - goes first. Be aware collection can have nulls in it if no metadata for some specific version.  
 MethodGetOutputStreamOverloaded. Creates output file stream by filename.  
 MethodListOverloaded. Returns list of files were uploaded.  
 MethodPurgeExpiredFilesPurges expired files from storage which are older than the upload date specified.  
 MethodPurgeInactiveFilesPurges inactive files from storage which are older than the upload date specified.  
 MethodRenameFileRename the file.  
 MethodSaveFileOverloaded. Saves file stream and returns file guid.  
 MethodSaveFileZippedOverloaded. Compress and saves file stream and returns file guid.  
 MethodSaveStringOverloaded. Saves file string data and returns file name.  
 MethodSaveStringZippedOverloaded. Compress and saves file string data and returns file name.  
 MethodSaveTempFileSaves temp file stream and returns unique file id.  
Top

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2024 All Rights Reserved.