public class CouponUtilities
extends java.lang.Object
CatalogEntryRelationAccessBean
StoreAccessBean
OrderItemAccessBean
CatalogGroupRelationAccessBean
CatalogGroupCatalogEntryRelationAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
Constructor and Description |
---|
CouponUtilities()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
belongsToItemOrProduct(java.lang.Long catalogProductId,
java.lang.Long catalogEntryId)
Deprecated.
This method checkes whether the given catalog entry is the same as or belongs to the given product or catalog entry.
|
static java.math.BigDecimal |
calculateTotalOrderAmt(java.util.Vector vecoiAB,
StoreAccessBean sAB,
CurrencyManager cm,
java.lang.String curCurrency)
Deprecated.
This method calculates the total order amount.
|
static int |
catEntBelongsToCatGrp(java.lang.Long catalogEntryId,
java.lang.Long catalogGroupId,
java.lang.Long catalogId)
Deprecated.
This method checkes whether the given catalog entry belongs to the given catalog group in a given catalog.
|
static int |
groupBelongsTo(java.lang.String catalogId,
java.lang.String parentGroupId,
java.lang.String childGroupId)
Deprecated.
This method checkes whether a given catalog group belongs to another given catalog group in a given catalog.
|
public static final java.lang.String COPYRIGHT
public static int belongsToItemOrProduct(java.lang.Long catalogProductId, java.lang.Long catalogEntryId)
catalogProductId
- the target parent product or catalog entrycatalogEntryId
- the target child catalog entrypublic static java.math.BigDecimal calculateTotalOrderAmt(java.util.Vector vecoiAB, StoreAccessBean sAB, CurrencyManager cm, java.lang.String curCurrency) throws ECSystemException
vecoiAB
- the orderitemssAB
- access bean for the storecm
- the currency manager to be usedcurCurrency
- the currency to compute the total order amount inECSystemException
public static int catEntBelongsToCatGrp(java.lang.Long catalogEntryId, java.lang.Long catalogGroupId, java.lang.Long catalogId)
catalogEntryId
- the target child catalog entrycatalogGroupId
- the target parent catalog groupcatalogId
- the catalog IDpublic static int groupBelongsTo(java.lang.String catalogId, java.lang.String parentGroupId, java.lang.String childGroupId)
catalogId
- the catalog IDparentGroupId
- the target parent catalog groupchildGroupId
- the target child catalog group