public class MegogoSubscriptionUpdateEvent extends LocalEvent implements ErrorReturnableEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Constructor and Description |
---|
MegogoSubscriptionUpdateEvent(int moduleId,
MegogoContractSubscription contractSubscription,
int userId,
boolean sendToMegogo) |
MegogoSubscriptionUpdateEvent(int moduleId,
MegogoContractSubscription contractSubscription,
int userId,
boolean sendToMegogo,
MegogoSubscription subscriptionTo) |
Modifier and Type | Method and Description |
---|---|
MegogoContractSubscription |
getContractSubscription() |
java.lang.String |
getError() |
MegogoSubscription |
getSubscriptionTo()
Если это переход(то есть основной тип), то подписка на которую планируем перейти после завершения этой
|
boolean |
isCreate() |
boolean |
isProcessed() |
boolean |
isSendToMegogo() |
void |
setContractSubscription(MegogoContractSubscription contractSubscription) |
void |
setErrorMessage(java.lang.String errorMessage) |
void |
setProcessed(boolean processed) |
void |
setSubscriptionTo(MegogoSubscription subscriptionTo) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
public MegogoSubscriptionUpdateEvent(int moduleId, MegogoContractSubscription contractSubscription, int userId, boolean sendToMegogo)
public MegogoSubscriptionUpdateEvent(int moduleId, MegogoContractSubscription contractSubscription, int userId, boolean sendToMegogo, MegogoSubscription subscriptionTo)
public boolean isCreate()
public boolean isProcessed()
public void setProcessed(boolean processed)
public void setErrorMessage(java.lang.String errorMessage)
public MegogoContractSubscription getContractSubscription()
public void setContractSubscription(MegogoContractSubscription contractSubscription)
public boolean isSendToMegogo()
public MegogoSubscription getSubscriptionTo()
public void setSubscriptionTo(MegogoSubscription subscriptionTo)
public java.lang.String getError()
getError
in interface ErrorReturnableEvent