Class AbstractProvisionQueryInspector
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractTemporalOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidRelationshipQueryInspector
net.okapia.osid.jamocha.provisioning.provision.spi.AbstractProvisionQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, ProvisionQueryInspector
- Direct Known Subclasses:
ProvisionQueryUninspector
public abstract class AbstractProvisionQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements ProvisionQueryInspector
A query inspector template for provisions.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTemporalOsidObjectQueryInspector
AbstractTemporalOsidObjectQueryInspector.OsidTemporalQueryInspectorModifier and TypeClassDescriptionprotected classComposed OsidTemporalQueryInspector.Nested classes/interfaces inherited from class AbstractOsidObjectQueryInspector
AbstractOsidObjectQueryInspector.OsidBrowsableQueryInspectorModifier and TypeClassDescriptionprotected classComposed BrowsableQueryInspector. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractProvisionQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProvisionQueryInspectorRecord(ProvisionQueryInspectorRecord provisionQueryInspectorRecord, Type provisionRecordType) Adds a record to this provision query.IdTerm[]Gets the brokerIdquery terms.Gets the broker query terms.Gets the cost query terms.IdTerm[]Gets the distributorIdquery terms.Gets the distributor query terms.Gets the due date query terms.Gets the leased query terms.Gets the must return query terms.IdTerm[]Gets the provisionableIdquery terms.Gets the provisionable query terms.Gets the provision date query terms.getProvisionQueryInspectorRecord(Type provisionRecordType) Gets the record corresponding to the given provision query inspector recordType.Gets the provision return query terms.Gets the rate amount query terms.Gets the rate period query terms.IdTerm[]Gets the resourceIdquery terms.Gets the resource query terms.IdTerm[]Gets the requestIdquery terms.Gets the request query terms.Methods inherited from class AbstractOsidRelationshipQueryInspector
getEndReasonIdTerms, getEndReasonTermsModifier and TypeMethodDescriptionIdTerm[]Gets the end reaosn stateIdquery terms.Gets the end reason state query terms.Methods inherited from class AbstractTemporalOsidObjectQueryInspector
getDateTerms, getEffectiveTerms, getEndDateTerms, getStartDateTermsModifier and TypeMethodDescriptionGets the date query terms.Gets the effective query terms.Gets the end date query terms.Gets the start date query terms.Methods inherited from class AbstractOsidObjectQueryInspector
addRecordType, getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRecordTypes, getRecordTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms, hasRecordTypeModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.IdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.Gets the record types available in this object.TypeTerm[]Gets the record type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the relevancy query terms.Gets the subject query terms.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from class AbstractOsidIdentifiableQueryInspector
getIdTermsMethods inherited from class AbstractOsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Constructor Details
-
AbstractProvisionQueryInspector
public AbstractProvisionQueryInspector()Constructs a newAbstractProvisionQueryInspector.
-
-
Method Details
-
getBrokerIdTerms
Gets the brokerIdquery terms.- Specified by:
getBrokerIdTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getBrokerTerms
Gets the broker query terms.- Specified by:
getBrokerTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getProvisionableIdTerms
Gets the provisionableIdquery terms.- Specified by:
getProvisionableIdTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getProvisionableTerms
Gets the provisionable query terms.- Specified by:
getProvisionableTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRecipientIdTerms
Gets the resourceIdquery terms.- Specified by:
getRecipientIdTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRecipientTerms
Gets the resource query terms.- Specified by:
getRecipientTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRequestIdTerms
Gets the requestIdquery terms.- Specified by:
getRequestIdTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRequestTerms
Gets the request query terms.- Specified by:
getRequestTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getProvisionDateTerms
Gets the provision date query terms.- Specified by:
getProvisionDateTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getLeasedTerms
Gets the leased query terms.- Specified by:
getLeasedTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getMustReturnTerms
Gets the must return query terms.- Specified by:
getMustReturnTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getDueDateTerms
Gets the due date query terms.- Specified by:
getDueDateTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getCostTerms
Gets the cost query terms.- Specified by:
getCostTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRateAmountTerms
Gets the rate amount query terms.- Specified by:
getRateAmountTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getRatePeriodTerms
Gets the rate period query terms.- Specified by:
getRatePeriodTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getProvisionReturnTerms
Gets the provision return query terms.- Specified by:
getProvisionReturnTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getDistributorIdTerms
Gets the distributorIdquery terms.- Specified by:
getDistributorIdTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getDistributorTerms
Gets the distributor query terms.- Specified by:
getDistributorTermsin interfaceProvisionQueryInspector- Returns:
- the query terms
-
getProvisionQueryInspectorRecord
@OSID public ProvisionQueryInspectorRecord getProvisionQueryInspectorRecord(Type provisionRecordType) throws OperationFailedException Gets the record corresponding to the given provision query inspector recordType.This method must be used to retrieve a provision implementing the requested record.- Specified by:
getProvisionQueryInspectorRecordin interfaceProvisionQueryInspector- Parameters:
provisionRecordType- a provision record type- Returns:
- the provision query inspsector record
- Throws:
NullArgumentException-provisionRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(provisionRecordType)isfalse
-
addProvisionQueryInspectorRecord
protected void addProvisionQueryInspectorRecord(ProvisionQueryInspectorRecord provisionQueryInspectorRecord, Type provisionRecordType) Adds a record to this provision query.- Parameters:
provisionQueryInspectorRecord- provision query inspector recordprovisionRecordType- provision record type- Throws:
NullArgumentException-recordisnull
-