Interface AgencySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing agency searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetAgencySearchRecord(Type agencySearchRecordType) Gets the record corresponding to the given agency search recordType.voidorderAgencyResults(AgencySearchOrder agencySearchOrder) Specify an ordering to the search results.voidsearchAmongAgencies(IdList agencyIds) Execute this search among the given list of agencies.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
-
searchAmongAgencies
Execute this search among the given list of agencies.- Parameters:
agencyIds- list of agencies- Throws:
NullArgumentException-agencyIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderAgencyResults
Specify an ordering to the search results.- Parameters:
agencySearchOrder- agency search order- Throws:
NullArgumentException-agencySearchOrderisnullUnsupportedException-agencySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getAgencySearchRecord
AgencySearchRecord getAgencySearchRecord(Type agencySearchRecordType) throws OperationFailedException Gets the record corresponding to the given agency search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
agencySearchRecordType- an agency search record type- Returns:
- the agency search record
- Throws:
NullArgumentException-agencySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(agencySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-