Interface BloggingManager
- All Superinterfaces:
AutoCloseable, BloggingProfile, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The blogging manager provides access to entry lookup and creation sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
EntryLookupSession: a session to retrieve entries -
EntryQuerySession: a session for querying entries -
EntrySearchSession: a session to search for entries -
EntryAdminSession: a session to create and delete entries -
EntryNotificationSession: a session to receive notifications pertaining to entry changes -
EntryBlogSession: a session to look up entry to blog mappings -
EntryBlogAssignmentSession: a session to manage entry to blog mappings -
EntrySmartBlogSession: a session for managing dynamic blogs
-
BlogLookupSession: asession to retrieve blogs -
BlogQuerySession: a session for querying blogs -
BlogSearchSession: a session to search for blogs -
BlogAdminSession: a session to create, update and delete blogs -
BlogNotificationSession: a session to receive notifications pertaining to changes in blogs -
BlogHierarchySession: a session to traverse blog hierarchies -
BlogHierarchyDesignSession: a session to manage blog hierarchies
-
Method Summary
Modifier and TypeMethodDescriptionGets the blog administrative session for creating, updating and deleteing blogs.Gets aBloggingBatchManager.Gets the blog hierarchy design session.Gets the blog hierarchy traversal session.Gets the blog lookup session.getBlogNotificationSession(BlogReceiver blogReceiver) Gets the notification session for subscriblogg to changes to a blog.Gets the blog query session.Gets the blog search session.Gets an entry administration session for creating, updating and deleting entries.getEntryAdminSessionForBlog(Id blogId) Gets an entry administration session for the given blog.Gets the session for assigning entry to blog mappings.Gets the session for retrieving entry to blog mappings.Gets theOsidSessionassociated with the entry lookup service.getEntryLookupSessionForBlog(Id blogId) Gets theOsidSessionassociated with the entry lookup service for the given blog.getEntryNotificationSession(EntryReceiver entryReceiver) Gets the notification session for notifications pertaining to entry changes.getEntryNotificationSessionForBlog(EntryReceiver entryReceiver, Id blogId) Gets the entry notification session for the given blog.Gets an entry query session.getEntryQuerySessionForBlog(Id blogId) Gets an entry query session for the given blog.Gets an entry search session.getEntrySearchSessionForBlog(Id blogId) Gets an entry search session for the given blog.getEntrySmartBlogSession(Id blogId) Gets the session for managing smart blogs for the given blog.Methods inherited from interface BloggingProfile
getBlogRecordTypes, getBlogSearchRecordTypes, getEntryRecordTypes, getEntrySearchRecordTypes, supportsBlogAdmin, supportsBlogging, supportsBloggingBatch, supportsBlogHierarchy, supportsBlogHierarchyDesign, supportsBlogLookup, supportsBlogNotification, supportsBlogQuery, supportsBlogRecordType, supportsBlogSearch, supportsBlogSearchRecordType, supportsEntryAdmin, supportsEntryBlog, supportsEntryBlogAssignment, supportsEntryLookup, supportsEntryNotification, supportsEntryQuery, supportsEntryRecordType, supportsEntrySearch, supportsEntrySearchRecordType, supportsEntrySmartBlog, supportsVisibleFederationModifier and TypeMethodDescriptionGets all the blog record types supported.Gets all the blog search record types supported.Gets all the entry record types supported.Gets all the entry search record types supported.booleanTests if blog administration is supported.booleanTests if sending entries is supported.booleanTests if a blogging batch service is supported.booleanTests if a blog hierarchy traversal is supported.booleanTests if a blog hierarchy design is supported.booleanTests if blog lookup is supported.booleanTests if blog notification is supported.booleanTests if blog query is supported.booleansupportsBlogRecordType(Type blogRecordType) Tests if a given blog record type is supported.booleanTests if blog search is supported.booleansupportsBlogSearchRecordType(Type blogSearchRecordType) Tests if a given blog search record type is supported.booleanTests if creating, updating and deleting entries is supported.booleanTests if retrieving mappings of entry and blogs is supported.booleanTests if managing mappings of entries and blogs is supported.booleanTests if entry lookup is supported.booleanTests if entry notification is supported.booleanTests if entry query is supported.booleansupportsEntryRecordType(Type entryRecordType) Tests if a given entry record type is supported.booleanTests if entry search is supported.booleansupportsEntrySearchRecordType(Type entrySearchRecordType) Tests if a given entry search type is supported.booleanTests if entry smart blogging is available.booleanTests if federation is visible.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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 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
-
getEntryLookupSession
Gets theOsidSessionassociated with the entry lookup service.- Returns:
an EntryLookupSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryLookup()} is {@code true} .
-
getEntryLookupSessionForBlog
EntryLookupSession getEntryLookupSessionForBlog(Id blogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the entry lookup service for the given blog.- Parameters:
blogId- theIdof the blog- Returns:
an EntryLookupSession- Throws:
NotFoundException-blogIdnot foundNullArgumentException-blogIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsEntryLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryQuerySession
Gets an entry query session.- Returns:
an EntryQuerySession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryQuery()} is {@code true} .
-
getEntryQuerySessionForBlog
EntryQuerySession getEntryQuerySessionForBlog(Id blogId) throws NotFoundException, OperationFailedException Gets an entry query session for the given blog.- Parameters:
blogId- theIdof the blog- Returns:
an EntryQuerySession- Throws:
NotFoundException-blogIdnot foundNullArgumentException-blogIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsEntryQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntrySearchSession
Gets an entry search session.- Returns:
an EntrySearchSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntrySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySearch()} is {@code true} .
-
getEntrySearchSessionForBlog
EntrySearchSession getEntrySearchSessionForBlog(Id blogId) throws NotFoundException, OperationFailedException Gets an entry search session for the given blog.- Parameters:
blogId- theIdof the blog- Returns:
an EntrySearchSession- Throws:
NotFoundException-blogIdnot foundNullArgumentException-blogIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsEntrySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryAdminSession
Gets an entry administration session for creating, updating and deleting entries.- Returns:
an EntryAdminSession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryAdmin()} is {@code true} .
-
getEntryAdminSessionForBlog
EntryAdminSession getEntryAdminSessionForBlog(Id blogId) throws NotFoundException, OperationFailedException Gets an entry administration session for the given blog.- Parameters:
blogId- theIdof the blog- Returns:
an EntryAdminSession- Throws:
NotFoundException-blogIdnot foundNullArgumentException-blogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryNotificationSession
EntryNotificationSession getEntryNotificationSession(EntryReceiver entryReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to entry changes.- Parameters:
entryReceiver- the notification callback- Returns:
an EntryNotificationSession- Throws:
NullArgumentException-entryReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryNotification()} is {@code true} .
-
getEntryNotificationSessionForBlog
EntryNotificationSession getEntryNotificationSessionForBlog(EntryReceiver entryReceiver, Id blogId) throws NotFoundException, OperationFailedException Gets the entry notification session for the given blog.- Parameters:
entryReceiver- the notification callbackblogId- theIdof the blog- Returns:
an EntryNotificationSession- Throws:
NotFoundException-blogIdnot foundNullArgumentException-entryReceiverorblogIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsEntryNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryNotfication()} and {@code supportsVisibleFederation()} are {@code true} .
-
getEntryBlogSession
Gets the session for retrieving entry to blog mappings.- Returns:
- an
EntryBlogSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryBlog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryBlog()} is {@code true} .
-
getEntryBlogAssignmentSession
Gets the session for assigning entry to blog mappings.- Returns:
- a
EntryBlogAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsEntryBlogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntryBlogAssignment()} is {@code true} .
-
getEntrySmartBlogSession
EntrySmartBlogSession getEntrySmartBlogSession(Id blogId) throws NotFoundException, OperationFailedException Gets the session for managing smart blogs for the given blog.- Parameters:
blogId- theIdof the blog- Returns:
- an
EntrySmartBlogSession - Throws:
NotFoundException-blogIdis not foundNullArgumentException-blogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsEntrySmartBlog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEntrySmartBlog()} is {@code true} .
-
getBlogLookupSession
Gets the blog lookup session.- Returns:
- a
BlogLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogLookup()} is {@code true} .
-
getBlogQuerySession
Gets the blog query session.- Returns:
- a
BlogQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogQuery()} is {@code true} .
-
getBlogSearchSession
Gets the blog search session.- Returns:
- a
BlogSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogSearch()} is {@code true} .
-
getBlogAdminSession
Gets the blog administrative session for creating, updating and deleteing blogs.- Returns:
- a
BlogAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogAdmin()} is {@code true} .
-
getBlogNotificationSession
BlogNotificationSession getBlogNotificationSession(BlogReceiver blogReceiver) throws OperationFailedException Gets the notification session for subscriblogg to changes to a blog.- Parameters:
blogReceiver- the notification callback- Returns:
- a
BlogNotificationSession - Throws:
NullArgumentException-blogReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsBlogNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogNotification()} is {@code true} .
-
getBlogHierarchySession
Gets the blog hierarchy traversal session.- Returns:
a BlogHierarchySession- Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogHierarchy()} is {@code true} .
-
getBlogHierarchyDesignSession
Gets the blog hierarchy design session.- Returns:
- a
BlogHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBlogHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBlogHierarchyDesign()} is {@code true} .
-
getBloggingBatchManager
Gets aBloggingBatchManager.- Returns:
- a
BloggingBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsBloggingBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBloggingBatch()} is {@code true} .
-