OSID Logo
OSID Specifications
journaling package
Version 3.1.0
Interfaceosid.journaling.JournalingManager
Implementsosid.OsidManager
osid.journaling.JournalingProfile
Description

The journaling manager provides access to journaling sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • JournalEntryLookupSession: a session to lookup journal entries
  • JournalEntryQuerySession: a session to query journal entries
  • JournalEntrySearchSession: a session to search journal entries
  • JournalEntryAdminSession: a session to manage journal entries
  • JournalEntryNotificationSession: a session to subscribe to notifications of journal entry changes
  • BranchLookupSession: a session to retrieve branches
  • BranchQuerySession: a session to query branches
  • BranchSearchSession: a session to search for branches
  • BranchAdminSession: a session to create and delete brancehs
  • BranchNotificationSession: a session to receive notifications pertaining to branch changes
  • BranchSmartJournalSession: a session to manage smart branch journals
  • JournalLookupSession: a session to retrieve journals
  • JournalQuerySession: a session to query journals
  • JournalSearchSession: a session to search for journals
  • JournalAdminSession: a session to create, update and delete journals
  • JournalNotificationSession: a session to receive notifications for changes in journals
  • JournalHierarchyTraversalSession: a session to traverse hierarchies of journals
  • JournalHierarchyDesignSession: a session to manage hierarchies of journals

The journaling manager also provides a profile for determing the supported search types supported by this service.

MethodgetJournalEntryLookupSession
Description

Gets the OsidSession associated with the journal entry lookup service.

Returnosid.journaling.JournalEntryLookupSession a JournalEntryLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryLookup() is false
Complianceoptional This method must be implemented if supportsJournalEntryLookup() is true.
MethodgetJournalEntryLookupSessionForJournal
Description

Gets the OsidSession associated with the journal entry lookup service for the given journal.

Parametersosid.id.IdjournalId the Id of the Journal
Returnosid.journaling.JournalEntryLookupSession a JournalEntryLookupSession
ErrorsNOT_FOUND no Journal found by the given Id
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsJournalEntryLookup() and supportsVisibleFederation() are true
MethodgetJournalEntryQuerySession
Description

Gets the OsidSession associated with the journal entry query service.

Returnosid.journaling.JournalEntryQuerySession a JournalEntryQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryQuery() is false
Complianceoptional This method must be implemented if supportsJournalEntryQuery() is true.
MethodgetJournalEntryQuerySessionForJournal
Description

Gets the OsidSession associated with the journal entry query service for the given journal.

Parametersosid.id.IdjournalId the Id of the Journal
Returnosid.journaling.JournalEntryQuerySession a JournalEntryQuerySession
ErrorsNOT_FOUND no Journal found by the given Id
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsJournalEntryQuery() and supportsVisibleFederation() are true
MethodgetJournalEntrySearchSession
Description

Gets the OsidSession associated with the journal entry search service.

Returnosid.journaling.JournalEntrySearchSession a JournalEntrySearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntrySearch() is false
Complianceoptional This method must be implemented if supportsJournalEntrySearch() is true.
MethodgetJournalEntrySearchSessionForJournal
Description

Gets the OsidSession associated with the journal entry search service for the given journal.

Parametersosid.id.IdjournalId the Id of the Journal
Returnosid.journaling.JournalEntrySearchSession a JournalEntrySearchSession
ErrorsNOT_FOUND no Journal found by the given Id
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntrySearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsJournalEntrySearch() and supportsVisibleFederation() are true
MethodgetJournalEntryAdminSession
Description

Gets the OsidSession associated with the journal entry administration service.

Returnosid.journaling.JournalEntryAdminSession a JournalEntryAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryAdmin() is false
Complianceoptional This method must be implemented if supportsJournalEntryAdmin() is true.
MethodgetJournalEntryAdminSessionForJournal
Description

Gets the OsidSession associated with the journal entry administration service for the given journal.

Parametersosid.id.IdjournalId the Id of the Journal
Returnosid.journaling.JournalEntryAdminSession a JournalEntryAdminSession
ErrorsNOT_FOUND no Journal found by the given Id
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsJournalEntryAdmin() and supportsVisibleFederation() are true
MethodgetJournalEntryNotificationSession
Description

Gets the OsidSession associated with the journal entry notification service.

Parametersosid.journaling.JournalEntryReceiverjournalEntryReceiver the receiver
Returnosid.journaling.JournalEntryNotificationSession a JournalEntryNotificationSession
ErrorsNULL_ARGUMENT journalEntryReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryNotification() is false
Complianceoptional This method must be implemented if supportsJournalEntryNotification() is true.
MethodgetJournalEntryNotificationSessionForJournal
Description

Gets the OsidSession associated with the journal entry notification service for the given journal.

Parametersosid.journaling.JournalEntryReceiverjournalEntryReceiver the receiver
osid.id.IdjournalId the Id of the Journal
Returnosid.journaling.JournalEntryNotificationSession a JournalEntryNotificationSession
ErrorsNOT_FOUND no Journal found by the given Id
NULL_ARGUMENT journalEntryReceiver or journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalEntryNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsJournalEntryNotification() and supportsVisibleFederation() are true
MethodgetBranchLookupSession
Description

