Interface EffortSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing effort searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetEffortSearchRecord(Type effortSearchRecordType) Gets the effort search record corresponding to the given effort search recordType.voidorderEffortResults(EffortSearchOrder effortSearchOrder) Specify an ordering to the search results.voidsearchAmongEfforts(IdList effortIds) Execute this search among the given list of efforts.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongEfforts
Execute this search among the given list of efforts.- Parameters:
effortIds- list of efforts- Throws:
NullArgumentException-effortIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEffortResults
Specify an ordering to the search results.- Parameters:
effortSearchOrder- effort search order- Throws:
NullArgumentException-effortSearchOrderisnullUnsupportedException-effortSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEffortSearchRecord
EffortSearchRecord getEffortSearchRecord(Type effortSearchRecordType) throws OperationFailedException Gets the effort search record corresponding to the given effort search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
effortSearchRecordType- an effort search record type- Returns:
- the effort search record
- Throws:
NullArgumentException-effortSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(effortSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-