OSID Logo
OSID Specifications
financials posting package
Version 3.0.0
Interfaceosid.financials.posting.PostEntryQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.financials.posting.PostEntryQuerySession
osid.financials.posting.PostEntrySearchSession
osid.financials.posting.PostEntrySmartBusinessSession
osid.financials.posting.PostQuery
Description

This is the query for searching post entries. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

MethodmatchPostId
Description

Sets the post Id for this query.

Parametersosid.id.IdpostIda post Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTpostId is null
CompliancemandatoryThis method must be implemented.
MethodclearPostIdTerms
Description

Clears the post Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsPostQuery
Description

Tests if a PostQuery is available.

Returnbooleantrue if a post query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetPostQuery
Description

Gets the query for a post. Multiple retrievals produce a nested OR term.

Returnosid.financials.posting.PostQuerythe post query
ErrorsUNIMPLEMENTEDsupportsPostQuery() is false
ComplianceoptionalThis method must be implemented if supportsPostQuery() is true .
MethodclearPostTerms
Description

Clears the post terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAccountId
Description

Sets the account Id for this query.

Parametersosid.id.IdaccountIdan account Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTaccountId is null
CompliancemandatoryThis method must be implemented.
MethodclearAccountIdTerms
Description

Clears the account Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAccountQuery
Description

Tests if an AccountQuery is available.

Returnbooleantrue if an account query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAccountQuery
Description

Gets the query for an account. Multiple retrievals produce a nested OR term.

Returnosid.financials.AccountQuerythe account query
ErrorsUNIMPLEMENTEDsupportsAccountQuery() is false
ComplianceoptionalThis method must be implemented if supportsAccountQuery() is true .
MethodmatchAnyAccount
Description

Matches entries that have any account set.

Parametersbooleanmatchtrue to match entries with any account, false to match entries with no account
CompliancemandatoryThis method must be implemented.
MethodclearAccountTerms
Description

Clears the account terms.

CompliancemandatoryThis method must be implemented.
MethodmatchActivityId
Description

Sets the activity Id for this query.

Parametersosid.id.IdactivityIdan activity Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTactivityId is null
CompliancemandatoryThis method must be implemented.
MethodclearActivityIdTerms
Description

Clears the activity Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsActivityQuery
Description

Tests if an ActivityQuery is available.

Returnbooleantrue if an activity query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetActivityQuery
Description

Gets the query for an activity. Multiple retrievals produce a nested OR term.

Returnosid.financials.ActivityQuerythe activity query
ErrorsUNIMPLEMENTEDsupportsActivityQuery() is false
ComplianceoptionalThis method must be implemented if supportsActivityQuery() is true .
MethodmatchAnyActivity
Description

Matches entries that have any activity set.

Parametersbooleanmatchtrue to match entries with any activity, false to match entries with no activity
CompliancemandatoryThis method must be implemented.
MethodclearActivityTerms
Description

Clears the activity terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAmount
Description

Matches the amount between the given range inclusive.

Parametersosid.financials.Currencylowstart of range
osid.financials.Currencyhighend of range
booleanmatchtrue for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTlow is greater than high
NULL_ARGUMENTlow or high is null
CompliancemandatoryThis method must be implemented.
MethodmatchAnyAmount
Description

Matches entries that have any amount set.

Parametersbooleanmatchtrue to match entries with any amount, false to match entries with no amount
CompliancemandatoryThis method must be implemented.
MethodclearAmountTerms
Description

Clears the amount terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDebit
Description

Matches entries that have debit amounts.

Parametersbooleanmatchtrue to match entries with a debit amount, false to match entries with a credit amount
CompliancemandatoryThis method must be implemented.
MethodclearDebitTerms
Description

Clears the debit terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBusinessId
Description

Sets the business Id for this query to match post entries assigned to businesses.

Parametersosid.id.IdbusinessIdthe business Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTbusinessId is null
CompliancemandatoryThis method must be implemented.
MethodclearBusinessIdTerms
Description

Clears the business Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

Returnbooleantrue if a business query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetBusinessQuery
Description

Gets the query for a business. Multiple retrievals produce a nested OR term.

Returnosid.financials.BusinessQuerythe business query
ErrorsUNIMPLEMENTEDsupportsBusinessQuery() is false
ComplianceoptionalThis method must be implemented if supportsBusinessQuery() is true .
MethodclearBusinessTerms
Description

Clears the business terms.

CompliancemandatoryThis method must be implemented.
MethodgetPostEntryQueryRecord
Description

Gets the post entry query record corresponding to the given PostEntry record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypepostEntryRecordTypea post entry record type
Returnosid.financials.posting.records.PostEntryQueryRecordthe post entry query record
ErrorsNULL_ARGUMENTpostEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(postEntryRecordType) is false
CompliancemandatoryThis method must be implemented.