public class OnlyOfficeDocumentUpdateActivityHandler
extends org.exoplatform.wcm.ext.component.activity.listener.FileUpdateActivityListener
implements org.exoplatform.services.cms.documents.DocumentUpdateActivityHandler
| Modifier and Type | Field and Description |
|---|---|
protected static long |
EVENT_DELAY
The Constant EVENT_DELAY in min.
|
| Constructor and Description |
|---|
OnlyOfficeDocumentUpdateActivityHandler()
Instantiates a new document update activity listener.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleDocumentUpdateEvent(org.exoplatform.services.listener.Event<org.apache.commons.chain.Context,String> event) |
protected boolean |
isCommentedNode(javax.jcr.Node node)
Checks if a node has comment.
|
onEventprotected static final long EVENT_DELAY
public OnlyOfficeDocumentUpdateActivityHandler()
public boolean handleDocumentUpdateEvent(org.exoplatform.services.listener.Event<org.apache.commons.chain.Context,String> event) throws Exception
handleDocumentUpdateEvent in interface org.exoplatform.services.cms.documents.DocumentUpdateActivityHandlerExceptionprotected boolean isCommentedNode(javax.jcr.Node node)
throws javax.jcr.RepositoryException
node - the nodejavax.jcr.RepositoryException - the repository exceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.