public class CalculationCodeListDataBean extends SmartDataBeanImpl implements Delegator
CalculationCodeDataBean
that matches the specified set of criteria. Null
valued parameters are ignored unless specified otherwise.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString| Constructor and Description |
|---|
CalculationCodeListDataBean()
The Constructor for CalculationCodeListDataBean.
|
| Modifier and Type | Method and Description |
|---|---|
CalculationCodeDataBean[] |
getCalculationCodeDataBeans()
This method returns the list of
CalculationCodeDataBeans that matches the specified set of criteria. |
java.util.Vector |
getCategories(java.lang.Integer storeId,
CatalogEntryAccessBean catEntBean)
This method returns the category ids of all CatalogGroupAccessBean which
associated with the specified catalog entry.
|
Protectable |
getDelegate()
Returns the Protectable object whose access control policies will indirectly control the access control for this object
|
boolean |
getIncludeParentProduct()
This method gets whether to retrieve the CalculationCodes attached to the
parent product of the specified CatalogEntry.
|
java.util.Vector |
getMemberGroups(UserAccessBean currentUser,
CommandContext commandContext,
java.lang.Integer storeID)
This method returns all the segments and convert to Vector.
|
java.util.Vector |
getParentCategories(java.lang.Integer storeId,
java.lang.Long catGrpId)
This method returns a Vector of all parent CatalogGroup IDs which
associated with this category.
|
CatalogEntryAccessBean |
getProduct(java.lang.Long catEntryId)
This method returns a catalogEntryAccessBean which specifies the product.
|
void |
populate()
This method is used to populate the CalculationCodeListDataBean.
|
void |
setAllowUnentitledPromotionsByMemberGroup(boolean abAllowUnentitledPromotionsByMemberGroup)
This method sets whether to include promotions that are targeted
to a member group if the user does not belong to the member group.
|
void |
setAllowUnentitledPromotionsByMemberGroup(java.lang.String astrAllowUnentitledPromotionsByMemberGroup)
This method sets whether to include promotions that are targeted
to a member group if the user does not belong to the member group.
|
void |
setAttachedToAllCatalogEntries(boolean abAttachedToAllCatalogEntries)
This method sets whether the CalculationCodes are attached to all
CatalogEntries.
|
void |
setAttachedToAllCatalogEntries(java.lang.String astrAttachedToAllCatalogEntries)
This method sets whether the CalculationCodes are attached to all
CatalogEntries.
|
void |
setCalculationUsageId(java.lang.Integer anCalculationUsageId)
This method sets the CalculationUsage of the CalculationCodes.
|
void |
setCalculationUsageId(java.lang.String astrCalculationUsageId)
This method sets the CalculationUsage of the CalculationCodes.
|
void |
setCatalogEntryId(java.lang.Long anCatalogEntryId)
This method sets the CatalogEntry that the CalculationCodes are attached
to.
|
void |
setCatalogEntryId(java.lang.String astrCatalogEntryId)
This method sets the CatalogEntry that the CalculationCodes are attached
to.
|
void |
setCatalogGroupId(java.lang.Long anCatalogGroupId)
This method sets the CatalogGroup that the CalculationCodes are attached
to.
|
void |
setCatalogGroupId(java.lang.String astrCatalogGroupId)
This method sets the CatalogGroup that the CalculationCodes are attached
to.
|
void |
setCode(java.lang.String astrCode)
This method sets the code (a-k-a name) of the CalculationCodes.
|
void |
setDisplayLevel(java.lang.Integer anDisplayLevel)
This method sets the display level of the CalculationCodes.
|
void |
setDisplayLevel(java.lang.String astrDisplayLevel)
This method sets the display level of the CalculationCodes.
|
void |
setExcludePromotionCode(boolean abExcludePromotionCode)
This method sets whether to retrieve the CalculationCodes which requires
promotion code.
|
void |
setExcludePromotionCode(java.lang.String astrExcludePromotionCode)
This method sets whether to retrieve the CalculationCodes which requires
promotion code
|
void |
setIncludeChildItems(boolean abIncludeChildItems)
This method sets whether to retrieve the CalculationCodes attached to the
child items of the specified CatalogEntry.
|
void |
setIncludeChildItems(java.lang.String astrIncludeChildItems)
This method sets whether to retrieve the CalculationCodes attached to the
child items of the specified CatalogEntry.
|
void |
setIncludeParentCategory(boolean abIncludeParentCategories)
This method sets whether to retrieve the CalculationCodes attached to the
parent categories of the specified CatalogGroup .
|
void |
setIncludeParentCategory(java.lang.String astrIncludeParentCategories)
This method sets whether to retrieve the CalculationCodes attached to the
parent categories of the specified CatalogGroup.
|
void |
setIncludeParentProduct(boolean abIncludeParentProduct)
This method sets whether to retrieve the CalculationCodes attached to the
parent product of the specified CatalogEntry.
|
void |
setIncludeParentProduct(java.lang.String astrIncludeParentProduct)
This method sets whether to retrieve the CalculationCodes attached to the
parent product of the specified CatalogEntry.
|
void |
setInShipmodeId(java.lang.Integer newInShipmodeId)
This method sets the inShipmodeId.
|
void |
setInShipmodeId(java.lang.String newInShipmodeId)
This method sets the shipmode .
|
void |
setIsProdPromoOnly(boolean newState)
This method sets the flag for excluding category promotions.
|
void |
setIsProdPromoOnly(java.lang.String strState)
This method sets the flag for excluding category promotions.
|
void |
setOnlyManagementCenterPromotions(boolean abOnlyManagementCenterPromotions)
This method sets whether all the promotions in the store have
been created in Management Center.
|
void |
setOnlyManagementCenterPromotions(java.lang.String astrOnlyManagementCenterPromotions)
This method sets whether all the promotions in the store have
been created in Management Center.
|
void |
setStoreId(java.lang.Integer newStoreId)
This method sets the store ID from the JSP, this store ID could be the
parent store.
|
void |
setStoreId(java.lang.String newStrStoreId)
Set the store ID by the String parameter passed from JSP
|
void |
setStorePathEnabled(boolean isStorePathEnabled)
This method sets the boolean value to true if the data bean
search Calculation Code based on store path.
|
void |
setStorePathEnabled(java.lang.String astrIsStorePathEnabled)
This method sets the String value to true if the data bean search
Calculation Code based on store path.
|
void |
setUserId(java.lang.Long newInUserId)
This method sets the user ID.
|
void |
setUserId(java.lang.String sInUserId)
This method sets the user ID.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContextgetRequestProperties, setRequestPropertiesequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestProperties, setRequestPropertiespublic static final java.lang.String COPYRIGHT
public CalculationCodeListDataBean()
public void setCalculationUsageId(java.lang.Integer anCalculationUsageId)
anCalculationUsageId - the CalculationUsage ID.public void setCalculationUsageId(java.lang.String astrCalculationUsageId)
astrCalculationUsageId - the CalculationUsage ID.public void setDisplayLevel(java.lang.Integer anDisplayLevel)
anDisplayLevel - the display level.public void setDisplayLevel(java.lang.String astrDisplayLevel)
astrDisplayLevel - the display level.public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
#setCatalogGroupId(Long)setCatalogGroupId()and
.anCatalogEntryId - the CatalogEntry ID.public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
#setCatalogGroupId(String)setCatalogGroupId()and
.astrCatalogEntryId - the CatalogEntry ID.public void setCatalogGroupId(java.lang.Long anCatalogGroupId)
anCatalogGroupId - the CatalogGroup ID.public void setCatalogGroupId(java.lang.String astrCatalogGroupId)
astrCatalogGroupId - the CatalogGroup ID.public void setAttachedToAllCatalogEntries(boolean abAttachedToAllCatalogEntries)
abAttachedToAllCatalogEntries - whether the CalculationCodes are attached to all
CatalogEntries. Default is false.public void setAttachedToAllCatalogEntries(java.lang.String astrAttachedToAllCatalogEntries)
astrAttachedToAllCatalogEntries - whether the CalculationCodes are attached to all
CatalogEntries. Default is false.public void setIncludeParentProduct(boolean abIncludeParentProduct)
#setIncludeChildItems(boolean)setIncludeChildItems().abIncludeParentProduct - whether to include the parent product. Default is false.public boolean getIncludeParentProduct()
public void setIncludeParentProduct(java.lang.String astrIncludeParentProduct)
#setIncludeChildItems(String)setIncludeChildItems().astrIncludeParentProduct - whether to include the parent product. Default is false.public void setIncludeChildItems(boolean abIncludeChildItems)
abIncludeChildItems - whether to include the child items. Default is false.public void setIncludeChildItems(java.lang.String astrIncludeChildItems)
astrIncludeChildItems - whether to include the child items. Default is false.public void setIncludeParentCategory(boolean abIncludeParentCategories)
abIncludeParentCategories - whether to include the parent categories. Default is false.public void setIncludeParentCategory(java.lang.String astrIncludeParentCategories)
astrIncludeParentCategories - whether to include the parent categories. Default is false.public void setCode(java.lang.String astrCode)
astrCode - the code.public void setOnlyManagementCenterPromotions(boolean abOnlyManagementCenterPromotions)
abOnlyManagementCenterPromotions - The setting whether
all the promotions in the store have been created in Management
Center. The default value if this parameter is not set is false.public void setOnlyManagementCenterPromotions(java.lang.String astrOnlyManagementCenterPromotions)
astrOnlyManagementCenterPromotions - The setting whether
all the promotions in the store have been created in Management
Center. The default value if this parameter is not set is false.public void setAllowUnentitledPromotionsByMemberGroup(boolean abAllowUnentitledPromotionsByMemberGroup)
abAllowUnentitledPromotionsByMemberGroup - The setting to
include promotions that are targeted to a member group if the
user does not belong to the member group. The default value
if this parameter is not set is false.public void setAllowUnentitledPromotionsByMemberGroup(java.lang.String astrAllowUnentitledPromotionsByMemberGroup)
astrAllowUnentitledPromotionsByMemberGroup - The setting
include promotions that are targeted to a member group if the
user does not belong to the member group. The default value
if this parameter is not set is false.public void setExcludePromotionCode(boolean abExcludePromotionCode)
abExcludePromotionCode - whether to exclude the promotion code required promotion.
Default is true.public void setExcludePromotionCode(java.lang.String astrExcludePromotionCode)
astrExcludePromotionCode - whether to exclude the promotion code required promotion.
Default is true.public void setStoreId(java.lang.Integer newStoreId)
newStoreId - public void setStoreId(java.lang.String newStrStoreId)
newStrStoreId - public void setStorePathEnabled(boolean isStorePathEnabled)
isStorePathEnabled - boolean.public void setStorePathEnabled(java.lang.String astrIsStorePathEnabled)
astrIsStorePathEnabled - java.lang.String.public void populate()
throws java.lang.Exception
populate in interface SmartDataBeanpopulate in class SmartDataBeanImpljava.lang.Exceptionpublic CalculationCodeDataBean[] getCalculationCodeDataBeans()
CalculationCodeDataBeans that matches the specified set of criteria.public void setInShipmodeId(java.lang.Integer newInShipmodeId)
newInShipmodeId - shipModeId.public void setInShipmodeId(java.lang.String newInShipmodeId)
newInShipmodeId - shipModeId.public void setUserId(java.lang.Long newInUserId)
newInUserId - userId.public void setUserId(java.lang.String sInUserId)
sInUserId - userId.public void setIsProdPromoOnly(boolean newState)
newState - ProdPromoOnly.public void setIsProdPromoOnly(java.lang.String strState)
strState - ProdPromoOnly.public java.util.Vector getCategories(java.lang.Integer storeId,
CatalogEntryAccessBean catEntBean)
throws java.lang.Exception
storeId - IntegercatEntBean - CatalogEntryAccessBeanjava.lang.Exceptionpublic java.util.Vector getParentCategories(java.lang.Integer storeId,
java.lang.Long catGrpId)
throws java.lang.Exception
storeId - IntegercatGrpId - Longjava.lang.Exceptionpublic CatalogEntryAccessBean getProduct(java.lang.Long catEntryId)
catEntryId - Long.public java.util.Vector getMemberGroups(UserAccessBean currentUser, CommandContext commandContext, java.lang.Integer storeID) throws ECException
currentUser - com.ibm.commerce.user.objects.UserAccessBean.commandContext - CommandContext.storeID - java.lang.Integer.ECExceptionpublic Protectable getDelegate() throws java.lang.Exception
DelegatorgetDelegate in interface Delegatorjava.lang.Exception