OSID Logo
OSID Specifications
room squatting package
Version 3.1.0
Interfaceosid.room.squatting.DeedSearchSession
Implementsosid.room.squatting.DeedQuerySession
Used Byosid.room.squatting.RoomSquattingManager
osid.room.squatting.RoomSquattingProxyManager
Description

This session provides methods for searching Deeds. The search query is constructed using the DeedQuery. The deed record Type also specifies the record for the deed query.

getDeedsByQuery() is the basic search method and returns a list of Deed elements. A more advanced search may be performed with getDeedsBySearch(). It accepts a DeedSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getDeedsBySearch() returns a DeedSearchResults that can be used to access the resulting DeedList or be used to perform a search within the result set through DeedSearch.

Deeds may have a query record indicated by their respective record types. The query record is accessed via the DeedQuery. The returns in this session may not be cast directly to these interfaces.

MethodgetDeedSearch
Description

Gets a deed search.

Returnosid.room.squatting.DeedSearch the deed search
Compliancemandatory This method must be implemented.
MethodgetDeedSearchOrder
Description

Gets a deed search order. The DeedSearchOrder is supplied to a DeedSearch to specify the ordering of results.

Returnosid.room.squatting.DeedSearchOrder the deed search order
Compliancemandatory This method must be implemented.
MethodgetDeedsBySearch
Description

Gets the search results matching the given search.

Parametersosid.room.squatting.DeedQuerydeedQuery the deed query
osid.room.squatting.DeedSearchdeedSearch the deed search
Returnosid.room.squatting.DeedSearchResults the deed search results
ErrorsNULL_ARGUMENT deedQuery or deedSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED deedQuery or deedSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetDeedQueryFromInspector
Description

Gets a deed query from an inspector. The inspector is available from a DeedSearchResults.

Parametersosid.room.squatting.DeedQueryInspectordeedQueryInspector a query inspector
Returnosid.room.squatting.DeedQuery the deed query
ErrorsNULL_ARGUMENT deedQueryInspector is null
UNSUPPORTED deedQueryInspector is not of this service
Compliancemandatory This method must be implemented.