Class VcHostDatastoreBrowserSearchSpec

Extends VcDynamicData
The data object type describes a search for files in one or more datastores. The properties do not include the starting datastore path because that path is a separate parameter to the search method.

A SearchSpec contains the query parameters and some global search modifiers.


Name Type Description
details VcFileQueryFlags This object comprises a set of booleans that describe what details to return for each file. The file level details apply globally to all matched files.
matchPattern String[] Specifies a list of file patterns that must match for a file to be returned. This search property is a filter that applies globally so that only files matching the specified patterns are returned, regardless of the other search parameters.
query VcFileQuery[] The set of file types to match, search criteria specific to the file type, and the amount of detail for a file. These search parameters are specific to a file type, meaning that they can be specified only if the file type to which they are associated is in the set. A file type cannot appear more than once in the set. <p> If this query object is not present, then all files providing only file level details are matched.
searchCaseInsensitive boolean This flag indicates whether or not to search using a case insensitive match on type. In general the algorithm used to match file types relies on file extensions. Although the specific file extensions used are encapsulated by this API, clients are still allowed to modify the filtering behavior. <p> By default, the DatastoreBrowser uses a platform-consistent algorithm to determine if a file is of a type. Specifically on Linux, where case is important, the search is case sensitive. On Windows, case is not important, so the search is case insensitive. <p> In an environment with heterogenous platforms, being platform-consistent may not be desirable. As a result, the default behavior can be overridden by setting this optional flag.
sortFoldersFirst boolean By default, files are sorted in alphabetical order regardless of file type. If this flag is set to "true", folders are placed at the start of the list of results in alphabetical order. The remaining files follow in alphabetical order.


Name Returns
VcHostDatastoreBrowserSearchSpec() constructor
equals(Object ) boolean
getDeserializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Deserializer
getSerializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Serializer
getTypeDesc() org.apache.axis.description.TypeDesc
hashCode() Number

Returned by


Referenced in

Method Returns
VcHostDatastoreBrowser.searchDatastore_Task(String datastorePath, VcHostDatastoreBrowserSearchSpec searchSpec) VcTask
VcHostDatastoreBrowser.searchDatastoreSubFolders_Task(String datastorePath, VcHostDatastoreBrowserSearchSpec searchSpec) VcTask