Package org.xwiki.netflux.rest
Interface PageChannelsResource
-
@Unstable public interface PageChannelsResource
Exposes the Netflux (real-time communication) channels associated to a wiki page through REST.- Since:
- 13.9RC1
- Version:
- $Id: 3057f59f9a4d6601952b42ae088aab9f74f0563a $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EntityChannel>
getChannels(String wikiName, String spaceNames, String pageName, List<String> paths, Boolean create)
Returns the channels associated with a given wiki page.
-
-
-
Method Detail
-
getChannels
List<EntityChannel> getChannels(String wikiName, @Encoded String spaceNames, String pageName, List<String> paths, Boolean create) throws XWikiRestException
Returns the channels associated with a given wiki page.- Parameters:
wikiName
- the wiki component of the page referencespaceNames
- the space component of the page referencepageName
- the page namepaths
- used to retrieve only the channels mapped to the specified pathscreate
- whether to create or not the missing channels corresponding to the specified paths- Returns:
- the list of found channels
- Throws:
XWikiRestException
- if retrieving the list of channels fails
-
-