@Role
public interface WatchedEntityFactory
Modifier and Type | Method and Description |
---|---|
WatchedLocationReference |
createWatchedLocationReference(org.xwiki.model.reference.EntityReference location)
Create a watched location reference.
|
WatchedUserReference |
createWatchedUserReference(String userId)
Create a watched user reference.
|
WatchedLocationReference createWatchedLocationReference(org.xwiki.model.reference.EntityReference location)
location
- the reference of the location to watchWatchedUserReference createWatchedUserReference(String userId)
userId
- the ID of the user to watchCopyright © 2004–2022 XWiki. All rights reserved.