Gets the OsidSession associated with the branch lookup service.

Returnosid.journaling.BranchLookupSession a BranchLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchLookup() is false
Complianceoptional This method must be implemented if supportsBranchLookup() is true.
MethodgetBranchLookupSessionForJournal
Description

Gets the OsidSession associated with the branch lookup service for the given journal.

Parametersosid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchLookupSession a BranchLookupSession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBranchLookup() and supportsVisibleFederation() are true.
MethodgetBranchQuerySession
Description

Gets a branch query session.

Returnosid.journaling.BranchQuerySession a BranchQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchQuery() is false
Complianceoptional This method must be implemented if supportsBranchQuery() is true.
MethodgetBranchQuerySessionForJournal
Description

Gets a branch query session for the given journal.

Parametersosid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchQuerySession a BranchQuerySession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBranchQuery() and supportsVisibleFederation() are true.
MethodgetBranchSearchSession
Description

Gets a branch search session.

Returnosid.journaling.BranchSearchSession a BranchSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchSearch() is false
Complianceoptional This method must be implemented if supportsBranchSearch() is true.
MethodgetBranchSearchSessionForJournal
Description

Gets a branch search session for the given journal.

Parametersosid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchSearchSession a BranchSearchSession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBranchSearch() and supportsVisibleFederation() are true.
MethodgetBranchAdminSession
Description

Gets a branch administration session for creating, updating and deleting branches.

Returnosid.journaling.BranchAdminSession a BranchAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchAdmin() is false
Complianceoptional This method must be implemented if supportsBranchAdmin() is true.
MethodgetBranchAdminSessionForJournal
Description

Gets a branch administration session for the given journal.

Parametersosid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchAdminSession a BranchAdminSession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBranchAdmin() and supportsVisibleFederation() are true.
MethodgetBranchNotificationSession
Description

Gets the notification session for notifications pertaining to branch changes.

Parametersosid.journaling.BranchReceiverbranchReceiver the notification callback
Returnosid.journaling.BranchNotificationSession a BranchNotificationSession
ErrorsNULL_ARGUMENT branchReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchNotification() is false
Complianceoptional This method must be implemented if supportsBranchNotification() is true.
MethodgetBranchNotificationSessionForJournal
Description

Gets the branch notification session for the given journal.

Parametersosid.journaling.BranchReceiverbranchReceiver the notification callback
osid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchNotificationSession a BranchNotificationSession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT branchReceiver or journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsBranchNotfication() and supportsVisibleFederation() are true.
MethodgetBranchSmartJournalSession
Description

Gets the session for managing dynamic branch journals.

Parametersosid.id.IdjournalId the Id of the journal
Returnosid.journaling.BranchSmartJournalSession a BranchSmartJournalSession
ErrorsNOT_FOUND journalId not found
NULL_ARGUMENT journalId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsBranchSmartJournal() is false
Complianceoptional This method must be implemented if supportsBranchSmartJournal() is true.
MethodgetJournalLookupSession
Description

Gets the OsidSession associated with the journal lookup service.

Returnosid.journaling.JournalLookupSession a JournalLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalLookup() is false
Complianceoptional This method must be implemented if supportsJournalLookup() is true.
MethodgetJournalQuerySession
Description

Gets the OsidSession associated with the journal query service.

Returnosid.journaling.JournalQuerySession a JournalQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalQuery() is false
Complianceoptional This method must be implemented if supportsJournalQuery() is true.
MethodgetJournalSearchSession
Description

Gets the OsidSession associated with the journal search service.

Returnosid.journaling.JournalSearchSession a JournalSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalSearch() is false
Complianceoptional This method must be implemented if supportsJournalSearch() is true.
MethodgetJournalAdminSession
Description

Gets the OsidSession associated with the journal administrative service.

Returnosid.journaling.JournalAdminSession a JournalAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalAdmin() is false
Complianceoptional This method must be implemented if supportsJournalAdmin() is true.
MethodgetJournalNotificationSession
Description

Gets the OsidSession associated with the journal notification service.

Parametersosid.journaling.JournalReceiverjournalReceiver the receiver
Returnosid.journaling.JournalNotificationSession a JournalNotificationSession
ErrorsNULL_ARGUMENT journalReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalNotification() is false
Complianceoptional This method must be implemented if supportsJournalNotification() is true.
MethodgetJournalHierarchySession
Description

Gets the OsidSession associated with the journal hierarchy service.

Returnosid.journaling.JournalHierarchySession a JournalHierarchySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalHierarchy() is false
Complianceoptional This method must be implemented if supportsJournalHierarchy() is true.
MethodgetJournalHierarchyDesignSession
Description

Gets the OsidSession associated with the journal hierarchy design service.

Returnosid.journaling.JournalHierarchyDesignSession a JournalHierarchyDesignSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsJournalHierarchyDesign() is true.
MethodgetJournalingBatchManager
Description

Gets a JournalingBatchManager.

Returnosid.journaling.batch.JournalingBatchManager a JournalingBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsJournalingBatch() is false
Complianceoptional This method must be implemented if supportsJournalingBatch() is true.