public interface FoundryQuery extends OsidCatalogQuery
This is the query for searching foundries. 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 |
clearAncestorFoundryIdTerms()
Clears the ancestor foundry
Id query terms. |
void |
clearAncestorFoundryTerms()
Clears the ancestor foundry query terms.
|
void |
clearAvailabilityIdTerms()
Clears the availability
Id query terms. |
void |
clearAvailabilityTerms()
Clears the availability query terms.
|
void |
clearCommissionIdTerms()
Clears the commission
Id query terms. |
void |
clearCommissionTerms()
Clears the commission query terms.
|
void |
clearDescendantFoundryIdTerms()
Clears the descendant foundry
Id query terms. |
void |
clearDescendantFoundryTerms()
Clears the descendant foundry query terms.
|
void |
clearEffortIdTerms()
Clears the effort
Id query terms. |
void |
clearEffortTerms()
Clears the effort query terms.
|
void |
clearJobIdTerms()
Clears the job query terms.
|
void |
clearJobTerms()
Clears the job query terms.
|
void |
clearWorkIdTerms()
Clears the work
Id query terms. |
void |
clearWorkTerms()
Clears the work query terms.
|
FoundryQuery |
getAncestorFoundryQuery()
Gets the query for a foundry.
|
AvailabilityQuery |
getAvailabilityQuery()
Gets the query for a availability.
|
CommissionQuery |
getCommissionQuery()
Gets the query for a commission.
|
FoundryQuery |
getDescendantFoundryQuery()
Gets the query for a foundry/ Multiple retrievals produce a nested
OR term. |
EffortQuery |
getEffortQuery()
Gets the query for an effort.
|
FoundryQueryRecord |
getFoundryQueryRecord(Type foundryRecordType)
Gets the foundry query record corresponding to the given
Foundry record Type. |
JobQuery |
getJobQuery()
Gets the query for a job.
|
WorkQuery |
getWorkQuery()
Gets the query for a work.
|
void |
matchAncestorFoundryId(Id foundryId,
boolean match)
Sets the foundry
Id for this query to match foundries
that have the specified foundry as an ancestor. |
void |
matchAnyAncestorFoundry(boolean match)
Matches foundries with any ancestor.
|
void |
matchAnyAvailability(boolean match)
Matches foundries that have any availability.
|
void |
matchAnyCommission(boolean match)
Matches foundries that have any commission.
|
void |
matchAnyDescendantFoundry(boolean match)
Matches foundries with any descendant.
|
void |
matchAnyEffort(boolean match)
Matches foundries with any effort.
|
void |
matchAnyJob(boolean match)
Matches foundries that have any job.
|
void |
matchAnyWork(boolean match)
Matches foundries that have any work.
|
void |
matchAvailabilityId(Id availabilityId,
boolean match)
Sets the availability
Id for this query to match
foundries that have a related availability. |
void |
matchCommissionId(Id commissionId,
boolean match)
Sets the commission
Id for this query. |
void |
matchDescendantFoundryId(Id foundryId,
boolean match)
Sets the foundry
Id for this query to match foundries
that have the specified foundry as a descendant. |
void |
matchEffortId(Id effortId,
boolean match)
Sets the effort
Id for this query. |
void |
matchJobId(Id jobId,
boolean match)
Sets the effort
Id for this query to match foundries
containing jobs. |
void |
matchWorkId(Id workId,
boolean match)
Sets the work
Id for this query. |
boolean |
supportsAncestorFoundryQuery()
Tests if a
FoundryQuery is available. |
boolean |
supportsAvailabilityQuery()
Tests if a
AvailabilityQuery is available. |
boolean |
supportsCommissionQuery()
Tests if a
CommissionQuery is available. |
boolean |
supportsDescendantFoundryQuery()
Tests if a
FoundryQuery is available. |
boolean |
supportsEffortQuery()
Tests if an
EffortQuery is available. |
boolean |
supportsJobQuery()
Tests if a
JobQuery 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, supportsStringMatchTypeclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchJobId(Id jobId, boolean match)
Id for this query to match foundries
containing jobs.jobId - the job Id match - true for a positive match, false
for a negative matchNullArgumentException - jobId is
null mandatory - This method must be implemented. void clearJobIdTerms()
mandatory - This method must be implemented. boolean supportsJobQuery()
JobQuery is available. true if a job query is available, false
otherwisemandatory - This method must be implemented. JobQuery getJobQuery()
OR term.UnimplementedException - supportsJobQuery()
is false optional - This method must be implemented if
supportsJobQuery() is true. void matchAnyJob(boolean match)
match - true to match foundries with any job,
false to match foundries with no jobmandatory - This method must be implemented. void clearJobTerms()
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 matchAnyWork(boolean match)
match - true to match foundries with any work,
false to match foundries with no jobmandatory - This method must be implemented. void clearWorkTerms()
mandatory - This method must be implemented. void matchAvailabilityId(Id availabilityId, boolean match)
Id for this query to match
foundries that have a related availability.availabilityId - a availability Id match - true if 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 a 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 foundries with any
availability, false to match foundries with no
availabilitymandatory - This method must be implemented. void clearAvailabilityTerms()
mandatory - This method must be implemented. void matchCommissionId(Id commissionId, boolean match)
Id for this query.commissionId - the commission Id match - true for a positive match, false
for a negative matchNullArgumentException - commissionId is
null mandatory - This method must be implemented. void clearCommissionIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsCommissionQuery()
CommissionQuery is available. true if a commission query is available,
false otherwisemandatory - This method must be implemented. CommissionQuery getCommissionQuery()
OR term.UnimplementedException -
supportsCommissionQuery() is false optional - This method must be implemented if
supportsCommissionQuery() is true. void matchAnyCommission(boolean match)
match - true to match foundries with any
commission, false to match foundries with no
commissionmandatory - This method must be implemented. void clearCommissionTerms()
mandatory - This method must be implemented. void matchEffortId(Id effortId, boolean match)
Id for this query.effortId - the effort Id match - true for a positive match, false
for a negative matchNullArgumentException - effortId is
null mandatory - This method must be implemented. void clearEffortIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsEffortQuery()
EffortQuery is available. true if an effort query is available,
false otherwisemandatory - This method must be implemented. EffortQuery getEffortQuery()
OR term.UnimplementedException - supportsEffortQuery()
is false optional - This method must be implemented if
supportsEffortQuery() is true. void matchAnyEffort(boolean match)
match - true to match foundries with any effort,
false to match foundries with no effortmandatory - This method must be implemented. void clearEffortTerms()
mandatory - This method must be implemented. void matchAncestorFoundryId(Id foundryId, boolean match)
Id for this query to match foundries
that have the specified foundry as an ancestor.foundryId - a foundry Id match - true for a positive match, false
for a negative matchNullArgumentException - foundryId is
null mandatory - This method must be implemented. void clearAncestorFoundryIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsAncestorFoundryQuery()
FoundryQuery is available. true if a foundry query is available,
false otherwisemandatory - This method must be implemented. FoundryQuery getAncestorFoundryQuery()
OR term.UnimplementedException -
supportsAncestorFoundryQuery() is false optional - This method must be implemented if
supportsAncestorFoundryQuery() is true.
void matchAnyAncestorFoundry(boolean match)
match - true to match foundries with any
ancestor, false to match root foundriesmandatory - This method must be implemented. void clearAncestorFoundryTerms()
mandatory - This method must be implemented. void matchDescendantFoundryId(Id foundryId, boolean match)
Id for this query to match foundries
that have the specified foundry as a descendant.foundryId - a foundry Id match - true for a positive match, false
for a negative matchNullArgumentException - foundryId is
null mandatory - This method must be implemented. void clearDescendantFoundryIdTerms()
Id query terms.mandatory - This method must be implemented. boolean supportsDescendantFoundryQuery()
FoundryQuery is available. true if a foundry query is available,
false otherwisemandatory - This method must be implemented. FoundryQuery getDescendantFoundryQuery()
OR term.UnimplementedException -
supportsDescendantFoundryQuery() is false
optional - This method must be implemented if
supportsDescendantFoundryQuery() is true.
void matchAnyDescendantFoundry(boolean match)
match - true to match foundries with any
descendant, false to match leaf foundriesmandatory - This method must be implemented. void clearDescendantFoundryTerms()
mandatory - This method must be implemented. FoundryQueryRecord getFoundryQueryRecord(Type foundryRecordType) throws OperationFailedException
Foundry record Type. Multiple record retrievals
produce a nested OR term.foundryRecordType - a foundry record typeNullArgumentException - foundryRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(foundryRecordType) is false
mandatory - This method must be implemented.