OSID Logo
OSID Specifications
room squatting package
Version 3.1.0
Interfaceosid.room.squatting.DeedQuery
Implementsosid.OsidRelationshipQuery
Used Byosid.room.squatting.DeedQuerySession
osid.room.squatting.DeedSearchSession
osid.room.squatting.DeedSmartCampusSession
Description

This is the query for searching for deeds. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchBuildingId
Description

Sets a building Id.

Parametersosid.id.IdbuildingId a building Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT buildingId is null
Compliancemandatory This method must be implemented.
MethodclearBuildingIdTerms
Description

Clears the building Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBuildingQuery
Description

Tests if a BuildingQuery is available.

Returnboolean true if a building query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBuildingQuery
Description

Gets the query for a building query. Multiple retrievals produce a nested OR term.

Returnosid.room.BuildingQuery the building query
ErrorsUNIMPLEMENTED supportsBuildingQuery() is false
Complianceoptional This method must be implemented if supportsBuildingQuery() is true.
MethodclearBuildingTerms
Description

Clears the building terms.

Compliancemandatory This method must be implemented.
MethodmatchOwnerId
Description

Sets a resource Id.

Parametersosid.id.IdresourceId a resource Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearOwnerIdTerms
Description

Clears the owner resource Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsOwnerQuery
Description

Tests if a ResourceQuery is available.

Returnboolean true if a resource query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOwnerQuery
Description

Gets the query for an owner resource query. Multiple retrievals produce a nested OR term.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsOwnerQuery() is false
Complianceoptional This method must be implemented if supportsOwnerQuery() is true.
MethodclearOwnerTerms
Description

Clears the owner terms.

Compliancemandatory This method must be implemented.
MethodmatchCampusId
Description

Sets the deed Id for this query to match rooms assigned to campuses.

Parametersosid.id.IdcampusId a campus Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT campusId is null
Compliancemandatory This method must be implemented.
MethodclearCampusIdTerms
Description

Clears the campus Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCampusQuery
Description

Tests if a CampusQuery is available.

Returnboolean true if a campus query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCampusQuery
Description

Gets the query for a campus query. Multiple retrievals produce a nested OR term.

Returnosid.room.CampusQuery the campus query
ErrorsUNIMPLEMENTED supportsCampusQuery() is false
Complianceoptional This method must be implemented if supportsCampusQuery() is true.
MethodclearCampusTerms
Description

Clears the campus terms.

Compliancemandatory This method must be implemented.
MethodgetDeedQueryRecord
Description

Gets the deed query record corresponding to the given Deed record Type.Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypedeedRecordType a deed record type
Returnosid.room.squatting.records.DeedQueryRecord the deed query record
ErrorsNULL_ARGUMENT deedRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(deedRecordType) is false
Compliancemandatory This method must be implemented.