@Unstable public class EntityChannel extends Object
| Constructor and Description |
|---|
EntityChannel(org.xwiki.model.reference.EntityReference entityReference,
List<String> path,
String key)
Creates a new channel.
|
| Modifier and Type | Method and Description |
|---|---|
org.xwiki.model.reference.EntityReference |
getEntityReference() |
String |
getKey() |
List<String> |
getPath() |
int |
getUserCount() |
void |
setUserCount(int userCount)
Sets the number of users connected to the channel.
|
public EntityChannel(org.xwiki.model.reference.EntityReference entityReference,
List<String> path,
String key)
entityReference - the entity this channel is associated withpath - the channel path, used to identify the channel among all the channels associated to the same entitykey - the channel keypublic org.xwiki.model.reference.EntityReference getEntityReference()
public List<String> getPath()
public String getKey()
public int getUserCount()
public void setUserCount(int userCount)
userCount - the new user countCopyright © 2004–2022 XWiki. All rights reserved.