Interface CompetencySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing competency searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCompetencySearchRecord(Type competencySearchRecordType) Gets the competency search record corresponding to the given competency search recordType.This method is used to retrieve an object implementing the requested record.voidorderCompetencyResults(CompetencySearchOrder competencySearchOrder) Specify an ordering to the search results.voidsearchAmongCompetencies(IdList competencyIds) Execute this search among the given list of competencies.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
-
searchAmongCompetencies
Execute this search among the given list of competencies.- Parameters:
competencyIds- list of competencies- Throws:
NullArgumentException-competencyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCompetencyResults
Specify an ordering to the search results.- Parameters:
competencySearchOrder- competency search order- Throws:
NullArgumentException-competencySearchOrderisnullUnsupportedException-competencySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCompetencySearchRecord
CompetencySearchRecord getCompetencySearchRecord(Type competencySearchRecordType) throws OperationFailedException Gets the competency search record corresponding to the given competency search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
competencySearchRecordType- a competency search record type- Returns:
- the competency search record
- Throws:
NullArgumentException-competencySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(competencySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-