FileSystemService.queryEntries Method

Gets the 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.
 pageNumber              [type: Number] - (default=0) The page number. Set to 0 for all pages.
 pageSize                [type: Number] - (default=150) The number of results in each page.
 orderBy                 [type: Array, elementType: dundas.filesystem.OrderBy] - (optional) The sort order of the result, or null if the order does not matter.
 filter                  [type: Array, elementType: dundas.filesystem.QueryFilterRule] - (optional) The filter options for the result, or null if the filtering does not matter.
 accountId               [type: String] -(optional) The ID of an account to query on, to be used with objectPrivilegeId. If either accountId or objectPrivilegeId are null, both options will be ignored.
 objectPrivilegeId               [type: String] -(optional) The ID of an account to query on, to be used with accountId. If either accountId or objectPrivilegeId are null, both options will be ignored.
 

Return Value


Type: jQuery.Promise
Value: Array
Element Value: FileSystemEntry
A promise object that is resolved when the call is complete. If successful, an array of dundas.filesystem.FileSystemEntry is returned. 

Examples