OSID Logo
OSID Specifications
financials posting package
Version 3.0.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.IdfiscalPeriodIda fiscal period Id
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTfoscalPeriodId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsFiscalPeriodQuery() is false
ComplianceoptionalThis method must be implemented if supportsFiscalPeriodQuery() is true .
MethodmatchAnyFiscalPeriod
Description

Matches any fiscal period.

Parametersbooleanmatchtrue 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.

Parametersbooleanmatchtrue 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
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.
MethodmatchAnyDate
Description

Matches items that have any date set.

Parametersbooleanmatchtrue 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
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTpostEntryId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsPostEntryQuery() is false
ComplianceoptionalThis method must be implemented if supportsPostEntryQuery() is true .
MethodmatchAnyPostEntry
Description

Matches any posts with post entries.

Parametersbooleanmatchtrue 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
booleanmatchtrue if a positive match, false for a negative match
ErrorsNULL_ARGUMENTpostId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsCorrectedPostQuery() is false
ComplianceoptionalThis method must be implemented if supportsCorrectedPostQuery() is true .
MethodmatchAnyCorrectedPost
Description

Matches any posts with corrected posts.

Parametersbooleanmatchtrue 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
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.
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_ARGUMENTpostRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(postRecordType) is false
CompliancemandatoryThis method must be implemented.