org.exoplatform.clouddrive.ecms.watch
Class EmailNotifyCloudDocumentListener

java.lang.Object
  extended by org.exoplatform.clouddrive.ecms.watch.EmailNotifyCloudDocumentListener
All Implemented Interfaces:
javax.jcr.observation.EventListener

public class EmailNotifyCloudDocumentListener
extends Object
implements javax.jcr.observation.EventListener

This is a COPY of ECMS EmailNotifyListener with proposed fix of https://jira.exoplatform.org/browse/ECMS-5973.
Created by The eXo Platform SAS Author : Xuan Hoa Pham hoapham@exoplatform.com phamvuxuanhoa@gmail.com Dec 6, 2006


Field Summary
static String EMAIL_WATCHERS_PROP
           
 
Constructor Summary
EmailNotifyCloudDocumentListener(javax.jcr.Node oNode)
           
 
Method Summary
 List<String> getMemberships()
           
 void onEvent(javax.jcr.observation.EventIterator arg0)
          This method is used for listening to all changes of property of a node, when there is a change, message is sent to list of email
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMAIL_WATCHERS_PROP

public static final String EMAIL_WATCHERS_PROP
See Also:
Constant Field Values
Constructor Detail

EmailNotifyCloudDocumentListener

public EmailNotifyCloudDocumentListener(javax.jcr.Node oNode)
Method Detail

onEvent

public void onEvent(javax.jcr.observation.EventIterator arg0)
This method is used for listening to all changes of property of a node, when there is a change, message is sent to list of email

Specified by:
onEvent in interface javax.jcr.observation.EventListener

getMemberships

public List<String> getMemberships()
Returns:
Throws:
Exception


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.