Class CustomDispatchMessage
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.plugins.dispatch.common.bean.DispatchMessage
ru.bitel.bgbilling.plugins.dispatch.server.bean.message.CustomDispatchMessage
- All Implemented Interfaces:
Serializable
,AutoCloseable
,GuiTitlable
,Idable
,ListItem
- Direct Known Subclasses:
DispatchBalanceMessage
Пользовательский класс для формирования произвольных сообщений для модуля Dispatch.
Можно считывать нужные данные из базы, обращаться к акшенам, использовать xsl-шаблоны.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.plugins.dispatch.common.bean.DispatchMessage
messageBody
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
abstract String
Возвращает тело сообщенияvoid
setConnection
(Connection con) void
setContractId
(int contractId) Methods inherited from class ru.bitel.bgbilling.plugins.dispatch.common.bean.DispatchMessage
getCreateDate, getDispatchId, getSendDate, isSent, setCreateDate, setDispatchId, setMessageBody, setSendDate, setSent
Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toString
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
Field Details
-
con
-
contractId
protected int contractId -
contractManager
-
-
Constructor Details
-
CustomDispatchMessage
public CustomDispatchMessage()
-
-
Method Details
-
setConnection
-
setContractId
public void setContractId(int contractId) -
getMessageBody
Description copied from class:DispatchMessage
Возвращает тело сообщения- Overrides:
getMessageBody
in classDispatchMessage
- Returns:
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-