Enum Class LeadCode

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

public enum LeadCode extends Enum<LeadCode> implements net.tangly.core.codes.Code
Defines the status of a lead.
Open
Indicates that a record requires follow up. This would be the state that the rep first interacts with the lead.
Contacting
This status indicates that the sales responsible has looked at the lead and confirmed that the data is real and that he or she has decided to work the record.
Qualified
Indicates the leas was converted and information was added to the company and person directories.
Disqualified
This status is used to specify the end of an opportunity. In most cases, you will want to document the reason in some text for the disqualification.
  • Enum Constant Details

    • open

      public static final LeadCode open
    • contacting

      public static final LeadCode contacting
    • qualified

      public static final LeadCode qualified
    • disqualified

      public static final LeadCode disqualified
  • Method Details

    • values

      public static LeadCode[] 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 LeadCode 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