public abstract class MessageType extends IdTitle
Modifier | Constructor and Description |
---|---|
protected |
MessageType(int id,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
Message |
createAnswerMessage(Message message) |
java.lang.String |
getMessageDescription(Message message) |
abstract java.lang.String |
getName()
Возвращает тип сообщения.
|
abstract Message |
newMessageGet(java.lang.String messageId) |
abstract java.util.List<Message> |
newMessageList() |
abstract Message |
newMessageLoad(java.sql.Connection con,
java.lang.String messageId) |
abstract void |
process() |
java.util.List<CommonObjectLink> |
searchObjectsForLink(Message message) |
protected MessageType(int id, java.lang.String title) throws BGException
BGException
public abstract void process()
public abstract java.lang.String getName()
public abstract java.util.List<Message> newMessageList() throws BGException
BGException
public abstract Message newMessageGet(java.lang.String messageId) throws BGException
BGException
public abstract Message newMessageLoad(java.sql.Connection con, java.lang.String messageId) throws BGException
BGException
public java.lang.String getMessageDescription(Message message)
public java.util.List<CommonObjectLink> searchObjectsForLink(Message message)