org.kuali.rice.ken.bo
Class NotificationChannelReviewerBo

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

@Entity
public class NotificationChannelReviewerBo
extends PersistableBusinessObjectBase
implements NotificationChannelReviewerContract

A reviewer for a notification publications to a NotificationChannel

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
NotificationChannelReviewerBo()
           
 
Method Summary
static NotificationChannelReviewerBo from(NotificationChannelReviewer im)
          Converts a immutable object to its mutable counterpart
 NotificationChannelBo getChannel()
          Returns the channel with which this reviewer is associated
 Long getId()
          Returns the primary key value
 String getReviewerId()
          Returns the user id of the reviewer.
 String getReviewerType()
          Returns the type of reviewer, USER or GROUP
 void setChannel(NotificationChannelBo channel)
          Sets the channel with which this reviewer is associated
 void setId(Long id)
          Sets the primary key value
 void setReviewerId(String reviewerId)
          Sets the user id of the reviewer
 void setReviewerType(String reviewerType)
          Sets the type of reviewer, USER or GROUP
static NotificationChannelReviewer to(NotificationChannelReviewerBo 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

NotificationChannelReviewerBo

public NotificationChannelReviewerBo()
Method Detail

getId

public Long getId()
Returns the primary key value

Specified by:
getId in interface KenIdentifiable
Returns:
the primary key value

setId

public void setId(Long id)
Sets the primary key value

Parameters:
id - the primary key value

getChannel

public NotificationChannelBo getChannel()
Returns the channel with which this reviewer is associated

Specified by:
getChannel in interface NotificationChannelReviewerContract
Returns:
the channel with which this reviewer is associated

setChannel

public void setChannel(NotificationChannelBo channel)
Sets the channel with which this reviewer is associated

Parameters:
channel - the channel with which this reviewer is associated

getReviewerId

public String getReviewerId()
Returns the user id of the reviewer. This is abstract but ultimately will need to be resolved to a KEW user/group

Specified by:
getReviewerId in interface NotificationChannelReviewerContract
Returns:
the user id of the reviewer

setReviewerId

public void setReviewerId(String reviewerId)
Sets the user id of the reviewer

Parameters:
reviewerId - the user id of the reviewer

getReviewerType

public String getReviewerType()
Returns the type of reviewer, USER or GROUP

Specified by:
getReviewerType in interface NotificationChannelReviewerContract
Returns:
the type of reviewer, USER or GROUP

setReviewerType

public void setReviewerType(String reviewerType)
Sets the type of reviewer, USER or GROUP

Parameters:
reviewerType - the type of reviewer, USER or GROUP

to

public static NotificationChannelReviewer to(NotificationChannelReviewerBo bo)
Converts a mutable bo to its immutable counterpart

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

from

public static NotificationChannelReviewerBo from(NotificationChannelReviewer im)
Converts a immutable object to its mutable counterpart

Parameters:
im - immutable object
Returns:
the mutable bo


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