org.kuali.rice.ken.bo
Class UserChannelSubscription

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.ken.bo.UserChannelSubscription
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

@Entity
public class UserChannelSubscription
extends PersistableBusinessObjectBase

This class represents an instance of a user's subscription to a specific notification channel.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  NotificationChannel channel
           
private  Long id
           
private  String userId
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
UserChannelSubscription()
          Constructs a UserChannelSubscription instance.
 
Method Summary
 NotificationChannel getChannel()
          Gets the channel attribute.
 Long getId()
          Gets the id attribute.
 String getUserId()
          Gets the userId attribute.
 void setChannel(NotificationChannel channel)
          Sets the channel attribute value.
 void setId(Long id)
          Sets the id attribute value.
 void setUserId(String userId)
          Sets the userId attribute value.
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
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.ModelObjectBasic
toString
 

Field Detail

id

private Long id

userId

private String userId

channel

private NotificationChannel channel
Constructor Detail

UserChannelSubscription

public UserChannelSubscription()
Constructs a UserChannelSubscription instance.

Method Detail

getChannel

public NotificationChannel getChannel()
Gets the channel attribute.

Returns:
Returns the channel.

setChannel

public void setChannel(NotificationChannel channel)
Sets the channel attribute value.

Parameters:
channel - The channel to set.

getId

public Long getId()
Gets the id attribute.

Returns:
Returns the id.

setId

public void setId(Long id)
Sets the id attribute value.

Parameters:
id - The id to set.

getUserId

public String getUserId()
Gets the userId attribute.

Returns:
Returns the userId.

setUserId

public void setUserId(String userId)
Sets the userId attribute value.

Parameters:
userId - The userId to set.


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.