Interface BranchSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing branch searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetBranchSearchRecord(Type branchSearchRecordType) Gets the branch search record corresponding to the given branch search recordType.voidorderBranchResults(BranchSearchOrder branchSearchOrder) Specify an ordering to the search results.voidsearchAmongBranches(IdList branchIds) Execute this search among the given list of branches.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
-
searchAmongBranches
Execute this search among the given list of branches.- Parameters:
branchIds- list of branchIds- Throws:
NullArgumentException-branchIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderBranchResults
Specify an ordering to the search results.- Parameters:
branchSearchOrder- branch search order- Throws:
NullArgumentException-orderisnullUnsupportedException-orderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getBranchSearchRecord
BranchSearchRecord getBranchSearchRecord(Type branchSearchRecordType) throws OperationFailedException Gets the branch search record corresponding to the given branch search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
branchSearchRecordType- a branch search record type- Returns:
- the branch search record
- Throws:
NullArgumentException-branchSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordTypeType(branchSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-