Enum Class SalesDocumentType
java.lang.Object
java.lang.Enum<SalesDocumentType>
de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.SalesDocumentType
- All Implemented Interfaces:
Serializable,Comparable<SalesDocumentType>,Constable
Enumeration of DocumentTypes supported by Sales transaction module.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA document type that can be displayed/changed on the Basket Page.A document type that can be displayed on the Order Page.A document type that can be displayed on the Order Confirmation Page.A document type that can be displayed on the Quotation Page.A document type that can be displayed on the RfQ/Quotation Page.If the document type is not yes clear, e.g: Bean without BO assigned -
Method Summary
Modifier and TypeMethodDescriptionReturns the name to be used for authority checks.static SalesDocumentTypeReturns the enum constant of this class with the specified name.static SalesDocumentType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ORDERCONFIRMATION
A document type that can be displayed on the Order Confirmation Page. Typically an Order BO is used. -
BASKET
A document type that can be displayed/changed on the Basket Page. Typically an Basket BO is used. -
ORDER
A document type that can be displayed on the Order Page. Typically an Order BO is used. -
QUOTATION
A document type that can be displayed on the Quotation Page. Typically an Quotation BO is used. -
RFQ
A document type that can be displayed on the RfQ/Quotation Page. Typically an RfQ BO is used. -
UNKNOWN
If the document type is not yes clear, e.g: Bean without BO assigned
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getAuthorityCheckName
Returns the name to be used for authority checks.- Returns:
- name for authority checks
-