OSID Logo
OSID Specifications
room squatting package
Version 3.1.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.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsRoomSearchOrder
Description

Tests if a room search order is available.

Returnboolean true if a room search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRoomSearchOrder
Description

Gets the room search order.

Returnosid.room.RoomSearchOrder the room search order
ErrorsUNIMPLEMENTED supportsRoomSearchOrder() is false
Complianceoptional This method must be implemented if supportsRoomSearchOrder() is true.
MethodorderByTenant
Description

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

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsTenantSearchOrder
Description

Tests if a tenant resource search order is available.

Returnboolean true if a tenant search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTenantSearchOrder
Description

Gets the tenant resource search order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsTenantSearchOrder() is false
Complianceoptional This 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.TypeleaseRecordType a lease record type
Returnosid.room.squatting.records.LeaseSearchOrderRecord the lease search order record
ErrorsNULL_ARGUMENT leaseRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(leaseRecordType) is false
Compliancemandatory This method must be implemented.