public interface WorkSearch extends OsidSearch
The search interface for governing work searches.
Modifier and Type | Method and Description |
---|---|
WorkSearchRecord |
getWorkSearchRecord(Type workSearchRecordType)
Gets the work search record corresponding to the given work search
record
Type. |
void |
orderWorkResults(WorkSearchOrder workSearchOrder)
Specify an ordering to the search results.
|
void |
searchAmongWorks(IdList workIds)
Execute this search among the given list of works.
|
limitResultSet
getRecordTypes, hasRecordType
void searchAmongWorks(IdList workIds)
workIds
- list of worksNullArgumentException
- workIds
is
null
mandatory
- This method must be implemented. void orderWorkResults(WorkSearchOrder workSearchOrder)
workSearchOrder
- work search orderNullArgumentException
- workSearchOrder
is null
UnsupportedException
- workSearchOrder
is not of this servicemandatory
- This method must be implemented. WorkSearchRecord getWorkSearchRecord(Type workSearchRecordType) throws OperationFailedException
Type.
This method is used to retrieve an object
implementing the requested record.workSearchRecordType
- a work search record typeNullArgumentException
- workSearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(workSearchRecordType)
is false
mandatory
- This method must be implemented.