org.kuali.rice.ken.bo
Class NotificationRecipientListBo

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.NotificationRecipientListBo
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, KenIdentifiable, NotificationListRecipientContract, BusinessObject, PersistableBusinessObject

@Entity
public class NotificationRecipientListBo
extends PersistableBusinessObjectBase
implements NotificationListRecipientContract

This class represents the data structure that will house a default recipient list for a notification channel.

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
NotificationRecipientListBo()
          Constructs a NotificationRecipientList.java instance.
 
Method Summary
static NotificationRecipientListBo from(NotificationListRecipient im)
          Converts a immutable object to its mutable counterpart
 NotificationChannelBo getChannel()
          Gets the channel attribute.
 Long getId()
          Gets the id attribute.
 String getRecipientId()
          Gets the recipientId attribute.
 String getRecipientType()
          Gets the recipientType attribute.
 void setChannel(NotificationChannelBo channel)
          Sets the channel attribute value.
 void setId(Long id)
          Sets the id attribute value.
 void setRecipientId(String recipientId)
          Sets the recipientId attribute value.
 void setRecipientType(String recipientType)
          Sets the recipientType attribute value.
static NotificationListRecipient to(NotificationRecipientListBo bo)
          Converts a mutable bo to its immutable counterpart
 
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
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

NotificationRecipientListBo

public NotificationRecipientListBo()
Constructs a NotificationRecipientList.java instance.

Method Detail

getChannel

public NotificationChannelBo getChannel()
Gets the channel attribute.

Specified by:
getChannel in interface NotificationListRecipientContract
Returns:
Returns the channel.

setChannel

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

Parameters:
channel - The channel to set.

getId

public Long getId()
Gets the id attribute.

Specified by:
getId in interface KenIdentifiable
Returns:
Returns the id.

setId

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

Parameters:
id - The id to set.

getRecipientId

public String getRecipientId()
Gets the recipientId attribute.

Specified by:
getRecipientId in interface NotificationListRecipientContract
Returns:
Returns the recipientId.

setRecipientId

public void setRecipientId(String recipientId)
Sets the recipientId attribute value.

Parameters:
recipientId - The recipientId to set.

getRecipientType

public String getRecipientType()
Gets the recipientType attribute.

Specified by:
getRecipientType in interface NotificationListRecipientContract
Returns:
Returns the recipientType.

setRecipientType

public void setRecipientType(String recipientType)
Sets the recipientType attribute value.

Parameters:
recipientType - The recipientType to set.

to

public static NotificationListRecipient to(NotificationRecipientListBo bo)
Converts a mutable bo to its immutable counterpart

Parameters:
bo - the mutable business object
Returns:
the immutable object

from

public static NotificationRecipientListBo from(NotificationListRecipient im)
Converts a immutable object to its mutable counterpart

Parameters:
im - immutable object
Returns:
the mutable bo


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.