Package org.cyclos.entities.users
Class UserChannel
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.UserChannel
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity
@Entity public class UserChannel extends BaseEntity
Stores a preference for a user to access an specific channel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description UserChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelgetChannel()NetworkgetNetwork()Returns the network this entity belongs toUsergetUser()booleanisEnabled()voidsetChannel(Channel channel)voidsetEnabled(boolean enabled)voidsetUser(User user)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getChannel
public Channel getChannel()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to
-
getUser
public User getUser()
-
isEnabled
public boolean isEnabled()
-
setChannel
public void setChannel(Channel channel)
-
setEnabled
public void setEnabled(boolean enabled)
-
setUser
public void setUser(User user)
-
-