|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.ken.bo.UserChannelSubscriptionBo
@Entity public class UserChannelSubscriptionBo
This class represents an instance of a user's subscription to a specific notification channel.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
UserChannelSubscriptionBo()
Constructs a UserChannelSubscription instance. |
Method Summary | |
---|---|
static UserChannelSubscriptionBo |
from(UserChannelSubscription im)
Converts a immutable object to its mutable counterpart |
NotificationChannelBo |
getChannel()
Gets the channel attribute. |
Long |
getId()
Gets the id attribute. |
String |
getUserId()
Gets the userId attribute. |
void |
setChannel(NotificationChannelBo channel)
Sets the channel attribute value. |
void |
setId(Long id)
Sets the id attribute value. |
void |
setUserId(String userId)
Sets the userId attribute value. |
static UserChannelSubscription |
to(UserChannelSubscriptionBo bo)
Converts a mutable bo to its immutable counterpart |
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
---|
toString |
Constructor Detail |
---|
public UserChannelSubscriptionBo()
Method Detail |
---|
public NotificationChannelBo getChannel()
getChannel
in interface UserChannelSubscriptionContract
public void setChannel(NotificationChannelBo channel)
channel
- The channel to set.public Long getId()
getId
in interface KenIdentifiable
public void setId(Long id)
id
- The id to set.public String getUserId()
getUserId
in interface UserChannelSubscriptionContract
public void setUserId(String userId)
userId
- The userId to set.public static UserChannelSubscription to(UserChannelSubscriptionBo bo)
bo
- the mutable business object
public static UserChannelSubscriptionBo from(UserChannelSubscription im)
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |