Class SalesTransactionsUtilImpl
java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.util.impl.SalesTransactionsUtilImpl
- All Implemented Interfaces:
SalesTransactionsUtil
Class containing general utility methods for sales transactions module and important constants
- Version:
- 1.0
-
Field Summary
FieldsFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.util.interf.SalesTransactionsUtil
AUTH_ACTVT_CREATE, AUTH_ACTVT_DELETE, AUTH_ACTVT_DISPLAY, AUTH_ACTVT_EDIT, PATTERN_REPLACE_ZEROS, REPLACEMENT_EMPTY_STRING, SEARCH_NAME_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteEmptyItems(ItemList itemList) Deletes empty items from the item list, so that no empty items are transfered to the backend.removeLeadingZeros(String input) Removes leading zeros from a string.
-
Field Details
-
sapLogger
-
defaultEmptyLinesBackend
protected int defaultEmptyLinesBackend -
defaultEmptyLinesJava
protected int defaultEmptyLinesJava
-
-
Constructor Details
-
SalesTransactionsUtilImpl
public SalesTransactionsUtilImpl()
-
-
Method Details
-
deleteEmptyItems
Description copied from interface:SalesTransactionsUtilDeletes empty items from the item list, so that no empty items are transfered to the backend. An empty item is a main item (no subitem), where quantity is 0 or no product was entered.- Specified by:
deleteEmptyItemsin interfaceSalesTransactionsUtil- Parameters:
itemList- to clean up
-
removeLeadingZeros
Description copied from interface:SalesTransactionsUtilRemoves leading zeros from a string. Use full when dealing with Id's that might have leading zeros,- Specified by:
removeLeadingZerosin interfaceSalesTransactionsUtil- Parameters:
input- and id string, should only contain digits- Returns:
- input string without leading zeros
-