OSID Logo
OSID Specifications
personnel package
Version 3.1.0
Interfaceosid.personnel.RealmQuery
Implementsosid.OsidCatalogQuery
Used Byosid.personnel.AppointmentQuery
osid.personnel.OrganizationQuery
osid.personnel.PersonQuery
osid.personnel.PositionQuery
osid.personnel.RealmQuery
osid.personnel.RealmQuerySession
osid.personnel.RealmSearchSession
Description

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

MethodmatchPersonId
Description

Sets the person Id for this query to match persons assigned to realms.

Parametersosid.id.IdpersonId a person Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT personId is null
Compliancemandatory This method must be implemented.
MethodclearPersonIdTerms
Description

Clears all person Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsPersonQuery
Description

Tests if a person query is available.

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

Gets the query for a person.

Returnosid.personnel.PersonQuery the person query
ErrorsUNIMPLEMENTED supportsPersonQuery() is false
Complianceoptional This method must be implemented if supportsPersonQuery() is true.
MethodmatchAnyPerson
Description

Matches realms with any person.

Parametersbooleanmatch true to match realms with any person, false to match realms with no persons
Compliancemandatory This method must be implemented.
MethodclearPersonTerms
Description

Clears all person terms.

Compliancemandatory This method must be implemented.
MethodmatchOrganizationId
Description

Sets the organization Id for this query to match organizations assigned to realms.

Parametersosid.id.IdorganizationId an organization Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT organizationId is null
Compliancemandatory This method must be implemented.
MethodclearOrganizationIdTerms
Description

Clears all organization Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsOrganizationQuery
Description

Tests if an organization query is available.

Returnboolean true if an organization query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOrganizationQuery
Description

Gets the query for an organization.

Returnosid.personnel.OrganizationQuery the organization query
ErrorsUNIMPLEMENTED supportsOrganizationQuery() is false
Complianceoptional This method must be implemented if supportsOrganizationQuery() is true.
MethodmatchAnyOrganization
Description

Matches realms with any organization.

Parametersbooleanmatch true to match realms with any organization, false to match realms with no organizations
Compliancemandatory This method must be implemented.
MethodclearOrganizationTerms
Description

Clears all organization terms.

Compliancemandatory This method must be implemented.
MethodmatchPositionId
Description

Sets the position Id for this query to match positions assigned to realms.

Parametersosid.id.IdpositionId a position Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT positionId is null
Compliancemandatory This method must be implemented.
MethodclearPositionIdTerms
Description

Clears all position Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsPositionQuery
Description

Tests if a position query is available.

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

Gets the query for a position.

Returnosid.personnel.PositionQuery the position query
ErrorsUNIMPLEMENTED supportsPositionQuery() is false
Complianceoptional This method must be implemented if supportsPositionQuery() is true.
MethodmatchAnyPosition
Description

Matches realms with any position.

Parametersbooleanmatch true to match realms with any position, false to match realms with no positions
Compliancemandatory This method must be implemented.
MethodclearPositionTerms
Description

Clears all position terms.

Compliancemandatory This method must be implemented.
MethodmatchAppointmentId
Description

Sets the appointment Id for this query to match positions assigned to realms.

Parametersosid.id.IdappointmentId an appointment Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT appointmentId is null
Compliancemandatory This method must be implemented.
MethodclearAppointmentIdTerms
Description

Clears all appointment Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAppointmentQuery
Description

Tests if an appointment query is available.

Returnboolean true if an appointment query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAppointmentQuery
Description

Gets the query for an appointment.

Returnosid.personnel.AppointmentQuery the appointment query
ErrorsUNIMPLEMENTED supportsAppointmentQuery() is false
Complianceoptional This method must be implemented if supportsAppointmentQuery() is true.
MethodmatchAnyAppointment
Description

Matches realms with any appointment.

Parametersbooleanmatch true to match realms with any appointment, false to match realms with no appointments
Compliancemandatory This method must be implemented.
MethodclearAppointmentTerms
Description

Clears all appointment terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorRealmId
Description

Sets the realm Id for this query to match realms that have the specified realm as an ancestor.

Parametersosid.id.IdrealmId a realm Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT realmId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorRealmIdTerms
Description

Clears all ancestor realm Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorRealmQuery
Description

Tests if a RealmQuery is available.

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

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

Returnosid.personnel.RealmQuery the realm query
ErrorsUNIMPLEMENTED supportsAncestorRealmQuery() is false
Complianceoptional This method must be implemented if supportsAncestorRealmQuery() is true.
MethodmatchAnyAncestorRealm
Description

Matches realms with any ancestor.

Parametersbooleanmatch true to match realms with any ancestor, false to match root realms
Compliancemandatory This method must be implemented.
MethodclearAncestorRealmTerms
Description

Clears all ancestor realm terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantRealmId
Description

Sets the realm Id for this query to match realms that have the specified realm as a descendant.

Parametersosid.id.IdrealmId a realm Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT realmId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantRealmIdTerms
Description

Clears all descendant realm Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantRealmQuery
Description

Tests if a RealmQuery is available.

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

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

Returnosid.personnel.RealmQuery the realm query
ErrorsUNIMPLEMENTED supportsDescendantRealmQuery() is false
Complianceoptional This method must be implemented if supportsDescendantRealmQuery() is true.
MethodmatchAnyDescendantRealm
Description

Matches realms with any descendant.

Parametersbooleanmatch true to match realms with any descendant, false to match leaf realms
Compliancemandatory This method must be implemented.
MethodclearDescendantRealmTerms
Description

Clears all descendant realm terms.

Compliancemandatory This method must be implemented.
MethodgetRealmQueryRecord
Description

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

Parametersosid.type.TyperealmRecordType a realm record type
Returnosid.personnel.records.RealmQueryRecord the realm query record
ErrorsNULL_ARGUMENT realmRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(realmRecordType) is false
Compliancemandatory This method must be implemented.