Interface CanonicalUnitSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing canonical unit searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCanonicalUnitSearchRecord(Type canonicalUnitSearchRecordType) Gets the record corresponding to the given canonical unit search recordType.voidorderCanonicalUnitResults(CanonicalUnitSearchOrder canonicalUnitSearchOrder) Specify an ordering to the search results.voidsearchAmongCanonicalUnits(IdList canonicalUnitIds) Execute this search among the given list of canonical units.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
-
searchAmongCanonicalUnits
Execute this search among the given list of canonical units.- Parameters:
canonicalUnitIds- list of canonical units- Throws:
NullArgumentException-canonicalUnitIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCanonicalUnitResults
Specify an ordering to the search results.- Parameters:
canonicalUnitSearchOrder- canonical unit search order- Throws:
NullArgumentException-canonicalUnitSearchOrderisnullUnsupportedException-canonicalUnitSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCanonicalUnitSearchRecord
CanonicalUnitSearchRecord getCanonicalUnitSearchRecord(Type canonicalUnitSearchRecordType) throws OperationFailedException Gets the record corresponding to the given canonical unit search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
canonicalUnitSearchRecordType- a canonical unit search record type- Returns:
- the canonical unit search record
- Throws:
NullArgumentException-canonicalUnitSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(canonicalUnitSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-