Interface LeaseSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing lease searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetLeaseSearchRecord(Type leaseSearchRecordType) Gets the dis[atch search record corresponding to the given lease search recordType.voidorderLeaseResults(LeaseSearchOrder leaseSearchOrder) Specify an ordering to the search results.voidsearchAmongLeases(IdList leaseIds) Execute this search among the given list of leases.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
-
searchAmongLeases
Execute this search among the given list of leases.- Parameters:
leaseIds- list of leases- Throws:
NullArgumentException-leaseIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderLeaseResults
Specify an ordering to the search results.- Parameters:
leaseSearchOrder- lease search order- Throws:
NullArgumentException-leaseSearchOrderisnullUnsupportedException-leaseSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getLeaseSearchRecord
Gets the dis[atch search record corresponding to the given lease search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
leaseSearchRecordType- a lease search record type- Returns:
- the lease search record
- Throws:
NullArgumentException-leaseSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(leaseSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-