org.kuali.rice.ken.bo
Class NotificationProducerBo

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

@Entity
public class NotificationProducerBo
extends PersistableBusinessObjectBase
implements NotificationProducerContract

This class represents an instance of who can actually submit notification messages to the system for processing.

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
NotificationProducerBo()
          Constructs a NotificationProducer instance.
 
Method Summary
static NotificationProducerBo from(NotificationProducer im)
          Converts a immutable object to its mutable counterpart
 List<Long> getChannelIds()
           
 List<NotificationChannelBo> getChannels()
          Gets the channels attribute.
 String getContactInfo()
          Gets the contactInfo attribute.
 String getDescription()
          Gets the description attribute.
 Long getId()
          Gets the id attribute.
 String getName()
          Gets the name attribute.
 void setChannels(List<NotificationChannelBo> channels)
          Sets the channels attribute value.
 void setContactInfo(String contactInfo)
          Sets the contactInfo attribute value.
 void setDescription(String description)
          Sets the description attribute value.
 void setId(Long id)
          Sets the id attribute value.
 void setName(String name)
          Sets the name attribute value.
static NotificationProducer to(NotificationProducerBo 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

NotificationProducerBo

public NotificationProducerBo()
Constructs a NotificationProducer instance.

Method Detail

getContactInfo

public String getContactInfo()
Gets the contactInfo attribute.

Specified by:
getContactInfo in interface NotificationProducerContract
Returns:
Returns the contactInfo.

getChannelIds

public List<Long> getChannelIds()
Specified by:
getChannelIds in interface NotificationProducerContract

setContactInfo

public void setContactInfo(String contactInfo)
Sets the contactInfo attribute value.

Parameters:
contactInfo - The contactInfo to set.

getDescription

public String getDescription()
Gets the description attribute.

Specified by:
getDescription in interface NotificationProducerContract
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Sets the description attribute value.

Parameters:
description - The description 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.

getName

public String getName()
Gets the name attribute.

Specified by:
getName in interface NotificationProducerContract
Returns:
Returns the name.

setName

public void setName(String name)
Sets the name attribute value.

Parameters:
name - The name to set.

getChannels

public List<NotificationChannelBo> getChannels()
Gets the channels attribute.

Returns:
Returns the channels.

setChannels

public void setChannels(List<NotificationChannelBo> channels)
Sets the channels attribute value.

Parameters:
channels - The channels to set.

to

public static NotificationProducer to(NotificationProducerBo bo)
Converts a mutable bo to its immutable counterpart

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

from

public static NotificationProducerBo from(NotificationProducer im)
Converts a immutable object to its mutable counterpart

Parameters:
im - immutable object
Returns:
the mutable bo


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