|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ModelBuilder
public NotificationChannel.Builder getChannel()
getChannel
in interface UserChannelSubscriptionContract
public String getUserId()
getUserId
in interface UserChannelSubscriptionContract
public Long getId()
getId
in interface KenIdentifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public 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 |