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 StringcreateDuplicationKey(Date date, String title) creates the duplication check keygetBlz()getDate()getId()voidSave a Hibiscus messagevoidvoidvoidvoidsetMessage(String message) Sets the message.voidsetSubject(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:
RemoteExceptionde.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
-