Class UserChannelSubscription.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.UserChannelSubscription.Builder
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.core.api.mo.ModelBuilder,KenIdentifiable,UserChannelSubscriptionContract
- Enclosing class:
UserChannelSubscription
public static final class UserChannelSubscription.Builder
extends Object
implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, UserChannelSubscriptionContract
A builder which can be used to construct
UserChannelSubscription instances. Enforces the constraints of the UserChannelSubscriptionContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(UserChannelSubscriptionContract contract) getId()voidsetChannel(NotificationChannel.Builder channel) voidvoidsetObjectId(String objectId) voidvoidsetVersionNumber(Long versionNumber)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceorg.kuali.rice.core.api.mo.ModelBuilder
-
getChannel
- Specified by:
getChannelin interfaceUserChannelSubscriptionContract
-
getUserId
- Specified by:
getUserIdin interfaceUserChannelSubscriptionContract
-
getId
- Specified by:
getIdin interfaceKenIdentifiable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getObjectId
- Specified by:
getObjectIdin interfaceorg.kuali.rice.core.api.mo.common.GloballyUnique
-
setChannel
-
setUserId
-
setId
-
setVersionNumber
-
setObjectId
-