OSID Logo
OSID Specifications
financials posting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.financials.posting.PostQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
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.IdfiscalPeriodIda fiscal period Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT foscalPeriodId is null
CompliancemandatoryThis method must be implemented.
MethodclearFiscalPeriodIdTerms
Description

Clears the fiscal period Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsFiscalPeriodQuery
Description

Tests if a FiscalPeriod is available.

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

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

Returnosid.financials.FiscalPeriodQuerythe fiscal period query
ErrorsUNIMPLEMENTED supportsFiscalPeriodQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearFiscalPeriodTerms
Description

Clears the fiscal period terms.

CompliancemandatoryThis method must be implemented.
MethodmatchPosted
Description

Matches posts that have been posted.

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

Clears the posted terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDate
Description

Matches the date between the given range inclusive.

Parametersosid.calendaring.DateTimelowstart of range
osid.calendaring.DateTimehighend 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
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodclearDateTerms
Description

Clears the date terms.

CompliancemandatoryThis 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.IdpostEntryIda post entry Id
booleanmatch true if a positive match, false for a negative match
ErrorsNULL_ARGUMENT postEntryId is null
CompliancemandatoryThis method must be implemented.
MethodclearPostEntryIdTerms
Description

Clears the post entry Id terms.

CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetPostEntryQuery
Description

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

Returnosid.financials.posting.PostEntryQuerythe post entry query
ErrorsUNIMPLEMENTED supportsPostEntryQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearPostEntryTerms
Description

Clears the post entry terms.

CompliancemandatoryThis method must be implemented.
MethodmatchCorrectedPostId
Description

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

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

Clears the corrected post Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCorrectedPostQuery
Description

Tests if a PostQuery is available.

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

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

Returnosid.financials.posting.PostQuerythe post query
ErrorsUNIMPLEMENTED supportsCorrectedPostQuery() is false
ComplianceoptionalThis 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
CompliancemandatoryThis method must be implemented.
MethodclearCorrectedPostTerms
Description

Clears the corrected post terms.

CompliancemandatoryThis method must be implemented.
MethodmatchBusinessId
Description

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

Parametersosid.id.IdbusinessIdthe business Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT businessId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsBusinessQuery() is false
ComplianceoptionalThis method must be implemented if supportsBusinessQuery() is true.
MethodclearBusinessTerms
Description

Clears the business terms.

CompliancemandatoryThis 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.TypepostRecordTypea post record type
Returnosid.financials.posting.records.PostQueryRecordthe post query record
ErrorsNULL_ARGUMENT postRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(postRecordType) is false
CompliancemandatoryThis method must be implemented.