public class NewCloneErrataEvent extends java.lang.Object implements EventDatabaseMessage
Constructor and Description |
---|
NewCloneErrataEvent(Channel chanIn,
java.lang.Long errataIn,
User userIn,
boolean inheritPackagesIn)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
deregister()
De-regiser the async clone event from the counter
|
Channel |
getChan() |
java.lang.Long |
getErrata() |
org.hibernate.Transaction |
getTransaction()
Get the Transaction from the caller/creator of this EventMessage.
|
User |
getUser() |
java.lang.Long |
getUserId()
Get the user that scheduled the Event (needed to initialize logging)
|
boolean |
isInheritPackages() |
void |
register()
Register the async clone event with the counter
|
void |
setChan(Channel chanIn) |
void |
setErrata(java.lang.Long errataIn) |
void |
setInheritPackages(boolean inheritPackagesIn) |
java.lang.String |
toText()
Convert the internal representation to a text string
|
public java.lang.String toText()
toText
in interface EventMessage
public org.hibernate.Transaction getTransaction()
getTransaction
in interface EventDatabaseMessage
public boolean isInheritPackages()
public void setInheritPackages(boolean inheritPackagesIn)
inheritPackagesIn
- inheritPackagespublic Channel getChan()
public void setChan(Channel chanIn)
chanIn
- The chan to set.public java.lang.Long getErrata()
public void setErrata(java.lang.Long errataIn)
errataIn
- The errata to set.public User getUser()
public void register()
public void deregister()
public java.lang.Long getUserId()
getUserId
in interface EventMessage