Class AbstractProvisionableQueryInspector
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.provisionable.spi.AbstractProvisionableQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, ProvisionableQueryInspector
- Direct Known Subclasses:
ProvisionableQueryUninspector
public abstract class AbstractProvisionableQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements ProvisionableQueryInspector
A query inspector template for provisionables.
-
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 newAbstractProvisionableQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProvisionableQueryInspectorRecord(ProvisionableQueryInspectorRecord provisionableQueryInspectorRecord, Type provisionableRecordType) Adds a record to this provisionable query.IdTerm[]Gets the distributorIdquery terms.Gets the distributor query terms.IdTerm[]Gets the poolIdquery terms.Gets the pool query terms.getProvisionableQueryInspectorRecord(Type provisionableRecordType) Gets the record corresponding to the given provisionable query inspector recordType.IdTerm[]Gets the resourceIdquery terms.Gets the resource query terms.Gets the use 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
-
AbstractProvisionableQueryInspector
public AbstractProvisionableQueryInspector()Constructs a newAbstractProvisionableQueryInspector.
-
-
Method Details
-
getPoolIdTerms
Gets the poolIdquery terms.- Specified by:
getPoolIdTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getPoolTerms
Gets the pool query terms.- Specified by:
getPoolTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getResourceIdTerms
Gets the resourceIdquery terms.- Specified by:
getResourceIdTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getResourceTerms
Gets the resource query terms.- Specified by:
getResourceTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getUseTerms
Gets the use query terms.- Specified by:
getUseTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getDistributorIdTerms
Gets the distributorIdquery terms.- Specified by:
getDistributorIdTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getDistributorTerms
Gets the distributor query terms.- Specified by:
getDistributorTermsin interfaceProvisionableQueryInspector- Returns:
- the query terms
-
getProvisionableQueryInspectorRecord
@OSID public ProvisionableQueryInspectorRecord getProvisionableQueryInspectorRecord(Type provisionableRecordType) throws OperationFailedException Gets the record corresponding to the given provisionable query inspector recordType.This method must be used to retrieve a provisionable implementing the requested record.- Specified by:
getProvisionableQueryInspectorRecordin interfaceProvisionableQueryInspector- Parameters:
provisionableRecordType- a provisionable record type- Returns:
- the provisionable query inspsector record
- Throws:
NullArgumentException-provisionableRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(provisionableRecordType)isfalse
-
addProvisionableQueryInspectorRecord
protected void addProvisionableQueryInspectorRecord(ProvisionableQueryInspectorRecord provisionableQueryInspectorRecord, Type provisionableRecordType) Adds a record to this provisionable query.- Parameters:
provisionableQueryInspectorRecord- provisionable query inspector recordprovisionableRecordType- provisionable record type- Throws:
NullArgumentException-recordisnull
-