Enum Class ActivityCode

java.lang.Object
java.lang.Enum<ActivityCode>
net.tangly.erp.crm.domain.ActivityCode
All Implemented Interfaces:
Serializable, Comparable<ActivityCode>, Constable, net.tangly.core.codes.Code

public enum ActivityCode extends Enum<ActivityCode> implements net.tangly.core.codes.Code
Defines the kinds af activities between natural persons.
talk
A personal and informal interaction with customer representatives.
meeting
A scheduled meeting with customer representatives. THe activity text can be used as meeting protocol.
email
An electronic message sent to customer representatives.
letter
A physical message sent to customer representatives. Digitalization should reduce letter to a minimum.
audiocall
An audio call such as a phone call or a Slack call with customer representatives.
videocall
An video call such as a team call or a Slack call with customer representatives.
chat
A textual chat interaction through asynchronous communication channel
campaign
A direct communication through a compaign. For example a flier, an event invitation or a whitepater is sent to a group of prospects.
  • Enum Constant Details

  • Method Details

    • values

      public static ActivityCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ActivityCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • id

      public int id()
      Specified by:
      id in interface net.tangly.core.codes.Code
    • code

      public String code()
      Specified by:
      code in interface net.tangly.core.codes.Code
    • enabled

      public boolean enabled()
      Specified by:
      enabled in interface net.tangly.core.codes.Code