OSID Logo
OSID Specifications
room squatting package
Version 3.0.0
Interfaceosid.room.squatting.LeaseSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.room.squatting.LeaseSearchSession
osid.room.squatting.LeaseSmartCampusSession
Description

An interface for specifying the ordering of search results.

MethodorderByRoom
Description

Specifies a preference for ordering the result set by the room.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsRoomSearchOrder
Description

Tests if a room search order is available.

Returnbooleantrue if a room search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRoomSearchOrder
Description

Gets the room search order.

Returnosid.room.RoomSearchOrderthe room search order
ErrorsUNIMPLEMENTEDsupportsRoomSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsRoomSearchOrder() is true .
MethodorderByTenant
Description

Specifies a preference for ordering the result set by the owner.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENTstyle is null
CompliancemandatoryThis method must be implemented.
MethodsupportsTenantSearchOrder
Description

Tests if a tenant resource search order is available.

Returnbooleantrue if a tenant search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTenantSearchOrder
Description

Gets the tenant resource search order.

Returnosid.resource.ResourceSearchOrderthe resource search order
ErrorsUNIMPLEMENTEDsupportsTenantSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsTenantSearchOrder() is true .
MethodgetLeaseSearchOrderRecord
Description

Gets the lease search order record corresponding to the given lease record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeleaseRecordTypea lease record type
Returnosid.room.squatting.records.LeaseSearchOrderRecordthe lease search order record
ErrorsNULL_ARGUMENTleaseRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(leaseRecordType) is false
CompliancemandatoryThis method must be implemented.