Class AbstractRequestQueryInspector
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.request.spi.AbstractRequestQueryInspector
- All Implemented Interfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector, RequestQueryInspector
- Direct Known Subclasses:
RequestQueryUninspector
public abstract class AbstractRequestQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements RequestQueryInspector
A query inspector template for requests.
-
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 newAbstractRequestQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRequestQueryInspectorRecord(RequestQueryInspectorRecord requestQueryInspectorRecord, Type requestRecordType) Adds a record to this request query.IdTerm[]Gets the distributorIdquery terms.Gets the distributor query terms.Gets the ewa query terms.IdTerm[]Gets the exchange provisionIdquery terms.Gets the exchange provision query terms.IdTerm[]Gets the origin provisionIdquery terms.Gets the origin provision query terms.IdTerm[]Gets the poolIdquery terms.Gets the pool query terms.Gets the position query terms.IdTerm[]Gets the queueIdquery terms.Gets the queue query terms.Gets the request date query terms.IdTerm[]Gets the requested provisionableIdquery terms.Gets the requested provisionable query terms.IdTerm[]Gets the resourceIdquery terms.Gets the resource query terms.IdTerm[]Gets the agentIdquery terms.Gets the agent query terms.getRequestQueryInspectorRecord(Type requestRecordType) Gets the record corresponding to the given request query inspector recordType.IdTerm[]Gets the request transactionIdquery terms.Gets the request transaction 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
-
AbstractRequestQueryInspector
public AbstractRequestQueryInspector()Constructs a newAbstractRequestQueryInspector.
-
-
Method Details
-
getRequestTransactionIdTerms
Gets the request transactionIdquery terms.- Specified by:
getRequestTransactionIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestTransactionTerms
Gets the request transaction query terms.- Specified by:
getRequestTransactionTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getQueueIdTerms
Gets the queueIdquery terms.- Specified by:
getQueueIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getQueueTerms
Gets the queue query terms.- Specified by:
getQueueTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestDateTerms
Gets the request date query terms.- Specified by:
getRequestDateTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequesterIdTerms
Gets the resourceIdquery terms.- Specified by:
getRequesterIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequesterTerms
Gets the resource query terms.- Specified by:
getRequesterTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestingAgentIdTerms
Gets the agentIdquery terms.- Specified by:
getRequestingAgentIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestingAgentTerms
Gets the agent query terms.- Specified by:
getRequestingAgentTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getPoolIdTerms
Gets the poolIdquery terms.- Specified by:
getPoolIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getPoolTerms
Gets the pool query terms.- Specified by:
getPoolTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestedProvisionableIdTerms
Gets the requested provisionableIdquery terms.- Specified by:
getRequestedProvisionableIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestedProvisionableTerms
Gets the requested provisionable query terms.- Specified by:
getRequestedProvisionableTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getExchangeProvisionIdTerms
Gets the exchange provisionIdquery terms.- Specified by:
getExchangeProvisionIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getExchangeProvisionTerms
Gets the exchange provision query terms.- Specified by:
getExchangeProvisionTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getOriginProvisionIdTerms
Gets the origin provisionIdquery terms.- Specified by:
getOriginProvisionIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getOriginProvisionTerms
Gets the origin provision query terms.- Specified by:
getOriginProvisionTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getPositionTerms
Gets the position query terms.- Specified by:
getPositionTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getEWATerms
Gets the ewa query terms.- Specified by:
getEWATermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getDistributorIdTerms
Gets the distributorIdquery terms.- Specified by:
getDistributorIdTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getDistributorTerms
Gets the distributor query terms.- Specified by:
getDistributorTermsin interfaceRequestQueryInspector- Returns:
- the query terms
-
getRequestQueryInspectorRecord
@OSID public RequestQueryInspectorRecord getRequestQueryInspectorRecord(Type requestRecordType) throws OperationFailedException Gets the record corresponding to the given request query inspector recordType.This method must be used to retrieve a request implementing the requested record.- Specified by:
getRequestQueryInspectorRecordin interfaceRequestQueryInspector- Parameters:
requestRecordType- a request record type- Returns:
- the request query inspsector record
- Throws:
NullArgumentException-requestRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(requestRecordType)isfalse
-
addRequestQueryInspectorRecord
protected void addRequestQueryInspectorRecord(RequestQueryInspectorRecord requestQueryInspectorRecord, Type requestRecordType) Adds a record to this request query.- Parameters:
requestQueryInspectorRecord- request query inspector recordrequestRecordType- request record type- Throws:
NullArgumentException-recordisnull
-