public interface PositionQuery extends OsidObjectQuery, OsidTemporalQuery, OsidSubjugateableQuery
This is the query for searching positions. Each method specifies an
AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearBenefitsTypeTerms()
Clears all benefits type terms.
|
void |
clearCompensationFrequencyTerms()
Clears all compensation frequency terms.
|
void |
clearExemptTerms()
Clears all exempt terms.
|
void |
clearHighSalaryRangeTerms()
Clears all high salary terms.
|
void |
clearLevelIdTerms()
Clears all grade
Id terms. |
void |
clearLevelTerms()
Clears all level terms.
|
void |
clearLowSalaryRangeTerms()
Clears all low salary terms.
|
void |
clearMidpointSalaryRangeTerms()
Clears all midpoint salary terms.
|
void |
clearOrganizationIdTerms()
Clears all organization
Id terms. |
void |
clearOrganizationTerms()
Clears all organization terms.
|
void |
clearQualificationIdTerms()
Clears all objective
Id terms. |
void |
clearQualificationTerms()
Clears all qualification terms.
|
void |
clearRealmIdTerms()
Clears all realm
Id terms. |
void |
clearRealmTerms()
Clears all realm terms.
|
void |
clearRequiredCommitmentTerms()
Clears all required commitment terms.
|
void |
clearTargetAppointmentsTerms()
Clears all target appointments terms.
|
void |
clearTitleTerms()
Clears all title terms.
|
GradeQuery |
getLevelQuery()
Gets the query for a grade query.
|
OrganizationQuery |
getOrganizationQuery()
Gets the query for an organization query.
|
PositionQueryRecord |
getPositionQueryRecord(Type positionRecordType)
Gets the position query record corresponding to the given
Position record Type. |
ObjectiveQuery |
getQualificationQuery()
Gets the query for an objective query.
|
RealmQuery |
getRealmQuery()
Gets the query for a realm query.
|
void |
matchAnyBenefitsType(boolean match)
Matches positions with any benefits type.
|
void |
matchAnyCompensationFrequency(boolean match)
Matches positions with any compensation frequency.
|
void |
matchAnyExempt(boolean match)
Matches positions with any exempt flag set.
|
void |
matchAnyHighSalaryRange(boolean match)
Matches positions with any high salary.
|
void |
matchAnyLevel(boolean match)
Matches positions with any level.
|
void |
matchAnyLowSalaryRange(boolean match)
Matches positions with any low salary.
|
void |
matchAnyMidpointSalaryRange(boolean match)
Matches positions with any midpoint salary.
|
void |
matchAnyQualification(boolean match)
Matches positions with any qualification.
|
void |
matchAnyRequiredCommitment(boolean match)
Matches positions with any required commitment.
|
void |
matchAnyTargetAppointments(boolean match)
Matches positions with any target appointments.
|
void |
matchAnyTitle(boolean match)
Matches persons with any title.
|
void |
matchBenefitsType(Type type,
boolean match)
Matches a benefits type.
|
void |
matchCompensationFrequency(Duration low,
Duration high,
boolean match)
Matches a compensation frequency between the given range inclusive.
|
void |
matchExempt(boolean match)
Matches exempt positions.
|
void |
matchHighSalaryRange(Currency from,
Currency to,
boolean match)
Matches a high salary between the given range inclusive.
|
void |
matchLevelId(Id gradeId,
boolean match)
Sets a grade
Id. |
void |
matchLowSalaryRange(Currency from,
Currency to,
boolean match)
Matches a low salary between the given range inclusive.
|
void |
matchMidpointSalaryRange(Currency from,
Currency to,
boolean match)
Matches a midpoint salary between the given range inclusive.
|
void |
matchOrganizationId(Id organizationId,
boolean match)
Sets an organization
Id. |
void |
matchQualificationId(Id objectiveId,
boolean match)
Sets an objective
Id. |
void |
matchRealmId(Id realmId,
boolean match)
Sets the realm
Id for this query to match positions
assigned to realms. |
void |
matchRequiredCommitment(long from,
long to,
boolean match)
Matches a required commitment between the given range inclusive.
|
void |
matchTargetAppointments(long from,
long to,
boolean match)
Matches a target appointments between the given range inclusive.
|
void |
matchTitle(java.lang.String title,
Type stringMatchType,
boolean match)
Matches a title.
|
boolean |
supportsLevelQuery()
Tests if a
GradeQuery is available. |
boolean |
supportsOrganizationQuery()
Tests if an
OrganizationQuery is available. |
boolean |
supportsQualificationQuery()
Tests if an
ObjectiveQuery is available. |
boolean |
supportsRealmQuery()
Tests if a
RealmQuery is available. |
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchOrganizationId(Id organizationId, boolean match)
Id.
organizationId
- an organization Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- organizationId
is null
mandatory
- This method must be implemented. void clearOrganizationIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsOrganizationQuery()
OrganizationQuery
is available. true
if an organization query is available,
false
otherwisemandatory
- This method must be implemented. OrganizationQuery getOrganizationQuery()
OR
term.UnimplementedException
-
supportsOrganizationQuery()
is false
optional
- This method must be implemented if
supportsOrganizationQuery()
is true.
void clearOrganizationTerms()
mandatory
- This method must be implemented. void matchTitle(java.lang.String title, Type stringMatchType, boolean match)
title
- a titlestringMatchType
- a string match typematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- title
is not
of stringMatchType
NullArgumentException
- title
or
stringMatchType
is null
UnsupportedException
-
supportsStringMatchType(stringMatchType)
is
false
mandatory
- This method must be implemented. void matchAnyTitle(boolean match)
match
- true
to match positions with any title,
false
to match positions with no titlemandatory
- This method must be implemented. void clearTitleTerms()
mandatory
- This method must be implemented. void matchLevelId(Id gradeId, boolean match)
Id.
gradeId
- a grade Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- gradeId
is
null
mandatory
- This method must be implemented. void clearLevelIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsLevelQuery()
GradeQuery
is available. true
if a grade query is available,
false
otherwisemandatory
- This method must be implemented. GradeQuery getLevelQuery()
OR
term.UnimplementedException
- supportsLevelQuery()
is false
optional
- This method must be implemented if
supportsLevelQuery()
is true.
void matchAnyLevel(boolean match)
match
- true
to match positions with any level,
false
to match positions with no levelmandatory
- This method must be implemented. void clearLevelTerms()
mandatory
- This method must be implemented. void matchQualificationId(Id objectiveId, boolean match)
Id.
objectiveId
- an objective Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- objectiveId
is
null
mandatory
- This method must be implemented. void clearQualificationIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsQualificationQuery()
ObjectiveQuery
is available. true
if an objective query is available,
false
otherwisemandatory
- This method must be implemented. ObjectiveQuery getQualificationQuery()
OR
term.UnimplementedException
-
supportsQualificationQuery()
is false
optional
- This method must be implemented if
supportsQualificationQuery()
is true.
void matchAnyQualification(boolean match)
match
- true
to match positions with any
qualification, false
to match positions with no
qualificationsmandatory
- This method must be implemented. void clearQualificationTerms()
mandatory
- This method must be implemented. void matchTargetAppointments(long from, long to, boolean match)
from
- a starting rangeto
- an ending rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
mandatory
- This method must be implemented. void matchAnyTargetAppointments(boolean match)
match
- true
to match positions with any target
appointments, false
to match positions with no
target appointmentsmandatory
- This method must be implemented. void clearTargetAppointmentsTerms()
mandatory
- This method must be implemented. void matchRequiredCommitment(long from, long to, boolean match)
from
- a starting rangeto
- an ending rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
mandatory
- This method must be implemented. void matchAnyRequiredCommitment(boolean match)
match
- true
to match positions with any required
commitment, false
to match positions with no
required commitmentmandatory
- This method must be implemented. void clearRequiredCommitmentTerms()
mandatory
- This method must be implemented. void matchLowSalaryRange(Currency from, Currency to, boolean match)
from
- a starting salaryto
- an ending salarymatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyLowSalaryRange(boolean match)
match
- true
to match positions with any low
salary range, commitment, false
to match
positions with no low salary rangemandatory
- This method must be implemented. void clearLowSalaryRangeTerms()
mandatory
- This method must be implemented. void matchMidpointSalaryRange(Currency from, Currency to, boolean match)
from
- a starting salaryto
- an ending salarymatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyMidpointSalaryRange(boolean match)
match
- true
to match positions with any midpoint
salary range, commitment, false
to match
positions with no midpoint salary rangemandatory
- This method must be implemented. void clearMidpointSalaryRangeTerms()
mandatory
- This method must be implemented. void matchHighSalaryRange(Currency from, Currency to, boolean match)
from
- a starting salaryto
- an ending salarymatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyHighSalaryRange(boolean match)
match
- true
to match positions with any high
salary range, false
to match positions with no
high salary rangemandatory
- This method must be implemented. void clearHighSalaryRangeTerms()
mandatory
- This method must be implemented. void matchCompensationFrequency(Duration low, Duration high, boolean match)
low
- low range of time frequencyhigh
- high range of time frequencymatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- low
is
greater than high
NullArgumentException
- frequency
is
null
mandatory
- This method must be implemented. void matchAnyCompensationFrequency(boolean match)
match
- true
to match positions with any
compensation frequency, false
to match
positions with no compensation frequencymandatory
- This method must be implemented. void clearCompensationFrequencyTerms()
mandatory
- This method must be implemented. void matchExempt(boolean match)
match
- true
to match exempt positions,
false
to match non-exempt positionsmandatory
- This method must be implemented. void matchAnyExempt(boolean match)
match
- true
to match positions with any exempt
status,, false
to match positions with no
exempt statusmandatory
- This method must be implemented. void clearExemptTerms()
mandatory
- This method must be implemented. void matchBenefitsType(Type type, boolean match)
type
- a benefits typematch
- true
for a positive match, false
for a negative matchNullArgumentException
- type
is
null
mandatory
- This method must be implemented. void matchAnyBenefitsType(boolean match)
match
- true
to match positions with any benefits
type, false
to match positions with no benefits
typemandatory
- This method must be implemented. void clearBenefitsTypeTerms()
mandatory
- This method must be implemented. void matchRealmId(Id realmId, boolean match)
Id
for this query to match positions
assigned to realms.realmId
- a realm Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- realmId
is
null
mandatory
- This method must be implemented. void clearRealmIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsRealmQuery()
RealmQuery
is available. true
if a realm query is available,
false
otherwisemandatory
- This method must be implemented. RealmQuery getRealmQuery()
OR
term.UnimplementedException
- supportsRealmQuery()
is false
optional
- This method must be implemented if
supportsRealmQuery()
is true.
void clearRealmTerms()
mandatory
- This method must be implemented. PositionQueryRecord getPositionQueryRecord(Type positionRecordType) throws OperationFailedException
Position
record Type.
Multiple record
retrievals produce a nested OR
term.positionRecordType
- a position record typeNullArgumentException
- positionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(positionRecordType)
is false
mandatory
- This method must be implemented.