|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ken.api.notification.UserChannelSubscription.Builder
public static final class UserChannelSubscription.Builder
A builder which can be used to construct UserChannelSubscription instances. Enforces the constraints of the UserChannelSubscriptionContract.
| Method Summary | |
|---|---|
UserChannelSubscription |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static UserChannelSubscription.Builder |
create()
|
static UserChannelSubscription.Builder |
create(UserChannelSubscriptionContract contract)
|
NotificationChannel.Builder |
getChannel()
|
Long |
getId()
|
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getUserId()
|
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setChannel(NotificationChannel.Builder channel)
|
void |
setId(Long id)
|
void |
setObjectId(String objectId)
|
void |
setUserId(String userId)
|
void |
setVersionNumber(Long versionNumber)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UserChannelSubscription.Builder create()
public static UserChannelSubscription.Builder create(UserChannelSubscriptionContract contract)
public UserChannelSubscription build()
ModelBuilder
build in interface ModelBuilderpublic NotificationChannel.Builder getChannel()
getChannel in interface UserChannelSubscriptionContractpublic String getUserId()
getUserId in interface UserChannelSubscriptionContractpublic Long getId()
getId in interface KenIdentifiablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic void setChannel(NotificationChannel.Builder channel)
public void setUserId(String userId)
public void setId(Long id)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||