Clearspace API (2.5.22) Core Javadocs

com.jivesoftware.community
Interface JiveContext


public interface JiveContext

A JiveContext is used to access managers that can be used to add, retrieve, modify and delete content in the system as well as control the behaviour of the application.


Method Summary
 AbuseManager getAbuseManager()
          Returns an abuse manager that can be used for managing abuse reports
 ActivityManager getActivityManager()
          Returns an instance of the activity manager.
 AnnouncementManager getAnnouncementManager()
          Returns an announcement manager, which is used to create and retrieve announcements.
 ApprovalManager getApprovalManager()
          Returns an approval manager, which is manage approval workflows.
 ArchiveManager getArchiveManager()
          Returns an archive manager that can be used to manage archiving for communities.
 AttachmentManager getAttachmentManager()
          Returns an attachment manager that can be used to manage attachment rules.
 org.acegisecurity.AuthenticationManager getAuthenticationManager()
          Returns the authentication manager configured by the application.
 AuthenticationProvider getAuthenticationProvider()
          Returns the authentication provider for the current execution context.
 AvatarManager getAvatarManager()
          Returns a AvatarManager that can be used to find, create, delete, and make avatars active
 BanManager getBanManager()
          Returns a ban manager that can be used for banning users
 BinaryBodyManager getBinaryBodyManager()
          Returns a binary document manager that can be used to manage binary body rules.
 BlogManager getBlogManager()
          Returns a blog manager that can be used to manage blogs
 CommentManager getCommentManager()
          Returns an instance of the CommentManager.
 CommunityManager getCommunityManager()
          Returns a community manager which is used to access community wide resources
 DocumentFieldManager getDocumentFieldManager()
          Returns a document field manager that can be used to manage document fields.
 DocumentFieldTypeManager getDocumentFieldTypeManager()
          Returns a document fieldtype manager that can be used to manage document field types.
 DocumentManager getDocumentManager()
          Returns a document manager which can be used to retrieve documents.
 DocumentShareManager getDocumentShareManager()
          Returns an instance of the document share manager.
 DocumentTypeManager getDocumentTypeManager()
          Returns a document type manager that can be used to manage document types.
 DraftManager getDraftManager()
          Returns a draft manager that can be used to manage message drafts.
 EmailManager getEmailManager()
          Returns an email manager that can be used for sending out emails
 EmailTokenManager getEmailTokenManager()
          Returns an email token manager
 EntitlementManager getEntitlementManager()
          Returns an entitlement manager used to modify permissions.
 EntitlementProvider getEntitlementProvider()
          Returns a provider for authorization information.
 com.jivesoftware.base.event.v2.EventDispatcher getEventDispatcher()
          Returns the eventDispatcher for firing events.
 com.jivesoftware.base.event.v2.EventListenerRegistry getEventListenerRegistry()
          Returns the eventListenerRegistry for registering and un registering listeners.
 ForumManager getForumManager()
          Returns a forum manager which can be used to access threads and messages
 JiveFreemarkerManager getFreemarkerManager()
          Returns the jive freemarker manager.
 GatewayManager getGatewayManager()
          Returns a gateway manager that can be used for managing gateways
 GroupManager getGroupManager()
          Returns a group manager that can be used to manage groups.
 ImageManager getImageManager()
          Returns an image manager that can be used to manage image settings.
 IMManager getIMManager()
          Returns an instance of the IMManager.
 InterceptorManager getInterceptorManager()
          Returns an interceptor manager that can be used to manage global interceptors.
 InvitationManager getInvitationManager()
          Returns a manager for controlling invitations
 JiveContainerManager getJiveContainerManager()
          Returns a jive container manager which can be used to load and update jive container objects.
 JiveI18nTextManager getJiveI18nTextManager()
          Returns a jive i18n text manager which is used to manage internationalization text of various objects.
