Interface Contact

  • All Superinterfaces:
    java.lang.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<javax.mail.internet.InternetAddress> getAssignedAddresses()
      Returns an unmodifiable cached view of the assigned email addresses.
      java.util.Optional<java.lang.String> getExternalId()
      The external id of a Contact may be used to associate the novomind iAGENT contact object with external customer data.
      java.util.Optional<Tenant> getTenant()
      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
    • Method Detail

      • getAssignedAddresses

        java.util.Set<javax.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
      • getExternalId

        java.util.Optional<java.lang.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

        java.util.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