@Service(value="smartactivity") public class CometdSmartActivityService.CometdService extends Object
| Constructor and Description |
|---|
CometdService() |
| Modifier and Type | Method and Description |
|---|---|
void |
postConstruct()
Post construct.
|
protected void |
saveUserfocus(Map<String,Object> data)
Save userfocus.
|
void |
subscribeUserfocus(org.cometd.bayeux.Message message,
String userId)
Subscribe for userfocus messages.
|
@PostConstruct public void postConstruct()
@Subscription(value="/eXo/Application/SmartActivity/userfocus/{userId}")
public void subscribeUserfocus(org.cometd.bayeux.Message message,
@Param(value="userId")
String userId)
throws javax.jcr.RepositoryException
message - the message.userId - the user idjavax.jcr.RepositoryException - the repository exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.