<U> U
getJiveManager(Class<U> manager)
          Returns an instance of a manager if one exists for the specified class.
 JiveObjectModerator getJiveObjectModerator()
          Returns a moderation manager that can be used for moderating messages
 ClearspaceLicenseManager getLicenseManager()
          Returns an instance of the license manager.
 LinkManager getLinkManager()
          Returns a WikiLinkManager which can be used to manage links between content in the system.
 LocaleManager getLocaleManager()
          Returns a locale manager which can be used to get a locale for a particular user/object.
 OldModerationManager getOldModerationManager()
           
 PermissionsManager getPermissionsManager()
          Returns a permissions manager that can be used to set system wide permissions.
 PermissionsProvider getPermissionsProvider()
          Returns an instance of the permissions provider.
 PluginManager getPluginManager()
          Returns an instance of the plugin which can be used for acquiring plugin instances.
 PollManager getPollManager()
          Returns a poll manager that can be used to retrieve and manager polls.
 PresenceManager getPresenceManager()
          Returns a presence manager that can be used to retrieve and manage presences.
 PrivateMessageManager getPrivateMessageManager()
          Returns a private message manager, which controls private message settings.
 ProfileFieldManager getProfileFieldManager()
          Returns an instance of the profile field manager.
 ProfileManager getProfileManager()
          Returns an instance of the profile manager.
 ProfileSearchManager getProfileSearchManager()
          Returns an instance of the profile search manager.
 ProjectManager getProjectManager()
          Returns an instance of the project manager.
 QueryCacheManager getQueryCacheManager()
          Returns an instance of the query cache manager.
 QuestionManager getQuestionManager()
          Returns a QuestionManager, which can be used to manage Questions.
 RatingManager getRatingManager()
          Returns a RatingManager which can be used to add, retrieve and manage ratings
 ReadTracker getReadTracker()
          Returns a read tracker that can be used to track which threads and messages a user has read.
 ReadTrackerManager getReadTrackerManager()
          Returns a read tracker manager that can be used to track which threads and messages a user has read.
 RecentContentManager getRecentContentManager()
          Returns a recent content manager that can be used to retrieve lists of recent content
 RegistrationManager getRegistrationManager()
          Returns a validation manager that can be used for validating user accounts
 RenderCacheManager getRenderCacheManager()
          Returns an instance of the render cache manager, used for caching rendered content fields.
 RenderManager getRenderManager()
          Returns a render manager that can be used to manage system wide render filters and macros.
 SearchEngineManager getSearchEngineManager()
          Returns a SearchEngineManager which can be used to manager OpenSearch search engines.
 SearchManager getSearchManager()
          Returns the search manager which can be used to manage the index used by Jive to perform searches.
 SearchQueryManager getSearchQueryManager()
          Returns the search query manager which can be used to create SearchQuery objects for searching document/messages and blog posts.
 SocialGroupManager getSocialGroupManager()
          Returns the social group manager which can be used to create SocialGroup objects.
 Object getSpringBean(String beanID)
          Returns an instance of the spring bean with the given ID
 StatusLevelManager getStatusLevelManager()
          Returns a StatusLevelManager that can be used to check a user status level, find leaders system wide or by community.
 UserStatusManager getStatusManager()
          Returns an instance of the status manager.
 StorageManager getStorageManager()
          Returns a StorageManager which can be used to manage storage settings for binary objects such as attachments and images.
 TagManager getTagManager()
          Returns a tag manager that can be used to manage tags.
 TagSetManager getTagSetManager()
          Returns a TagSetManager that can be used to create and load TagSets.
 TaskManager getTaskManager()
          Returns an instance of the task manager.
 ThemeManager getThemeManager()
          Returns a manager for working with themes.
 TrackbackManager getTrackbackManager()
          Returns an instance of the trackback manager.
 UpdateManager getUpdateManager()
          Returns an instance of the UpdateManager.
 UpgradeManager getUpgradeManager()
          Returns an instance of the upgrade manager.
 UserContainerManager getUserContainerManager()
          Returns a manager for coordinating activity of user containers.
 UserManager getUserManager()
          Returns a UserManager that can be used to manage users.
 UserRelationshipManager getUserRelationshipManager()
          Returns a UserRelationshipManager that can be used to manage user relatinosihps.
 UserStatusManager getUserStatusManager()
          Returns a manager for retrieving and updating of user status information.
 ViewCountManager getViewCountManager()
          Returns an instance of the view count manager.
 WatchManager getWatchManager()
          Returns a WatchManager that can be used to manage watches.
 WidgetManager getWidgetManager()
          Returns an instance of the widget manager.
 boolean isAuthorized(long permissionType)
          Returns true if the AuthToken used to get an instance of this class has the permission specified.
 

Method Detail

getAbuseManager

AbuseManager getAbuseManager()
Returns an abuse manager that can be used for managing abuse reports

Returns:
an AbuseManager instance

getAnnouncementManager

AnnouncementManager getAnnouncementManager()
Returns an announcement manager, which is used to create and retrieve announcements.

Returns:
an AnnouncementManager instance

getApprovalManager

ApprovalManager getApprovalManager()
Returns an approval manager, which is manage approval workflows.

Returns:
an AnnouncementManager instance

getArchiveManager

