OSID Logo
OSID Specifications
personnel package
Version 3.1.0
Interfaceosid.personnel.PositionQuery
Implementsosid.OsidObjectQuery
osid.OsidTemporalQuery
osid.OsidSubjugateableQuery
Used Byosid.personnel.AppointmentQuery
osid.personnel.PositionQuerySession
osid.personnel.PositionSearchSession
osid.personnel.PositionSmartRealmSession
osid.personnel.RealmQuery
Description

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

MethodmatchOrganizationId
Description

Sets an organization Id.

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 OrganizationQuery 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 query. Multiple retrievals produce a nested OR term.

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

Clears all organization terms.

Compliancemandatory This method must be implemented.
MethodmatchTitle
Description

Matches a title.

Parametersstringtitle a title
osid.type.TypestringMatchType a string match type
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT title is not of stringMatchType
NULL_ARGUMENT title or stringMatchType is null
UNSUPPORTED supportsStringMatchType(stringMatchType) is false
Compliancemandatory This method must be implemented.
MethodmatchAnyTitle
Description

Matches persons with any title.

Parametersbooleanmatch true to match positions with any title, false to match positions with no title
Compliancemandatory This method must be implemented.
MethodclearTitleTerms
Description

Clears all title terms.

Compliancemandatory This method must be implemented.
MethodmatchLevelId
Description

Sets a grade Id.

Parametersosid.id.IdgradeId a grade Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearLevelIdTerms
Description

Clears all grade Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsLevelQuery
Description

Tests if a GradeQuery is available.

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

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

Returnosid.grading.GradeQuery the grade query
ErrorsUNIMPLEMENTED supportsLevelQuery() is false
Complianceoptional This method must be implemented if supportsLevelQuery() is true.
MethodmatchAnyLevel
Description

Matches positions with any level.

Parametersbooleanmatch true to match positions with any level, false to match positions with no level
Compliancemandatory This method must be implemented.
MethodclearLevelTerms
Description

Clears all level terms.

Compliancemandatory This method must be implemented.
MethodmatchQualificationId
Description

Sets an objective Id.

Parametersosid.id.IdobjectiveId an objective Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT objectiveId is null
Compliancemandatory This method must be implemented.
MethodclearQualificationIdTerms
Description

Clears all objective Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsQualificationQuery
Description

Tests if an ObjectiveQuery is available.

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

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

Returnosid.learning.ObjectiveQuery the grade query
ErrorsUNIMPLEMENTED supportsQualificationQuery() is false
Complianceoptional This method must be implemented if supportsQualificationQuery() is true.
MethodmatchAnyQualification
Description

Matches positions with any qualification.

Parametersbooleanmatch true to match positions with any qualification, false to match positions with no qualifications
Compliancemandatory This method must be implemented.
MethodclearQualificationTerms
Description

Clears all qualification terms.

Compliancemandatory This method must be implemented.
MethodmatchTargetAppointments
Description

Matches a target appointments between the given range inclusive.

Parameterscardinalfrom a starting range
cardinalto an ending range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
Compliancemandatory This method must be implemented.
MethodmatchAnyTargetAppointments
Description

Matches positions with any target appointments.

Parametersbooleanmatch true to match positions with any target appointments, false to match positions with no target appointments
Compliancemandatory This method must be implemented.
MethodclearTargetAppointmentsTerms
Description

Clears all target appointments terms.

Compliancemandatory This method must be implemented.
MethodmatchRequiredCommitment
Description

Matches a required commitment between the given range inclusive.

Parameterscardinalfrom a starting range
cardinalto an ending range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
Compliancemandatory This method must be implemented.
MethodmatchAnyRequiredCommitment
Description

Matches positions with any required commitment.

Parametersbooleanmatch true to match positions with any required commitment, false to match positions with no required commitment
Compliancemandatory This method must be implemented.
MethodclearRequiredCommitmentTerms
Description

Clears all required commitment terms.

