public interface JobQuery extends OsidGovernatorQuery
This is the query for searching jobs. Each method match specifies an
AND term while multiple invocations of the same method
produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearAvailabilityIdTerms()
Clears the availability
Id query terms. |
void |
clearAvailabilityTerms()
Clears the availability query terms.
|
void |
clearCompetencyIdTerms()
Clears the competency
Id query terms. |
void |
clearCompetencyTerms()
Clears the competency query terms.
|
void |
clearFoundryIdTerms()
Clears the foundry
Id query terms. |
void |
clearFoundryTerms()
Clears the foundry query terms.
|
void |
clearWorkIdTerms()
Clears the work
Id query terms. |
void |
clearWorkTerms()
Clears the work query terms.
|
AvailabilityQuery |
getAvailabilityQuery()
Gets the query for an availability.
|
CompetencyQuery |
getCompetencyQuery()
Gets the query for a competency.
|
FoundryQuery |
getFoundryQuery()
Gets the query for a foundry.
|
JobQueryRecord |
getJobQueryRecord(Type jobRecordType)
Gets the job query record corresponding to the given
Job
record Type. |
WorkQuery |
getWorkQuery()
Gets the query for a work.
|
void |
matchAnyAvailability(boolean match)
Matches work that have any availability.
|
void |
matchAnyCompetency(boolean match)
Matches work that have any competency.
|
void |
matchAvailabilityId(Id availabilityId,
boolean match)
Sets the availability
Id for this query. |
void |
matchCompetencyId(Id competencyId,
boolean match)
Sets the competency
Id for this query. |
void |
matchFoundryId(Id foundryId,
boolean match)
Sets the foundry
Id for this query to match jobs
assigned to foundries. |
void |
matchWorkId(Id workId,
boolean match)
Sets the work
Id for this query. |
boolean |
supportsAvailabilityQuery()
Tests if an
AvailabilityQuery is available. |
boolean |
supportsCompetencyQuery()
Tests if a
CompetencyQuery is available. |
boolean |
supportsFoundryQuery()
Tests if a
FoundryQuery is available. |
boolean |
supportsWorkQuery()
Tests if a
WorkQuery 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchCompetencyId(Id competencyId, boolean match)
Id for this query.competencyId - the competency Id match - true for a positive match, false
for a negative matchNullArgumentException - competencyId is
null mandatory - This method must be implemented. void clearCompetencyIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsCompetencyQuery()
CompetencyQuery is available. true if a competency query is available,
false otherwisemandatory - This method must be implemented. CompetencyQuery getCompetencyQuery()
OR term.UnimplementedException -
supportsCompetencyQuery() is false optional - This method must be implemented if
supportsCompetencyQuery() is true. void matchAnyCompetency(boolean match)
match - true to match jobs with any competency,
false to match work with no competencymandatory - This method must be implemented. void clearCompetencyTerms()
mandatory - This method must be implemented. void matchWorkId(Id workId, boolean match)
Id for this query.workId - the work Id match - true for a positive match, false
for a negative matchNullArgumentException - workId is
null mandatory - This method must be implemented. void clearWorkIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsWorkQuery()
WorkQuery is available. true if a work query is available, false
otherwisemandatory - This method must be implemented. WorkQuery getWorkQuery()
OR term.UnimplementedException - supportsWorkQuery()
is false optional - This method must be implemented if
supportsWorkQuery() is true. void clearWorkTerms()
mandatory - This method must be implemented. void matchAvailabilityId(Id availabilityId, boolean match)
Id for this query.availabilityId - the availability Id match - true for a positive match, false
for a negative matchNullArgumentException - availabilityId
is null mandatory - This method must be implemented. void clearAvailabilityIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsAvailabilityQuery()
AvailabilityQuery is available. true if an availability query is available,
false otherwisemandatory - This method must be implemented. AvailabilityQuery getAvailabilityQuery()
OR term.UnimplementedException -
supportsAvailabilityQuery() is false optional - This method must be implemented if
supportsAvailabilityQuery() is true.
void matchAnyAvailability(boolean match)
match - true to match work with any availability,
false to match work with no availabilitymandatory - This method must be implemented. void clearAvailabilityTerms()
mandatory - This method must be implemented. void matchFoundryId(Id foundryId, boolean match)
Id for this query to match jobs
assigned to foundries.foundryId - the foundry Id match - true for a positive match, false
for a negative matchNullArgumentException - foundryId is
null mandatory - This method must be implemented. void clearFoundryIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsFoundryQuery()
FoundryQuery is available. true if a foundry query is available,
false otherwisemandatory - This method must be implemented. FoundryQuery getFoundryQuery()
OR term.UnimplementedException - supportsFoundryQuery()
is false optional - This method must be implemented if
supportsFoundryQuery() is true. void clearFoundryTerms()
mandatory - This method must be implemented. JobQueryRecord getJobQueryRecord(Type jobRecordType) throws OperationFailedException
Job
record Type. Multiple record retrievals produce
a nested OR term.jobRecordType - a job record typeNullArgumentException - jobRecordType is
null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(jobRecordType) is false mandatory - This method must be implemented.