| Interface | osid.journaling.JournalQuery | ||
|---|---|---|---|
| Implements | osid.OsidCatalogQuery | ||
| Description | 
                 This is the query for searching for journals. Each method 
                specifies an   | ||
| Method | matchJournalEntryId | ||
| Description | 
                     Sets the journal entry   | ||
| Parameters | osid.id.Id | journalEntryId | a journal entry  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  journalEntryId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearJournalEntryIdTerms | ||
| Description | 
                     Clears the journal entry   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsJournalEntryQuery | ||
| Description | 
                     Tests if a journal entry query is available.  | ||
| Return | boolean |  true  if a journal entry query is available,  false 
 otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getJournalEntryQuery | ||
| Description | 
                     Gets the query for a journal.  | ||
| Return | osid.journaling.JournalEntryQuery | the journal entry query | |
| Errors | UNIMPLEMENTED |  supportsJournalEntryQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsJournalEntryQuery() 
 is  true.   | |
| Method | matchAnyJournalEntry | ||
| Description | 
                     Matches journals with any journal entry.  | ||
| Parameters | boolean | match |  true  to match journals with any journal entry,  false 
 to match journals with no entries  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearJournalEntryTerms | ||
| Description | 
                     Clears the journal entry terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchBranchId | ||
| Description | 
                     Sets the branch   | ||
| Parameters | osid.id.Id | branchId | a branch  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  branchId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearBranchIdTerms | ||
| Description | 
                     Clears the branch   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsBranchQuery | ||
| Description | 
                     Tests if a branch query is available.  | ||
| Return | boolean |  true  if a branch query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getBranchQuery | ||
| Description | 
                     Gets the query for a branch.  | ||
| Return | osid.journaling.BranchQuery | the branch query | |
| Errors | UNIMPLEMENTED |  supportsBranchQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsBranchQuery()  is 
 true.   | |
| Method | matchAnyBranch | ||
| Description | 
                     Matches journals with any branches.  | ||
| Parameters | boolean | match |  true  to match journals with any branch,  false  
to match journals with no branches  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearBranchTerms | ||
| Description | 
                     Clears the branch terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchAncestorJournalId | ||
| Description | 
                     Sets the journal   | ||
| Parameters | osid.id.Id | journalId | a journal  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  journalId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorJournalIdTerms | ||
| Description | 
                     Clears the ancestor journal   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsAncestorJournalQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a journal query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAncestorJournalQuery | ||
| Description | 
                     Gets the query for a journal. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.journaling.JournalQuery | the journal query | |
| Errors | UNIMPLEMENTED |  supportsAncestorJournalQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsAncestorJournalQuery() 
 is  true.   | |
| Method | matchAnyAncestorJournal | ||
| Description | 
                     Matches journals with any ancestor.  | ||
| Parameters | boolean | match |  true  to match journals with any ancestor,  false 
 to match root journals  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAncestorJournalTerms | ||
| Description | 
                     Clears the ancestor journal terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | matchDescendantJournalId | ||
| Description | 
                     Sets the journal   | ||
| Parameters | osid.id.Id | journalId | a journal  Id   | 
boolean | match |  true  for a positive match,  false  for a 
negative match  | |
| Errors | NULL_ARGUMENT |  journalId  is  null   |                 |
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantJournalIdTerms | ||
| Description | 
                     Clears the descendant journal   | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | supportsDescendantJournalQuery | ||
| Description | 
                     Tests if a   | ||
| Return | boolean |  true  if a journal query is available,  false  
otherwise  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDescendantJournalQuery | ||
| Description | 
                     Gets the query for a journal. Multiple retrievals 
                    produce a nested   | ||
| Return | osid.journaling.JournalQuery | the journal query | |
| Errors | UNIMPLEMENTED |  supportsDescendantJournalQuery()  is  false   |                 |
| Compliance | optional | This method must be implemented if  supportsDescendantJournalQuery() 
 is  true.   | |
| Method | matchAnyDescendantJournal | ||
| Description | 
                     Matches journals with any descendant.  | ||
| Parameters | boolean | match |  true  to match journals with any descendant,  false 
 to match leaf journals  | 
| Compliance | mandatory | This method must be implemented. | |
| Method | clearDescendantJournalTerms | ||
| Description | 
                     Clears the descendant journal terms.  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getJournalQueryRecord | ||
| Description | 
                     Gets the journal query record corresponding to the 
                    given   | ||
| Parameters | osid.type.Type | journalRecordType | a journal record type | 
| Return | osid.journaling.records.JournalQueryRecord | the journal query record | |
| Errors | NULL_ARGUMENT |  journalRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED |  hasRecordType(journalRecordType)  is  false   |                 ||
| Compliance | mandatory | This method must be implemented. | |