public class ChannelPerms
extends java.lang.Object
Constructor and Description |
---|
ChannelPerms() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
Get the id of the channel
|
java.lang.String |
getName()
Get the name of the channel
|
boolean |
isGloballySubscribable()
Is the channel gobally subscribable
|
boolean |
isHasPerm()
Does the user have permission to this channel
|
void |
setGloballySubscribable(java.lang.Integer value)
Set if the channel is globally subscribable
|
void |
setHasPerm(java.lang.Integer value)
Set if the user has permission to this channel
|
void |
setId(java.lang.Long i)
Set the id of the channel
|
void |
setName(java.lang.String n)
Set the name of the channel
|
public boolean isGloballySubscribable()
public void setGloballySubscribable(java.lang.Integer value)
value
- 1 if the channel is globally subscribable.public boolean isHasPerm()
public void setHasPerm(java.lang.Integer value)
value
- 1 if the user has permissions to this channelpublic java.lang.Long getId()
public void setId(java.lang.Long i)
i
- The id to set.public java.lang.String getName()
public void setName(java.lang.String n)
n
- The name to set.