ArchiveManager getArchiveManager()
Returns an archive manager that can be used to manage archiving for communities.

Returns:
an ArchiveManager instance

getAttachmentManager

AttachmentManager getAttachmentManager()
Returns an attachment manager that can be used to manage attachment rules.

Returns:
an AttachmentManager instance

getAvatarManager

AvatarManager getAvatarManager()
Returns a AvatarManager that can be used to find, create, delete, and make avatars active

Returns:
an AvatarManager instance

getBanManager

BanManager getBanManager()
Returns a ban manager that can be used for banning users

Returns:
a BanManager instance

getBinaryBodyManager

BinaryBodyManager getBinaryBodyManager()
Returns a binary document manager that can be used to manage binary body rules.

Returns:
a BinaryBodyManager instance

getBlogManager

BlogManager getBlogManager()
Returns a blog manager that can be used to manage blogs

Returns:
a BlogManager instance

getCommunityManager

CommunityManager getCommunityManager()
Returns a community manager which is used to access community wide resources

Returns:
a CommunityManager instance

getDocumentFieldManager

DocumentFieldManager getDocumentFieldManager()
Returns a document field manager that can be used to manage document fields.

Returns:
a DocumentFieldManager instance

getDocumentFieldTypeManager

DocumentFieldTypeManager getDocumentFieldTypeManager()
Returns a document fieldtype manager that can be used to manage document field types.

Returns:
a DocumentFieldTypeManager instance

getDocumentManager

DocumentManager getDocumentManager()
Returns a document manager which can be used to retrieve documents.

Returns:
a DocumentManager instance

getDocumentTypeManager

DocumentTypeManager getDocumentTypeManager()
Returns a document type manager that can be used to manage document types.

Returns:
a DocumentTypeManager instance

getDraftManager

DraftManager getDraftManager()
Returns a draft manager that can be used to manage message drafts.

Returns:
a DraftManager instance

getEmailManager

EmailManager getEmailManager()
Returns an email manager that can be used for sending out emails

Returns:
an EmailManager instance

getEmailTokenManager

EmailTokenManager getEmailTokenManager()
                                       throws UnauthorizedException
Returns an email token manager

Returns:
an EmailTokenManager instance
Throws:
UnauthorizedException - if not a system admin.

getForumManager

ForumManager getForumManager()
Returns a forum manager which can be used to access threads and messages

Returns:
a ForumManager instance

getGatewayManager

GatewayManager getGatewayManager()
Returns a gateway manager that can be used for managing gateways

Returns:
a GatewayManager instance

getGroupManager

GroupManager getGroupManager()
Returns a group manager that can be used to manage groups.

Returns:
a GatewayManager instance

getImageManager

ImageManager getImageManager()
Returns an image manager that can be used to manage image settings.

Returns:
an ImageManager instance

getInterceptorManager

InterceptorManager getInterceptorManager()
                                         throws UnauthorizedException
Returns an interceptor manager that can be used to manage global interceptors.

Returns:
a nInterceptorManager to manage global interceptors.
Throws:
UnauthorizedException - if not a system administrator.

getJiveContainerManager

JiveContainerManager getJiveContainerManager()
Returns a jive container manager which can be used to load and update jive container objects.

Returns:
a jive container manager which can be used to load and update jive container objects.

getJiveI18nTextManager

JiveI18nTextManager getJiveI18nTextManager()
Returns a jive i18n text manager which is used to manage internationalization text of various objects.

Returns:
a jive i18n text manager which is used to manage internationalization text of various objects.

getLocaleManager

LocaleManager getLocaleManager()
Returns a locale manager which can be used to get a locale for a particular user/object.

Returns:
a LocaleManager instance

getJiveObjectModerator

JiveObjectModerator getJiveObjectModerator()
Returns a moderation manager that can be used for moderating messages

Returns:
a ModerationManager instance

getOldModerationManager

OldModerationManager getOldModerationManager()

getPermissionsManager

PermissionsManager getPermissionsManager()
                                         throws UnauthorizedException
Returns a permissions manager that can be used to set system wide permissions. Only system admins can perform this function.

Returns:
a PermissionsManager instance
Throws:
UnauthorizedException - if not a system admin.

getPollManager

PollManager getPollManager()
Returns a poll manager that can be used to retrieve and manager polls.

Returns:
a PollManager instance

getPresenceManager

PresenceManager getPresenceManager()
Returns a presence manager that can be used to retrieve and manage presences.

Returns:
a PresenceManager instance

getPrivateMessageManager

PrivateMessageManager getPrivateMessageManager()
Returns a private message manager, which controls private message settings.

