Package de.frankmuenster.mahoe.messages
Class MahoeMessage
java.lang.Object
de.frankmuenster.mahoe.messages.MahoeMessage
Eine Mahoe-Bank-Nachricht. Dient als Zwischenspeicher von Bank-Nachrichten,
bis sie in der Datenbank gespeichert werden.
- Author:
- Frank Münster
-
Constructor Summary
ConstructorsConstructorDescriptionMahoeMessage
(String blz, Date date, String subject, String message) Erzeugt eine neue MahoeNachricht -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createDuplicationKey
(Date date, String title) creates the duplication check keygetBlz()
getDate()
getId()
void
Save a Hibiscus messagevoid
void
void
void
setMessage
(String message) Sets the message.void
setSubject
(String subject)
-
Constructor Details
-
MahoeMessage
Erzeugt eine neue MahoeNachricht- Parameters:
blz
-date
-subject
-message
- max. length 4000 characters. Longer messages will be truncated.
-
-
Method Details
-
createDuplicationKey
creates the duplication check key -
getBlz
- Returns:
- the blz
-
getDate
- Returns:
- the date
-
getId
- Returns:
- the id
-
getMessage
- Returns:
- the message
-
getSubject
- Returns:
- the subject
-
saveAsNachricht
Save a Hibiscus message- Throws:
RemoteException
de.willuhn.util.ApplicationException
-
setBlz
- Parameters:
blz
- the blz to set
-
setDate
- Parameters:
date
- the date to set
-
setId
- Parameters:
id
- the id to set
-
setMessage
Sets the message. The max. length 4000 characters. Longer messages will be truncated.- Parameters:
message
- the message to set.
-
setSubject
- Parameters:
subject
- the subject to set
-