Class AbstractEntryQueryInspector
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.billing.entry.spi.AbstractEntryQueryInspector
- All Implemented Interfaces:
EntryQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
EntryQueryUninspector
public abstract class AbstractEntryQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements EntryQueryInspector
A query inspector template for entries.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddEntryQueryInspectorRecord(EntryQueryInspectorRecord entryQueryInspectorRecord, Type entryRecordType) Adds a record to this entry query.Gets the amount query terms.IdTerm[]Gets the businessIdquery terms.Gets the business query terms.IdTerm[]Gets the itemIdquery terms.Gets the item query terms.Gets the debit query terms.getEntryQueryInspectorRecord(Type entryRecordType) Gets the record corresponding to the given entry query inspector recordType.IdTerm[]Gets the itemIdquery terms.Gets the item query terms.IdTerm[]Gets the periodIdquery terms.Gets the period query terms.Gets the quantity 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
-
AbstractEntryQueryInspector
public AbstractEntryQueryInspector()Constructs a newAbstractEntryQueryInspector.
-
-
Method Details
-
getCustomerIdTerms
Gets the itemIdquery terms.- Specified by:
getCustomerIdTermsin interfaceEntryQueryInspector- Returns:
- the item
Idquery terms
-
getCustomerTerms
Gets the item query terms.- Specified by:
getCustomerTermsin interfaceEntryQueryInspector- Returns:
- the item query terms
-
getItemIdTerms
Gets the itemIdquery terms.- Specified by:
getItemIdTermsin interfaceEntryQueryInspector- Returns:
- the item
Idquery terms
-
getItemTerms
Gets the item query terms.- Specified by:
getItemTermsin interfaceEntryQueryInspector- Returns:
- the item query terms
-
getPeriodIdTerms
Gets the periodIdquery terms.- Specified by:
getPeriodIdTermsin interfaceEntryQueryInspector- Returns:
- the period
Idquery terms
-
getPeriodTerms
Gets the period query terms.- Specified by:
getPeriodTermsin interfaceEntryQueryInspector- Returns:
- the period query terms
-
getQuantityTerms
Gets the quantity terms.- Specified by:
getQuantityTermsin interfaceEntryQueryInspector- Returns:
- the quantity terms
-
getAmountTerms
Gets the amount query terms.- Specified by:
getAmountTermsin interfaceEntryQueryInspector- Returns:
- the amount query terms
-
getDebitTerms
Gets the debit query terms.- Specified by:
getDebitTermsin interfaceEntryQueryInspector- Returns:
- the debit query terms
-
getBusinessIdTerms
Gets the businessIdquery terms.- Specified by:
getBusinessIdTermsin interfaceEntryQueryInspector- Returns:
- the business
Idquery terms
-
getBusinessTerms
Gets the business query terms.- Specified by:
getBusinessTermsin interfaceEntryQueryInspector- Returns:
- the business query terms
-
getEntryQueryInspectorRecord
@OSID public EntryQueryInspectorRecord getEntryQueryInspectorRecord(Type entryRecordType) throws OperationFailedException Gets the record corresponding to the given entry query inspector recordType.This method must be used to retrieve an entry implementing the requested record.- Specified by:
getEntryQueryInspectorRecordin interfaceEntryQueryInspector- Parameters:
entryRecordType- an entry record type- Returns:
- the entry query inspsector record
- Throws:
NullArgumentException-entryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(entryRecordType)isfalse
-
addEntryQueryInspectorRecord
protected void addEntryQueryInspectorRecord(EntryQueryInspectorRecord entryQueryInspectorRecord, Type entryRecordType) Adds a record to this entry query.- Parameters:
entryQueryInspectorRecord- entry query inspector recordentryRecordType- entry record type- Throws:
NullArgumentException-recordisnull
-