|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.TagManagerFactory
public class TagManagerFactory
A factory that returns a concrete instance of a TagManager
| Field Summary | |
|---|---|
static com.jivesoftware.community.cache.Cache<java.lang.Long,ContentTag> |
tagCache
A cache for tag objects. |
static com.jivesoftware.community.cache.Cache<java.lang.String,com.jivesoftware.util.LongList> |
tagContentCache
A cache for content object to tagID list |
static com.jivesoftware.community.cache.Cache<java.lang.String,java.lang.Long> |
tagIDCache
A cache that maps tag names to ID's. |
| Method Summary | |
|---|---|
void |
binaryBodyDownloaded(DocumentEvent event)
Fied when a document's binary body is downloaded |
void |
destroy()
Notifies the manager to release any resources that may be holding on too. |
void |
documentAdded(DocumentEvent event)
Fired when a document is added. |
void |
documentDeleted(DocumentEvent event)
Fired when a document is deleted. |
void |
documentExpired(DocumentEvent event)
Fired when a document expires. |
void |
documentExpireWarning(DocumentEvent event)
Fired when a document is about to expire. |
void |
documentModified(DocumentEvent event)
Fired when a document is modified. |
void |
documentMoved(DocumentEvent event)
Fired when a document is moved. |
void |
documentRated(DocumentEvent event)
Fired when a document is rated. |
void |
documentRelatedObjectAdded(DocumentEvent event)
Fired when a related document is added to a document. |
void |
documentRelatedObjectDeleted(DocumentEvent event)
Fired when a related document is deleted from a document. |
void |
documentUndeleted(DocumentEvent event)
Fired when a document is un-deleted in the admin console. |
void |
documentViewed(DocumentEvent event)
Fired when a document is marked as read. |
static void |
doInitialize()
|
static java.lang.String |
getCacheKey(JiveObject contentObject)
Returns a tag content cache key. |
static TagManager |
getInstance()
Returns a concrete instance of the tag manager interface. |
void |
initialize(JiveContext jiveContext)
Initialize the manager. |
void |
postCreated(BlogPostEvent event)
Fired when a post has been added to the system. |
void |
postDeleting(BlogPostEvent event)
Fired when a post is about to be deleted from the system. |
void |
postModified(BlogPostEvent event)
Fired when a post has been modified in the system. |
void |
postViewed(BlogPostEvent event)
Fired when a post has been viewed in the system. |
void |
threadAdded(ThreadEvent event)
Fired when a thread has been added to the system. |
void |
threadDeleted(ThreadEvent event)
Fired when a thread is about to be deleted from the system. |
void |
threadModerationModified(ThreadEvent event)
Fired when the moderation value of a thread has been changed. |
void |
threadMoved(ThreadEvent event)
Fired when a thread is moved from one foru to another. |
void |
threadRated(ThreadEvent event)
Fired when the thread has been rated. |
void |
threadViewed(ThreadEvent event)
Fired when the thread has been viewed. |
void |
versionAdded(DocumentEvent event)
Fied when a new version is added to a document. |
void |
versionDeleting(DocumentEvent event)
Fied when a version is about to be deleted from a document. |
void |
versionModified(DocumentEvent event)
Fied when a version is modified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static com.jivesoftware.community.cache.Cache<java.lang.String,java.lang.Long> tagIDCache
public static com.jivesoftware.community.cache.Cache<java.lang.Long,ContentTag> tagCache
public static com.jivesoftware.community.cache.Cache<java.lang.String,com.jivesoftware.util.LongList> tagContentCache
| Method Detail |
|---|
public static TagManager getInstance()
public void initialize(JiveContext jiveContext)
JiveManager
initialize in interface JiveManagerjiveContext - the context to use during initializationpublic void destroy()
JiveManager
destroy in interface JiveManagerpublic static void doInitialize()
public static java.lang.String getCacheKey(JiveObject contentObject)
contentObject - the contentObject.
public void threadAdded(ThreadEvent event)
ThreadListener
threadAdded in interface ThreadListenerevent - the event object.public void threadDeleted(ThreadEvent event)
ThreadListener
threadDeleted in interface ThreadListenerevent - the event object.public void threadMoved(ThreadEvent event)
ThreadListener
threadMoved in interface ThreadListenerevent - the event object.public void threadModerationModified(ThreadEvent event)
ThreadListener
threadModerationModified in interface ThreadListenerevent - the event object.public void threadRated(ThreadEvent event)
ThreadListener
threadRated in interface ThreadListenerevent - the event object.public void threadViewed(ThreadEvent event)
ThreadListener
threadViewed in interface ThreadListenerevent - the event object.public void documentAdded(DocumentEvent event)
DocumentListener
documentAdded in interface DocumentListenerevent - the DocumentEventpublic void documentDeleted(DocumentEvent event)
DocumentListener
documentDeleted in interface DocumentListenerevent - the DocumentEventpublic void documentMoved(DocumentEvent event)
DocumentListener
documentMoved in interface DocumentListenerevent - the DocumentEventpublic void documentModified(DocumentEvent event)
DocumentListener
documentModified in interface DocumentListenerevent - the DocumentEventpublic void documentUndeleted(DocumentEvent event)
DocumentListener
documentUndeleted in interface DocumentListenerevent - the DocumentEventpublic void documentExpireWarning(DocumentEvent event)
DocumentListener
documentExpireWarning in interface DocumentListenerevent - the DocumentEventpublic void documentExpired(DocumentEvent event)
DocumentListener
documentExpired in interface DocumentListenerevent - the DocumentEventpublic void documentRelatedObjectAdded(DocumentEvent event)
DocumentListener
documentRelatedObjectAdded in interface DocumentListenerevent - the DocumentEventpublic void documentRelatedObjectDeleted(DocumentEvent event)
DocumentListener
documentRelatedObjectDeleted in interface DocumentListenerevent - the DocumentEventpublic void documentRated(DocumentEvent event)
DocumentListener
documentRated in interface DocumentListenerevent - the DocumentEventpublic void documentViewed(DocumentEvent event)
DocumentListener
documentViewed in interface DocumentListenerevent - the DocumentEventpublic void versionAdded(DocumentEvent event)
DocumentListener
versionAdded in interface DocumentListenerevent - the DocumentEventpublic void versionModified(DocumentEvent event)
DocumentListener
versionModified in interface DocumentListenerevent - the DocumentEventpublic void versionDeleting(DocumentEvent event)
DocumentListener
versionDeleting in interface DocumentListenerevent - the DocumentEventpublic void binaryBodyDownloaded(DocumentEvent event)
DocumentListener
binaryBodyDownloaded in interface DocumentListenerevent - the DocumentEventpublic void postCreated(BlogPostEvent event)
BlogPostListener
postCreated in interface BlogPostListenerevent - the event object.public void postDeleting(BlogPostEvent event)
BlogPostListener
postDeleting in interface BlogPostListenerevent - the event object.public void postModified(BlogPostEvent event)
BlogPostListener
postModified in interface BlogPostListenerevent - the event objectpublic void postViewed(BlogPostEvent event)
BlogPostListener
postViewed in interface BlogPostListenerevent - the event object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||