Interface Contact

All Superinterfaces:
Comparable<com.novomind.ecom.common.api.persistence.Entity>, com.novomind.ecom.common.api.persistence.Entity, com.novomind.ecom.common.api.attribute.Named, StorageProvider

public interface Contact extends com.novomind.ecom.common.api.persistence.Entity, com.novomind.ecom.common.api.attribute.Named, StorageProvider
Represents a contact object associated with an Issue
Since:
11.26
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<jakarta.mail.internet.InternetAddress>
    Returns an unmodifiable cached view of the assigned email addresses.
    Returns an unmodifiable cached view of the assigned phone numbers as Fully Qualified Telephone Numbers according to ITU-T standard E.164 (e.g.
    Returns an unmodifiable cached view of attributes which can be used to identify the contact (see ContactIdentifier for further information).
    The external id of a Contact may be used to associate the novomind iAGENT contact object with external customer data.
    Returns the Tenant that is currently assigned to the Contact.

    Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity

    compareTo, getId, isDeleted, isNotDeleted

    Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

    getName

    Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider

    getStorage
  • Method Details

    • getAssignedAddresses

      Set<jakarta.mail.internet.InternetAddress> getAssignedAddresses()
      Returns an unmodifiable cached view of the assigned email addresses. The returned set is not updated when assignments change.
      Returns:
      the set of currently assigned email addresses
      Since:
      11.26
    • getAssignedPhoneNumbers

      Set<String> getAssignedPhoneNumbers()
      Returns an unmodifiable cached view of the assigned phone numbers as Fully Qualified Telephone Numbers according to ITU-T standard E.164 (e.g. +49401234567). The returned set is not updated when assignments change.
      Returns:
      the set of currently assigned phone numbers
      Since:
      12.14
    • getAttributes

      Map<String,Set<String>> getAttributes()
      Returns an unmodifiable cached view of attributes which can be used to identify the contact (see ContactIdentifier for further information). The key is the name of the attribute which maps to the associated attribute values. An example of a contact attribute would be an id which identifies the contact in an external service. The returned map is not updated when the contact attributes change.
      Returns:
      the map of attributes which can be used to identify the contact
      Since:
      12.14
    • getExternalId

      Optional<String> getExternalId()
      The external id of a Contact may be used to associate the novomind iAGENT contact object with external customer data. The external id is not used by the novomind iAGENT system internally.
      Returns:
      the optional external id as string, or an empty optional if not set.
      Since:
      11.26
    • getTenant

      Optional<Tenant> getTenant()
      Returns the Tenant that is currently assigned to the Contact. If the Contact is not assigned to any Tenant an empty optional is returned.
      Returns:
      the optionally assigned Tenant or an empty optional, if no Tenant is assigned to the Contact
      Since:
      11.26