public class PriceDataLoadHelper
extends java.lang.Object
The most commonly used method in finding default price list is
getDefaultPriceListByStoreIdAndCatentryId(String, String)
.
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultPriceListByStoreIdAndCatentryId(java.lang.String aStoreId,
java.lang.String aCatalogEntryId)
Gets the default price list ID using the given
store ID
and catentry ID . |
public static java.lang.String getDefaultPriceListByStoreIdAndCatentryId(java.lang.String aStoreId, java.lang.String aCatalogEntryId) throws DataLoadException
store ID
and catentry ID
.
This method can find the default price list, when there is no price list in the business context.
store ID
.
aStoreId
- The store ID in the business context. Cannot be null.aCatalogEntryId
- The ID of catalog entry. Cannot be null.storeId
and catalogEntryId
or null
if no default price list has been found.DataLoadException
- If an error occurs when executing an SQL statement or a
database connection is not closed.