FileSystemService.queryNumberOfEntries Method

Gets the number of files corresponding to query criteria.
 

Parameters

queryOptions

Type: Object
The options to query. Structure
 entryId                 [type: String] - (optional) The ID of the file or folder to query. If this is not supplied, entryIds must be supplied.
 entryIds                [type: Array, elementType: String] - (optional) The IDs of the file or folder to query. If this is not supplied, entryId must be supplied.
 queryOptions            [type: dundas.filesystem.FileSystemQueryOptions] - (optional) The query options.
 filter                  [type: Array, elementType: dundas.filesystem.QueryFilterRule] - (optional) The filter options for the result, or null if the filtering does not matter.
 

Return Value


Type: jQuery.Promise
Value: int
A promise object that is resolved when the call is complete. If successful, an int containing the number of accounts that match the filter is returned.