public class SsmChangeChannelSubscriptionsEvent extends java.lang.Object implements EventMessage
SsmChangeChannelSubscriptionsAction
Constructor and Description |
---|
SsmChangeChannelSubscriptionsEvent(User userIn,
java.util.Collection<ChannelActionDAO> changesIn,
java.lang.Long operationId)
Creates a new SSM channel change event to fire across the message bus.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ChannelActionDAO> |
getChanges() |
java.lang.Long |
getOpId() |
User |
getUser() |
java.lang.Long |
getUserId()
Get the user that scheduled the Event (needed to initialize logging)
|
java.lang.String |
toString() |
java.lang.String |
toText()
Convert the internal representation to a text string
|
public SsmChangeChannelSubscriptionsEvent(User userIn, java.util.Collection<ChannelActionDAO> changesIn, java.lang.Long operationId)
userIn
- user making the changes; cannot be null
changesIn
- changes to make; cannot be null
operationId
- the operation idpublic User getUser()
null
public java.lang.Long getUserId()
getUserId
in interface EventMessage
public java.util.Collection<ChannelActionDAO> getChanges()
null
public java.lang.Long getOpId()
public java.lang.String toText()
toText
in interface EventMessage
public java.lang.String toString()
toString
in class java.lang.Object