public class ThreadUpdateListener extends Object implements org.nuxeo.ecm.core.event.EventListener
| Modifier and Type | Class and Description |
|---|---|
protected class |
ThreadUpdateListener.UnrestrictedPropertySetter
To set a property in unrestricted way.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.nuxeo.ecm.platform.comment.api.CommentManager |
commentManager
CommentManager.
|
| Constructor and Description |
|---|
ThreadUpdateListener() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.nuxeo.ecm.platform.comment.api.CommentManager |
getCommentManager() |
void |
handleEvent(org.nuxeo.ecm.core.event.Event event)
Update Thread on added, removed Post.
|
void |
updateAnswersOfThread(org.nuxeo.ecm.core.api.DocumentModel thread,
org.nuxeo.ecm.core.api.CoreSession session)
Updates the datas about Thread answers.
|
protected static org.nuxeo.ecm.platform.comment.api.CommentManager commentManager
protected static org.nuxeo.ecm.platform.comment.api.CommentManager getCommentManager()
public void handleEvent(org.nuxeo.ecm.core.event.Event event)
throws org.nuxeo.ecm.core.api.ClientException
handleEvent in interface org.nuxeo.ecm.core.event.EventListenerorg.nuxeo.ecm.core.api.ClientExceptionpublic void updateAnswersOfThread(org.nuxeo.ecm.core.api.DocumentModel thread,
org.nuxeo.ecm.core.api.CoreSession session)
thread - session - Copyright © 2024. All rights reserved.