Class ExtendedMessage
java.lang.Object
com.novomind.ecom.api.imail.core.connector.ExtendedMessage
Wraps a
Message and provides additional information
during messages retrieval by the ExtendedMessageConnector.- Since:
- 11.32
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedMessage(jakarta.mail.Message message) Constructs aExtendedMessagewith the specified message. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the additional contact information used as secondary search criteria while searching an existing contact.jakarta.mail.MessageReturns the message retrieved by theExtendedMessageConnector.setContactIdentifier(ContactIdentifier contactIdentifier) This method allows to set the ContactIdentifier used as secondary search criteria while searching an existing contact for theTicketthat may be created due to the message.
-
Constructor Details
-
ExtendedMessage
public ExtendedMessage(jakarta.mail.Message message) Constructs aExtendedMessagewith the specified message.- Parameters:
message- theMessagecontained in thisExtendedMessage- Since:
- 11.32
-
-
Method Details
-
getMessage
public jakarta.mail.Message getMessage()Returns the message retrieved by theExtendedMessageConnector.- Returns:
- the message retrieved by the
ExtendedMessageConnector. - Since:
- 11.32
-
getContactIdentifier
This method returns the additional contact information used as secondary search criteria while searching an existing contact. The attributes will be assigned to the existing or newly created contact.- Returns:
- the optional contact identifier or an empty optional if no contact identifier is set
- Since:
- 11.32
-
setContactIdentifier
This method allows to set the ContactIdentifier used as secondary search criteria while searching an existing contact for theTicketthat may be created due to the message. The attributes will be assigned to the existing or newly created contact.- Parameters:
contactIdentifier- the contact identifier to be used as secondary search criteria- Returns:
- the instance for fluent usage
- Since:
- 11.32
-