Interface CommitmentSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
CommitmentSearch defines the interface for specifying
commitment search options.
-
Method Summary
Modifier and TypeMethodDescriptiongetCommitmentSearchRecord(Type commitmentSearchRecordType) Gets the commitment seaqrch record corresponding to the given commitment search recordType.This method is used to retrieve an object implementing the requested record.voidorderCommitmentResults(CommitmentSearchOrder commitmentSearchOrder) Specify an ordering to the search results.voidsearchAmongCommitments(IdList commitmentIds) Execute this search among the given list of commitments.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
-
searchAmongCommitments
Execute this search among the given list of commitments.- Parameters:
commitmentIds- list of commitments- Throws:
NullArgumentException-commitmentIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCommitmentResults
Specify an ordering to the search results.- Parameters:
commitmentSearchOrder- commitment search order- Throws:
NullArgumentException-commitmentSearchOrderisnullUnsupportedException-commitmentSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCommitmentSearchRecord
CommitmentSearchRecord getCommitmentSearchRecord(Type commitmentSearchRecordType) throws OperationFailedException Gets the commitment seaqrch record corresponding to the given commitment search recordType.This method is used to retrieve an object implementing the requested record.- Parameters:
commitmentSearchRecordType- a commitment search record type- Returns:
- the commitment search record
- Throws:
NullArgumentException-commitmentRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(commitmentSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-