|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.clouddrive.ecms.watch.WatchCloudDocumentServiceImpl
public class WatchCloudDocumentServiceImpl
This is a COPY of ECMS's WatchDocumentServiceImpl with proposed fix of https://jira.exoplatform.org/browse/ECMS-5973.
| Field Summary | |
|---|---|
static String |
CLOUDDRIVE_WATCH_LINK
|
static String |
EMAIL_WATCHERS_PROP
|
static String |
EXO_WATCHABLE_MIXIN
|
static String |
RSS_WATCHERS_PROP
|
| Fields inherited from interface org.exoplatform.services.cms.watch.WatchDocumentService |
|---|
FULL_NOTIFICATION, NOTIFICATION_BY_EMAIL, NOTIFICATION_BY_RSS |
| Constructor Summary | |
|---|---|
WatchCloudDocumentServiceImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.cms.templates.TemplateService templateService)
Constructor Method |
|
| Method Summary | |
|---|---|
protected org.exoplatform.services.cms.watch.impl.MessageConfig |
getMessageConfig()
This method will get message configuration when a node is observing and there is some changes with it's properties. |
int |
getNotificationType(javax.jcr.Node documentNode,
String userName)
|
void |
initializeMessageConfig(org.exoplatform.services.cms.watch.impl.MessageConfigPlugin msgConfigPlugin)
|
void |
start()
using for re-observer |
void |
stop()
|
void |
unwatchDocument(javax.jcr.Node documentNode,
String userName,
int notificationType)
|
void |
watchDocument(javax.jcr.Node documentNode,
String userName,
int notifyType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXO_WATCHABLE_MIXIN
public static final String EMAIL_WATCHERS_PROP
public static final String RSS_WATCHERS_PROP
public static final String CLOUDDRIVE_WATCH_LINK
| Constructor Detail |
|---|
public WatchCloudDocumentServiceImpl(org.exoplatform.container.xml.InitParams params,
org.exoplatform.services.jcr.RepositoryService repoService,
org.exoplatform.services.cms.templates.TemplateService templateService)
params - repoService - templateService - | Method Detail |
|---|
public void initializeMessageConfig(org.exoplatform.services.cms.watch.impl.MessageConfigPlugin msgConfigPlugin)
initializeMessageConfig in interface org.exoplatform.services.cms.watch.WatchDocumentService
public int getNotificationType(javax.jcr.Node documentNode,
String userName)
throws Exception
getNotificationType in interface org.exoplatform.services.cms.watch.WatchDocumentServiceException
public void watchDocument(javax.jcr.Node documentNode,
String userName,
int notifyType)
throws Exception
watchDocument in interface org.exoplatform.services.cms.watch.WatchDocumentServiceException
public void unwatchDocument(javax.jcr.Node documentNode,
String userName,
int notificationType)
throws Exception
unwatchDocument in interface org.exoplatform.services.cms.watch.WatchDocumentServiceExceptionprotected org.exoplatform.services.cms.watch.impl.MessageConfig getMessageConfig()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||