Compliancemandatory This method must be implemented.
MethodmatchLowSalaryRange
Description

Matches a low salary between the given range inclusive.

Parametersosid.financials.Currencyfrom a starting salary
osid.financials.Currencyto an ending salary
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyLowSalaryRange
Description

Matches positions with any low salary.

Parametersbooleanmatch true to match positions with any low salary range, commitment, false to match positions with no low salary range
Compliancemandatory This method must be implemented.
MethodclearLowSalaryRangeTerms
Description

Clears all low salary terms.

Compliancemandatory This method must be implemented.
MethodmatchMidpointSalaryRange
Description

Matches a midpoint salary between the given range inclusive.

Parametersosid.financials.Currencyfrom a starting salary
osid.financials.Currencyto an ending salary
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyMidpointSalaryRange
Description

Matches positions with any midpoint salary.

Parametersbooleanmatch true to match positions with any midpoint salary range, commitment, false to match positions with no midpoint salary range
Compliancemandatory This method must be implemented.
MethodclearMidpointSalaryRangeTerms
Description

Clears all midpoint salary terms.

Compliancemandatory This method must be implemented.
MethodmatchHighSalaryRange
Description

Matches a high salary between the given range inclusive.

Parametersosid.financials.Currencyfrom a starting salary
osid.financials.Currencyto an ending salary
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT from is greater than to
NULL_ARGUMENT from or to is null
Compliancemandatory This method must be implemented.
MethodmatchAnyHighSalaryRange
Description

Matches positions with any high salary.

Parametersbooleanmatch true to match positions with any high salary range, false to match positions with no high salary range
Compliancemandatory This method must be implemented.
MethodclearHighSalaryRangeTerms
Description

Clears all high salary terms.

Compliancemandatory This method must be implemented.
MethodmatchCompensationFrequency
Description

Matches a compensation frequency between the given range inclusive.

Parametersosid.calendaring.Durationlow low range of time frequency
osid.calendaring.Durationhigh high range of time frequency
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT frequency is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCompensationFrequency
Description

Matches positions with any compensation frequency.

Parametersbooleanmatch true to match positions with any compensation frequency, false to match positions with no compensation frequency
Compliancemandatory This method must be implemented.
MethodclearCompensationFrequencyTerms
Description

Clears all compensation frequency terms.

Compliancemandatory This method must be implemented.
MethodmatchExempt
Description

Matches exempt positions.

Parametersbooleanmatch true to match exempt positions, false to match non-exempt positions
Compliancemandatory This method must be implemented.
MethodmatchAnyExempt
Description

Matches positions with any exempt flag set.

Parametersbooleanmatch true to match positions with any exempt status,, false to match positions with no exempt status
Compliancemandatory This method must be implemented.
MethodclearExemptTerms
Description

Clears all exempt terms.

Compliancemandatory This method must be implemented.
MethodmatchBenefitsType
Description

Matches a benefits type.

Parametersosid.type.Typetype a benefits type
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT type is null
Compliancemandatory This method must be implemented.
MethodmatchAnyBenefitsType
Description

Matches positions with any benefits type.

Parametersbooleanmatch true to match positions with any benefits type, false to match positions with no benefits type
Compliancemandatory This method must be implemented.
MethodclearBenefitsTypeTerms
Description

Clears all benefits type terms.

Compliancemandatory This method must be implemented.
MethodmatchRealmId
Description

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

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.
MethodclearRealmIdTerms
Description

Clears all realm Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRealmQuery
Description

Tests if a RealmQuery is available.

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

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

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

Clears all realm terms.

Compliancemandatory This method must be implemented.
MethodgetPositionQueryRecord
Description

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

Parametersosid.type.TypepositionRecordType a position record type
Returnosid.personnel.records.PositionQueryRecord the position query record
ErrorsNULL_ARGUMENT positionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(positionRecordType) is false
Compliancemandatory This method must be implemented.