Returns:
a PrivateMessageManager instance

getQuestionManager

QuestionManager getQuestionManager()
Returns a QuestionManager, which can be used to manage Questions. This feature is only available in Gold Edition.

Returns:
a QuestionManager instance

getRatingManager

RatingManager getRatingManager()
Returns a RatingManager which can be used to add, retrieve and manage ratings

Returns:
a RatingManager instance

getReadTracker

ReadTracker getReadTracker()
Returns a read tracker that can be used to track which threads and messages a user has read.

Returns:
a ReadTracker instance.

getReadTrackerManager

ReadTrackerManager getReadTrackerManager()
Returns a read tracker manager that can be used to track which threads and messages a user has read.

Returns:
a ReadTracker instance.

getRecentContentManager

RecentContentManager getRecentContentManager()
Returns a recent content manager that can be used to retrieve lists of recent content

Returns:
a RecentContentManager instance.

getRegistrationManager

RegistrationManager getRegistrationManager()
Returns a validation manager that can be used for validating user accounts

Returns:
a RegistrationManager instance

getRenderManager

RenderManager getRenderManager()
Returns a render manager that can be used to manage system wide render filters and macros.

Returns:
a RenderManager instance

getSearchManager

SearchManager getSearchManager()
                               throws UnauthorizedException
Returns the search manager which can be used to manage the index used by Jive to perform searches.

Returns:
a SearchManager instance
Throws:
UnauthorizedException - if not a system administator.

getSearchQueryManager

SearchQueryManager getSearchQueryManager()
Returns the search query manager which can be used to create SearchQuery objects for searching document/messages and blog posts.

Returns:
a SearchQueryManager instance

getSocialGroupManager

SocialGroupManager getSocialGroupManager()
Returns the social group manager which can be used to create SocialGroup objects.

Returns:
a SocialGroupManager instance

getStatusLevelManager

StatusLevelManager getStatusLevelManager()
Returns a StatusLevelManager that can be used to check a user status level, find leaders system wide or by community. System administrators will also be allowed to manage status levels.

Returns:
a StatusLevelManager instance

getStorageManager

StorageManager getStorageManager()
Returns a StorageManager which can be used to manage storage settings for binary objects such as attachments and images.

Returns:
A StorageManager instance

getSearchEngineManager

SearchEngineManager getSearchEngineManager()
Returns a SearchEngineManager which can be used to manager OpenSearch search engines.

Returns:
A SearchEngineManager instance

getTagManager

TagManager getTagManager()
Returns a tag manager that can be used to manage tags.

Returns:
a TagManager instance

getThemeManager

ThemeManager getThemeManager()
Returns a manager for working with themes.

Returns:
a manager for working with themes.

getUserManager

UserManager getUserManager()
Returns a UserManager that can be used to manage users.

Returns:
a UserManager instance

getWatchManager

WatchManager getWatchManager()
Returns a WatchManager that can be used to manage watches.

Returns:
a WatchManager instance

getTagSetManager

TagSetManager getTagSetManager()
Returns a TagSetManager that can be used to create and load TagSets.

Returns:
a TagSetManager that can be used to create and load TagSets.

getUserRelationshipManager

UserRelationshipManager getUserRelationshipManager()
Returns a UserRelationshipManager that can be used to manage user relatinosihps.

Returns:
a UserRelationshipManager instance

isAuthorized

boolean isAuthorized(long permissionType)
Returns true if the AuthToken used to get an instance of this class has the permission specified. A list of possible permissions can be found in the Permissions class. Certain methods of this class are restricted to certain permissions as specified in the method comments.

Parameters:
permissionType - a permission type.
Returns:
true if the AuthToken used to get an instance of this class has the permission specified, false otherwise
See Also:
Permissions

getAuthenticationProvider

AuthenticationProvider getAuthenticationProvider()
Returns the authentication provider for the current execution context. Allows access to the effective authentication for the current call stack.

Returns:
the authentication provider for the current execution context
Since:
2.0

getPluginManager

PluginManager getPluginManager()
Returns an instance of the plugin which can be used for acquiring plugin instances.

Returns:
an instance of the plugin which can be used for acquiring plugin instances.

getUpdateManager

UpdateManager getUpdateManager()
Returns an instance of the UpdateManager.

Returns:
an instance of the UpdateManager.

getIMManager

IMManager getIMManager()
Returns an instance of the IMManager.

Returns:
an instance of the IMManager.

getLicenseManager

ClearspaceLicenseManager getLicenseManager()
Returns an instance of the license manager.

