OSID Logo
OSID Specifications
financials posting package
Version 3.1.0
Interfaceosid.financials.posting.PostQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
Used Byosid.financials.posting.PostEntryQuery
osid.financials.posting.PostQuery
osid.financials.posting.PostQuerySession
osid.financials.posting.PostSearchSession
osid.financials.posting.PostSmartBusinessSession
Description

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

MethodmatchFiscalPeriodId
Description

Sets the fiscal period Id for this query.

Parametersosid.id.IdfiscalPeriodId a fiscal period Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT foscalPeriodId is null
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriodIdTerms
Description

Clears the fiscal period Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsFiscalPeriodQuery
Description

Tests if a FiscalPeriod is available.

Returnboolean true if a fiscal period query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetFiscalPeriodQuery
Description

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

Returnosid.financials.FiscalPeriodQuery the fiscal period query
ErrorsUNIMPLEMENTED supportsFiscalPeriodQuery() is false
Complianceoptional This method must be implemented if supportsFiscalPeriodQuery() is true.
MethodmatchAnyFiscalPeriod
Description

Matches any fiscal period.

Parametersbooleanmatch true to match posts with any fiscal period, false to match posts with no fiscal period
Compliancemandatory This method must be implemented.
MethodclearFiscalPeriodTerms
Description

Clears the fiscal period terms.

Compliancemandatory This method must be implemented.
MethodmatchPosted
Description

Matches posts that have been posted.

Parametersbooleanmatch true to match posted posts false to match unposted posts
Compliancemandatory This method must be implemented.
MethodclearPostedTerms
Description

Clears the posted terms.

Compliancemandatory This method must be implemented.
MethodmatchDate
Description

Matches the date between the given range inclusive.

Parametersosid.calendaring.DateTimelow start of range
osid.calendaring.DateTimehigh end of range
booleanmatch true for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT low is greater than high
NULL_ARGUMENT low or high is null
Compliancemandatory This method must be implemented.
MethodmatchAnyDate
Description

Matches items that have any date set.

Parametersbooleanmatch true to match items with any date, false to match items with no date
Compliancemandatory This method must be implemented.
MethodclearDateTerms
Description

Clears the date terms.

Compliancemandatory This method must be implemented.
MethodmatchPostEntryId
Description

Sets the post entry Id for this query to match posts that have a related post entries.

Parametersosid.id.IdpostEntryId a post entry Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT postEntryId is null
Compliancemandatory This method must be implemented.
MethodclearPostEntryIdTerms
Description

Clears the post entry Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsPostEntryQuery
Description

Tests if a PostEntryQuery is available for the location.

Returnboolean true if a post entry query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPostEntryQuery
Description

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

Returnosid.financials.posting.PostEntryQuery the post entry query
ErrorsUNIMPLEMENTED supportsPostEntryQuery() is false
Complianceoptional This method must be implemented if supportsPostEntryQuery() is true.
MethodmatchAnyPostEntry
Description

Matches any posts with post entries.

Parametersbooleanmatch true to match posts with any post entry, false to match posts with no entries
Compliancemandatory This method must be implemented.
MethodclearPostEntryTerms
Description

Clears the post entry terms.

Compliancemandatory This method must be implemented.
MethodmatchCorrectedPostId
Description

Sets the post entry Id for this query to match posts that have a corrected post.

Parametersosid.id.IdpostId a post Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT postId is null
Compliancemandatory This method must be implemented.
MethodclearCorrectedPostIdTerms
Description

Clears the corrected post Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCorrectedPostQuery
Description

Tests if a PostQuery is available.

Returnboolean true if a post query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetCorrectedPostQuery
Description

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

Returnosid.financials.posting.PostQuery the post query
ErrorsUNIMPLEMENTED supportsCorrectedPostQuery() is false
Complianceoptional This method must be implemented if supportsCorrectedPostQuery() is true.
MethodmatchAnyCorrectedPost
Description

Matches any posts with corrected posts.

Parametersbooleanmatch true to match posts with any corrected post, false to match posts with no corrected posts
Compliancemandatory This method must be implemented.
MethodclearCorrectedPostTerms
Description

Clears the corrected post terms.

Compliancemandatory This method must be implemented.
MethodmatchBusinessId
Description

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

Parametersosid.id.IdbusinessId the business Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT businessId is null
Compliancemandatory This method must be implemented.
MethodclearBusinessIdTerms
Description

Clears the business Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsBusinessQuery
Description

Tests if a BusinessQuery is available.

Returnboolean true if a business query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBusinessQuery
Description

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

Returnosid.financials.BusinessQuery the business query
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
Complianceoptional This method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

Compliancemandatory This method must be implemented.
MethodgetPostQueryRecord
Description

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

Parametersosid.type.TypepostRecordType a post record type
Returnosid.financials.posting.records.PostQueryRecord the post query record
ErrorsNULL_ARGUMENT postRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(postRecordType) is false
Compliancemandatory This method must be implemented.