Package ru.bgcrm.dao.message
Class MessageTypeNote
java.lang.Object
org.bgerp.model.base.Id
org.bgerp.model.base.IdTitle
ru.bgcrm.dao.message.MessageType
ru.bgcrm.dao.message.MessageTypeNote
- See Also:
-
Field Summary
Fields inherited from class ru.bgcrm.dao.message.MessageType
configMap, setup, unprocessedMessagesCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAnswerMessage
(Message original) Plugin's endpoint for process message editor.getMessageDescription
(String lang, Message message) Generates short message description.getProcessMessageHeaderColor
(Message message) boolean
boolean
boolean
isEditable
(Message message) boolean
boolean
isRemovable
(Message message) void
messageDelete
(ConnectionSet conSet, String... messageIds) Deletes both processed and unprocessed messages.void
updateMessage
(Connection con, DynActionForm form, Message message) Methods inherited from class ru.bgcrm.dao.message.MessageType
answerText, getConfigMap, getContactSaver, getHeaderJsp, getSearchMap, getUnprocessedMessagesCount, getViewerJsp, isCheckEmptySubject, isReadable, isReading, messageLinkedToProcess, newMessageGet, newMessageList, newMessageLoad, process, processMessageAttaches, searchObjectsForLink
-
Constructor Details
-
MessageTypeNote
-
-
Method Details
-
isAnswerSupport
public boolean isAnswerSupport()- Overrides:
isAnswerSupport
in classMessageType
-
getAnswerMessage
- Overrides:
getAnswerMessage
in classMessageType
-
isAttachmentSupport
public boolean isAttachmentSupport()- Overrides:
isAttachmentSupport
in classMessageType
-
isEditable
- Overrides:
isEditable
in classMessageType
-
isRemovable
- Overrides:
isRemovable
in classMessageType
-
isProcessChangeSupport
public boolean isProcessChangeSupport()- Overrides:
isProcessChangeSupport
in classMessageType
-
getProcessMessageHeaderColor
- Overrides:
getProcessMessageHeaderColor
in classMessageType
-
getEditorJsp
Description copied from class:MessageType
Plugin's endpoint for process message editor.- Overrides:
getEditorJsp
in classMessageType
- Returns:
-
getMessageDescription
Description copied from class:MessageType
Generates short message description.- Overrides:
getMessageDescription
in classMessageType
- Parameters:
lang
- language.message
- message with the type.- Returns:
-
messageDelete
Description copied from class:MessageType
Deletes both processed and unprocessed messages.- Overrides:
messageDelete
in classMessageType
- Parameters:
conSet
-messageIds
- set with int DB IDs or type related string IDs.- Throws:
Exception
-
updateMessage
- Specified by:
updateMessage
in classMessageType
- Throws:
Exception
-