Enum SalesDocumentType
- java.lang.Object
-
- java.lang.Enum<SalesDocumentType>
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.SalesDocumentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SalesDocumentType>
public enum SalesDocumentType extends java.lang.Enum<SalesDocumentType>
Enumeration of DocumentTypes supported by Sales transaction module.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASKETA document type that can be displayed/changed on the Basket Page.ORDERA document type that can be displayed on the Order Page.ORDERCONFIRMATIONA document type that can be displayed on the Order Confirmation Page.QUOTATIONA document type that can be displayed on the Quotation Page.RFQA document type that can be displayed on the RfQ/Quotation Page.UNKNOWNIf the document type is not yes clear, e.g: Bean without BO assigned
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthorityCheckName()Returns the name to be used for authority checks.static SalesDocumentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SalesDocumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static SalesDocumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SalesDocumentType c : SalesDocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SalesDocumentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getAuthorityCheckName
public java.lang.String getAuthorityCheckName()
Returns the name to be used for authority checks.- Returns:
- name for authority checks
-
-