Returns:
an instance of the license manager.

getLinkManager

LinkManager getLinkManager()
Returns a WikiLinkManager which can be used to manage links between content in the system.

Returns:
a WikiLinkManager which can be used to manage links between content in the system.

getCommentManager

CommentManager getCommentManager()
Returns an instance of the CommentManager.

Returns:
an instance of the CommentManager.

getActivityManager

ActivityManager getActivityManager()
Returns an instance of the activity manager. Activity Manager is used for looking at recent activity, etc.

Returns:
an instance of the activity manager.

getRenderCacheManager

RenderCacheManager getRenderCacheManager()
Returns an instance of the render cache manager, used for caching rendered content fields.

Returns:
an instance of the render cache manager,

getJiveManager

<U> U getJiveManager(Class<U> manager)
Returns an instance of a manager if one exists for the specified class.

Parameters:
manager - The class for the manager (usually its interface).
Returns:
Instance of a manager class.

getWidgetManager

WidgetManager getWidgetManager()
Returns an instance of the widget manager. Widget Manager is used for loading and rendering widgets

Returns:
an instance of the widget manager.

getProjectManager

ProjectManager getProjectManager()
Returns an instance of the project manager.

Returns:
an instance of the project manager.

getProfileManager

ProfileManager getProfileManager()
Returns an instance of the profile manager.

Returns:
an instance of the profile manager.

getProfileFieldManager

ProfileFieldManager getProfileFieldManager()
Returns an instance of the profile field manager.

Returns:
an instance of the profile field manager.

getProfileSearchManager

ProfileSearchManager getProfileSearchManager()
Returns an instance of the profile search manager.

Returns:
an instance of the profile search manager.

getStatusManager

UserStatusManager getStatusManager()
Returns an instance of the status manager.

Returns:
an instance of the status manager.

getQueryCacheManager

QueryCacheManager getQueryCacheManager()
Returns an instance of the query cache manager.

Returns:
an instance of the query cache manager.

getPermissionsProvider

PermissionsProvider getPermissionsProvider()
Returns an instance of the permissions provider.

Returns:
an instance of the permissions provider.

getViewCountManager

ViewCountManager getViewCountManager()
Returns an instance of the view count manager.

Returns:
an instance of the view count manager.

getTaskManager

TaskManager getTaskManager()
Returns an instance of the task manager.

Returns:
an instance of the task manager.

getUpgradeManager

UpgradeManager getUpgradeManager()
Returns an instance of the upgrade manager.

Returns:
an instance of the upgrade manager.

getAuthenticationManager

org.acegisecurity.AuthenticationManager getAuthenticationManager()
Returns the authentication manager configured by the application.

Returns:
the authentication manager configured by the application.

getDocumentShareManager

DocumentShareManager getDocumentShareManager()
Returns an instance of the document share manager.

Returns:
an instance of the document share manager.

getTrackbackManager

TrackbackManager getTrackbackManager()
Returns an instance of the trackback manager.

Returns:
TrackbackManager the trackback manager.

getFreemarkerManager

JiveFreemarkerManager getFreemarkerManager()
Returns the jive freemarker manager. Should only be used in the administration console.

Returns:
JiveFreemarkerManager

getSpringBean

Object getSpringBean(String beanID)
Returns an instance of the spring bean with the given ID

Parameters:
beanID - the ID of the spring bean
Returns:
an instance of the spring bean with the given ID

getEntitlementManager

EntitlementManager getEntitlementManager()
Returns an entitlement manager used to modify permissions.

Returns:
an entitlement manager used to modify permissions.

getEntitlementProvider

EntitlementProvider getEntitlementProvider()
Returns a provider for authorization information.

Returns:
a provider for authorization information.

getUserContainerManager

UserContainerManager getUserContainerManager()
Returns a manager for coordinating activity of user containers.

Returns:
a manager for coordinating activity of user containers.

getInvitationManager

InvitationManager getInvitationManager()
Returns a manager for controlling invitations

Returns:
an invitation manager

getUserStatusManager

UserStatusManager getUserStatusManager()
Returns a manager for retrieving and updating of user status information.

Returns:
a manager for retrieving and updating of user status information.

getEventListenerRegistry

com.jivesoftware.base.event.v2.EventListenerRegistry getEventListenerRegistry()
Returns the eventListenerRegistry for registering and un registering listeners.

Returns:
a listener registry.

getEventDispatcher

com.jivesoftware.base.event.v2.EventDispatcher getEventDispatcher()
Returns the eventDispatcher for firing events.

Returns:
a event dispatcher.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.