Class UserChannelSubscription.Builder
java.lang.Object
org.kuali.rice.ken.api.notification.UserChannelSubscription.Builder
- All Implemented Interfaces:
Serializable,GloballyUnique,Versioned,ModelBuilder,KenIdentifiable,UserChannelSubscriptionContract
- Enclosing class:
- UserChannelSubscription
public static final class UserChannelSubscription.Builder
extends Object
implements Serializable, 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 interfaceModelBuilder
-
getChannel
- Specified by:
getChannelin interfaceUserChannelSubscriptionContract
-
getUserId
- Specified by:
getUserIdin interfaceUserChannelSubscriptionContract
-
getId
- Specified by:
getIdin interfaceKenIdentifiable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
getObjectId
- Specified by:
getObjectIdin interfaceGloballyUnique
-
setChannel
-
setUserId
-
setId
-
setVersionNumber
-
setObjectId
-