java.lang.Object
java.lang.Enum<SalesDocumentType>
de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.SalesDocumentType
All Implemented Interfaces:
Serializable, Comparable<SalesDocumentType>, Constable

public enum SalesDocumentType extends Enum<SalesDocumentType>
Enumeration of DocumentTypes supported by Sales transaction module.
  • Enum Constant Details

    • ORDERCONFIRMATION

      public static final SalesDocumentType ORDERCONFIRMATION
      A document type that can be displayed on the Order Confirmation Page. Typically an Order BO is used.
    • BASKET

      public static final SalesDocumentType BASKET
      A document type that can be displayed/changed on the Basket Page. Typically an Basket BO is used.
    • ORDER

      public static final SalesDocumentType ORDER
      A document type that can be displayed on the Order Page. Typically an Order BO is used.
    • QUOTATION

      public static final SalesDocumentType QUOTATION
      A document type that can be displayed on the Quotation Page. Typically an Quotation BO is used.
    • RFQ

      public static final SalesDocumentType RFQ
      A document type that can be displayed on the RfQ/Quotation Page. Typically an RfQ BO is used.
    • UNKNOWN

      public static final SalesDocumentType UNKNOWN
      If the document type is not yes clear, e.g: Bean without BO assigned
  • Method Details

    • values

      public static SalesDocumentType[] 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 SalesDocumentType 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
    • getAuthorityCheckName

      public String getAuthorityCheckName()
      Returns the name to be used for authority checks.
      Returns:
      name for authority checks