Interface JournalingProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, JournalingProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The journaling manager provides access to journaling sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager accept a Proxy for passing information
from a server environment. 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.
-
Method Summary
Modifier and TypeMethodDescriptiongetBranchAdminSession(Proxy proxy) Gets a branch administration session for creating, updating and deleting branches.getBranchAdminSessionForJournal(Id journalId, Proxy proxy) Gets a branch administration session for the given journal.getBranchLookupSession(Proxy proxy) Gets theOsidSessionassociated with the branch lookup service.getBranchLookupSessionForJournal(Id journalId, Proxy proxy) Gets theOsidSessionassociated with the branch lookup service for the given journal.getBranchNotificationSession(BranchReceiver branchReceiver, Proxy proxy) Gets the branch notification session for the given journal.getBranchNotificationSessionForJournal(BranchReceiver branchReceiver, Id journalId, Proxy proxy) Gets the branch notification session for the given journal.getBranchQuerySession(Proxy proxy) Gets a branch query session.getBranchQuerySessionForJournal(Id journalId, Proxy proxy) Gets a branch query session for the given journal.getBranchSearchSession(Proxy proxy) Gets a branch search session.getBranchSearchSessionForJournal(Id journalId, Proxy proxy) Gets a branch search session for the given journal.getBranchSmartJournalSession(Id journalId, Proxy proxy) Gets the session for managing dynamic branch journals.getJournalAdminSession(Proxy proxy) Gets theOsidSessionassociated with the journal administrative service.getJournalEntryAdminSession(Proxy proxy) Gets theOsidSessionassociated with the journal entry administration service.getJournalEntryAdminSessionForJournal(Id journalId, Proxy proxy) Gets theOsidSessionassociated with the journal entry administration service for the given journal.Gets theOsidSessionassociated with the journal entry lookup service.getJournalEntryLookupSessionForJournal(Id journalId, Proxy proxy) Gets theOsidSessionassociated with the journal entry lookup service for the given journal.getJournalEntryNotificationSession(JournalEntryReceiver journalEntryReceiver, Proxy proxy) Gets theOsidSessionassociated with the journal entry notification service.getJournalEntryNotificationSessionForJournal(JournalEntryReceiver journalEntryReceiver, Id journalId, Proxy proxy) Gets theOsidSessionassociated with the journal entry notification service for the given journal.getJournalEntryQuerySession(Proxy proxy) Gets theOsidSessionassociated with the journal entry query service.getJournalEntryQuerySessionForJournal(Id journalId, Proxy proxy) Gets theOsidSessionassociated with the journal entry query service for the given journal.Gets theOsidSessionassociated with the journal entry search service.getJournalEntrySearchSessionForJournal(Id journalId, Proxy proxy) Gets theOsidSessionassociated with the journal entry search service for the given journal.Gets theOsidSessionassociated with the journal hierarchy design service.getJournalHierarchySession(Proxy proxy) Gets theOsidSessionassociated with the journal hierarchy service.Gets aJournalingBatchProxyManager.getJournalLookupSession(Proxy proxy) Gets theOsidSessionassociated with the journal lookup service.getJournalNotificationSession(JournalReceiver journalReceiver, Proxy proxy) Gets theOsidSessionassociated with the journal notification service.getJournalQuerySession(Proxy proxy) Gets theOsidSessionassociated with the journal query service.getJournalSearchSession(Proxy proxy) Gets theOsidSessionassociated with the journal search service.Methods inherited from interface JournalingProfile
getBranchRecordTypes, getBranchSearchRecordTypes, getJournalEntryRecordTypes, getJournalEntrySearchRecordTypes, getJournalRecordTypes, getJournalSearchRecordTypes, supportsBranchAdmin, supportsBranchLookup, supportsBranchNotification, supportsBranchQuery, supportsBranchRecordType, supportsBranchSearch, supportsBranchSearchRecordType, supportsBranchSmartJournal, supportsJournalAdmin, supportsJournalEntryAdmin, supportsJournalEntryLookup, supportsJournalEntryNotification, supportsJournalEntryQuery, supportsJournalEntryRecordType, supportsJournalEntrySearch, supportsJournalEntrySearchRecordType, supportsJournalHierarchy, supportsJournalHierarchyDesign, supportsJournalLookup, supportsJournalngBatch, supportsJournalNotification, supportsJournalQuery, supportsJournalRecordType, supportsJournalSearch, supportsJournalSearchRecordType, supportsVisibleFederationModifier and TypeMethodDescriptionGets all the branch record types supported.Gets all the branch search record types supported.Gets the supportedJournalEntryrecord types.Gets the supported journal entry search record types.Gets the supportedJournalrecord types.Gets the supported journal search record types.booleanTests if branch administration is supported.booleanTests if branch lookup is supported.booleanTests if branch notification is supported.booleanTests if branch query is supported.booleansupportsBranchRecordType(Type branchRecordType) Tests if a given branch record type is supported.booleanTests if branch search is supported.booleansupportsBranchSearchRecordType(Type branchSearchRecordType) Tests if a given branch search type is supported.booleanTests if branch smart journals are available.booleanTests for the availability of a journal administrative service for creating and deleting journals.booleanTests if searching for journal entries is available.booleanTests for the availability of a journal entry lookup service.booleanTests if journal entry notification is available.booleanTests if querying journal entries is available.booleansupportsJournalEntryRecordType(Type journalEntryRecordType) Tests if the givenJournalEntryrecord type is supported.booleanTests if searching for journal entries is available.booleansupportsJournalEntrySearchRecordType(Type journalEntrySearchRecordType) Tests if the given journal entry search record type is supported.booleanTests for the availability of a journal hierarchy traversal service.booleanTests for the availability of a journal hierarchy design service.booleanTests for the availability of a journal lookup service.booleanTests for the availability of a journaling batch service.booleanTests for the availability of a journal notification service.booleanTests if querying journals is available.booleansupportsJournalRecordType(Type journalRecordType) Tests if the givenJournalrecord type is supported.booleanTests if searching for journals is available.booleansupportsJournalSearchRecordType(Type journalSearchRecordType) Tests if the given journal search record type is supported.booleanTests if any journal federation is exposed.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getJournalEntryLookupSession
Gets theOsidSessionassociated with the journal entry lookup service.- Parameters:
proxy- a proxy- Returns:
- a
JournalEntryLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryLookup()} is {@code true} .
-
getJournalEntryLookupSessionForJournal
JournalEntryLookupSession getJournalEntryLookupSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the journal entry lookup service for the given journal.- Parameters:
journalId- theIdof theJournalproxy- a proxy- Returns:
- a
JournalEntryLookupSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getJournalEntryQuerySession
Gets theOsidSessionassociated with the journal entry query service.- Parameters:
proxy- a proxy- Returns:
- a
JournalEntryQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryQuery()} is {@code true} .
-
getJournalEntryQuerySessionForJournal
JournalEntryQuerySession getJournalEntryQuerySessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the journal entry query service for the given journal.- Parameters:
journalId- theIdof theJournalproxy- a proxy- Returns:
- a
JournalEntryQuerySession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getJournalEntrySearchSession
Gets theOsidSessionassociated with the journal entry search service.- Parameters:
proxy- a proxy- Returns:
- a
JournalEntrySearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntrySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntrySearch()} is {@code true} .
-
getJournalEntrySearchSessionForJournal
JournalEntrySearchSession getJournalEntrySearchSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the journal entry search service for the given journal.- Parameters:
journalId- theIdof theJournalproxy- a proxy- Returns:
- a
JournalEntrySearchSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntrySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntrySearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getJournalEntryAdminSession
Gets theOsidSessionassociated with the journal entry administration service.- Parameters:
proxy- a proxy- Returns:
- a
JournalEntryAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryAdmin()} is {@code true} .
-
getJournalEntryAdminSessionForJournal
JournalEntryAdminSession getJournalEntryAdminSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the journal entry administration service for the given journal.- Parameters:
journalId- theIdof theJournalproxy- a proxy- Returns:
- a
JournalEntryAdminSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getJournalEntryNotificationSession
JournalEntryNotificationSession getJournalEntryNotificationSession(JournalEntryReceiver journalEntryReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the journal entry notification service.- Parameters:
journalEntryReceiver- the receiverproxy- a proxy- Returns:
- a
JournalEntryNotificationSession - Throws:
NullArgumentException-journalEntryReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryNotification()} is {@code true} .
-
getJournalEntryNotificationSessionForJournal
JournalEntryNotificationSession getJournalEntryNotificationSessionForJournal(JournalEntryReceiver journalEntryReceiver, Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the journal entry notification service for the given journal.- Parameters:
journalEntryReceiver- the receiverjournalId- theIdof theJournalproxy- a proxy- Returns:
- a
JournalEntryNotificationSession - Throws:
NotFoundException- noJournalfound by the givenIdNullArgumentException-journalEntryReceiver, journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalEntryNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalEntryNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getBranchLookupSession
Gets theOsidSessionassociated with the branch lookup service.- Parameters:
proxy- a proxy- Returns:
a BranchLookupSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchLookup()} is {@code true} .
-
getBranchLookupSessionForJournal
BranchLookupSession getBranchLookupSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the branch lookup service for the given journal.- Parameters:
journalId- theIdof the journalproxy-a proxy- Returns:
a BranchLookupSession- Throws:
NotFoundException-journalIdnot foundNullArgumentException-journalIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsBranchLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getBranchQuerySession
Gets a branch query session.- Parameters:
proxy- a proxy- Returns:
a BranchQuerySession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchQuery()} is {@code true} .
-
getBranchQuerySessionForJournal
BranchQuerySession getBranchQuerySessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a branch query session for the given journal.- Parameters:
journalId- theIdof the journalproxy- a proxy- Returns:
a BranchQuerySession- Throws:
NotFoundException-journalIdnot foundNullArgumentException-journalIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsBranchQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getBranchSearchSession
Gets a branch search session.- Parameters:
proxy- a proxy- Returns:
a BranchSearchSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchSearch()} is {@code true} .
-
getBranchSearchSessionForJournal
BranchSearchSession getBranchSearchSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a branch search session for the given journal.- Parameters:
journalId- theIdof the journalproxy- a proxy- Returns:
a BranchSearchSession- Throws:
NotFoundException-journalIdnot foundNullArgumentException-journalIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsBranchSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getBranchAdminSession
Gets a branch administration session for creating, updating and deleting branches.- Parameters:
proxy- a proxy- Returns:
a BranchAdminSession- Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchAdmin()} is {@code true} .
-
getBranchAdminSessionForJournal
BranchAdminSession getBranchAdminSessionForJournal(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets a branch administration session for the given journal.- Parameters:
journalId- theIdof the journalproxy- a proxy- Returns:
a BranchAdminSession- Throws:
NotFoundException-journalIdnot foundNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getBranchNotificationSession
BranchNotificationSession getBranchNotificationSession(BranchReceiver branchReceiver, Proxy proxy) throws OperationFailedException Gets the branch notification session for the given journal.- Parameters:
branchReceiver- notification callbackproxy- a proxy- Returns:
a BranchNotificationSession- Throws:
NullArgumentException-branchReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchNotification()} is {@code true} .
-
getBranchNotificationSessionForJournal
BranchNotificationSession getBranchNotificationSessionForJournal(BranchReceiver branchReceiver, Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the branch notification session for the given journal.- Parameters:
branchReceiver- notification callbackjournalId- theIdof the journalproxy- a proxy- Returns:
a BranchNotificationSession- Throws:
NotFoundException-journalIdnot foundNullArgumentException-branchReceiver, journalIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsBranchNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getBranchSmartJournalSession
BranchSmartJournalSession getBranchSmartJournalSession(Id journalId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the session for managing dynamic branch journals.- Parameters:
journalId- theIdof the journalproxy- a proxy- Returns:
- a
BranchSmartJournalSession - Throws:
NotFoundException-journalIdnot foundNullArgumentException-journalIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBranchSmartJournal()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBranchSmartJournal()} is {@code true} .
-
getJournalLookupSession
Gets theOsidSessionassociated with the journal lookup service.- Parameters:
proxy- a proxy- Returns:
- a
JournalLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalLookup()} is {@code true} .
-
getJournalQuerySession
Gets theOsidSessionassociated with the journal query service.- Parameters:
proxy- a proxy- Returns:
- a
JournalQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalQuery()} is {@code true} .
-
getJournalSearchSession
Gets theOsidSessionassociated with the journal search service.- Parameters:
proxy- a proxy- Returns:
- a
JournalSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalSearch()} is {@code true} .
-
getJournalAdminSession
Gets theOsidSessionassociated with the journal administrative service.- Parameters:
proxy- a proxy- Returns:
- a
JournalAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalAdmin()} is {@code true} .
-
getJournalNotificationSession
JournalNotificationSession getJournalNotificationSession(JournalReceiver journalReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the journal notification service.- Parameters:
journalReceiver- the receiverproxy- a proxy- Returns:
- a
JournalNotificationSession - Throws:
NullArgumentException-journalReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalNotification()} is {@code true} .
-
getJournalHierarchySession
Gets theOsidSessionassociated with the journal hierarchy service.- Parameters:
proxy- a proxy- Returns:
- a
JournalHierarchySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalHierarchy()} is {@code true} .
-
getJournalHierarchyDesignSession
JournalHierarchyDesignSession getJournalHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the journal hierarchy design service.- Parameters:
proxy- a proxy- Returns:
- a
JournalHierarchyDesignSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsJournalHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalHierarchyDesign()} is {@code true} .
-
getJournalingBatchProxyManager
Gets aJournalingBatchProxyManager.- Returns:
- a
JournalingBatchProxyManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsJournalingBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsJournalingBatch()} is {@code true} .
-