public abstract class EventBase extends Object implements SubscriptionBaseEvent
SubscriptionBaseEvent.EventType| Constructor and Description |
|---|
EventBase(EventBaseBuilder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SubscriptionBaseEvent other) |
void |
deactivate() |
boolean |
equals(Object other) |
long |
getActiveVersion() |
org.joda.time.DateTime |
getCreatedDate() |
org.joda.time.DateTime |
getEffectiveDate() |
UUID |
getId() |
org.joda.time.DateTime |
getProcessedDate() |
org.joda.time.DateTime |
getRequestedDate() |
UUID |
getSubscriptionId() |
long |
getTotalOrdering() |
abstract SubscriptionBaseEvent.EventType |
getType() |
org.joda.time.DateTime |
getUpdatedDate() |
boolean |
isActive() |
void |
reactivate() |
void |
setActiveVersion(long activeVersion) |
public EventBase(EventBaseBuilder<?> builder)
public org.joda.time.DateTime getRequestedDate()
getRequestedDate in interface SubscriptionBaseEventpublic org.joda.time.DateTime getEffectiveDate()
getEffectiveDate in interface SubscriptionBaseEventpublic org.joda.time.DateTime getProcessedDate()
getProcessedDate in interface SubscriptionBaseEventpublic UUID getSubscriptionId()
getSubscriptionId in interface SubscriptionBaseEventpublic long getTotalOrdering()
getTotalOrdering in interface SubscriptionBaseEventpublic UUID getId()
getId in interface com.ning.billing.util.entity.Entitypublic org.joda.time.DateTime getCreatedDate()
getCreatedDate in interface com.ning.billing.util.entity.Entitypublic org.joda.time.DateTime getUpdatedDate()
getUpdatedDate in interface com.ning.billing.util.entity.Entitypublic long getActiveVersion()
getActiveVersion in interface SubscriptionBaseEventpublic void setActiveVersion(long activeVersion)
setActiveVersion in interface SubscriptionBaseEventpublic boolean isActive()
isActive in interface SubscriptionBaseEventpublic void deactivate()
deactivate in interface SubscriptionBaseEventpublic void reactivate()
reactivate in interface SubscriptionBaseEventpublic int compareTo(SubscriptionBaseEvent other)
compareTo in interface Comparable<SubscriptionBaseEvent>public abstract SubscriptionBaseEvent.EventType getType()
getType in interface SubscriptionBaseEventCopyright © 2010-2013. All Rights Reserved.