public interface FileSearchOrder extends DirectoryEntrySearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
FileSearchOrderRecord |
getFileSearchOrderRecord(Type fileRecordType)
Gets the file search order record corresponding to the given file
record Type.
|
void |
orderBySize(SearchOrderStyle style)
Specifies a preference for ordering the results by file size.
|
getOwnerSearchOrder, orderByCreatedTime, orderByLastAccessTime, orderByModifiedTime, orderByName, orderByOwner, orderByPath, supportsOwnerSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderBySize(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. FileSearchOrderRecord getFileSearchOrderRecord(Type fileRecordType) throws OperationFailedException
fileRecordType
- a file record typeNullArgumentException
- fileRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(fileRecordType)
is false
mandatory
- This method must be implemented.