@Component @Singleton @Named(value="netflux") public class NetfluxScriptService extends Object implements org.xwiki.script.service.ScriptService
| Constructor and Description |
|---|
NetfluxScriptService() |
| Modifier and Type | Method and Description |
|---|---|
EntityChannel |
createChannel(org.xwiki.model.reference.EntityReference entityReference,
List<String> path)
Associate a new channel to the specified entity, having the given path.
|
EntityChannel |
getChannel(org.xwiki.model.reference.EntityReference entityReference,
List<String> path)
Looks for a channel associated to the specified entity and having the specified path.
|
List<EntityChannel> |
getChannels(org.xwiki.model.reference.EntityReference entityReference) |
List<EntityChannel> |
getChannels(org.xwiki.model.reference.EntityReference entityReference,
List<String> pathPrefix)
Looks for the channels associated to the specified entity and having the specified path prefix.
|
public List<EntityChannel> getChannels(org.xwiki.model.reference.EntityReference entityReference)
entityReference - an entity referencepublic List<EntityChannel> getChannels(org.xwiki.model.reference.EntityReference entityReference, List<String> pathPrefix)
entityReference - an entity referencepathPrefix - the path prefix used to match the channelspublic EntityChannel getChannel(org.xwiki.model.reference.EntityReference entityReference, List<String> path)
entityReference - the entity the channel is associated withpath - the channel path, used to identify the channel among all the channels associated to the same entitypublic EntityChannel createChannel(org.xwiki.model.reference.EntityReference entityReference, List<String> path)
entityReference - the entity to associate the channel withpath - the channel path, used to identify the channel among all the channels associated to the same entityCopyright © 2004–2022 XWiki. All rights reserved.