public class CalculationCodeListDataBean extends SmartDataBeanImpl implements Delegator
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
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
|
protected java.sql.Timestamp | getEvalViewTime()
This method is used to retrieve time, if in preview mode, use preview time, otherwise, use current time.
|
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.
|
protected int | getOracleInclauseLimitation()
Get the Oracle in clause limitation configured in this class.
|
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.
|
protected void | removeCalCodeFromList(java.util.List aCodeList, java.util.Vector aVector)
If a calcode ID is in the query reset set, it will be removed from the final list.
|
protected void | removeCalCodeWithExcludeCategory(java.util.List aCodeList, java.util.List aCategoryList)
Query db for the calcode Id associated with the exclude category IDs.
|
protected void | removeCalCodeWithExcludeCatEntry(java.util.List aCodeList, java.lang.Long aCatEntry)
Query db for the calcode Id associated with the exclude catEntry ID.
|
protected void | removeCalCodeWithExcludeMemberGroup(java.util.List aCodeList, java.util.Vector memberGrpIdVector)
Query db for the calcode Id associated with the exclude member group IDs.
|
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.
|
public static final java.lang.String COPYRIGHT
public CalculationCodeListDataBean()
public void setCalculationUsageId(java.lang.Integer anCalculationUsageId)
public void setCalculationUsageId(java.lang.String astrCalculationUsageId)
public void setDisplayLevel(java.lang.Integer anDisplayLevel)
public void setDisplayLevel(java.lang.String astrDisplayLevel)
public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
public void setCatalogEntryId(java.lang.String astrCatalogEntryId)
public void setCatalogGroupId(java.lang.Long anCatalogGroupId)
public void setCatalogGroupId(java.lang.String astrCatalogGroupId)
public void setAttachedToAllCatalogEntries(boolean abAttachedToAllCatalogEntries)
public void setAttachedToAllCatalogEntries(java.lang.String astrAttachedToAllCatalogEntries)
public void setIncludeParentProduct(boolean abIncludeParentProduct)
public boolean getIncludeParentProduct()
public void setIncludeParentProduct(java.lang.String astrIncludeParentProduct)
public void setIncludeChildItems(boolean abIncludeChildItems)
public void setIncludeChildItems(java.lang.String astrIncludeChildItems)
public void setIncludeParentCategory(boolean abIncludeParentCategories)
public void setIncludeParentCategory(java.lang.String astrIncludeParentCategories)
public void setCode(java.lang.String astrCode)
public void setOnlyManagementCenterPromotions(boolean abOnlyManagementCenterPromotions)
public void setOnlyManagementCenterPromotions(java.lang.String astrOnlyManagementCenterPromotions)
public void setAllowUnentitledPromotionsByMemberGroup(boolean abAllowUnentitledPromotionsByMemberGroup)
public void setAllowUnentitledPromotionsByMemberGroup(java.lang.String astrAllowUnentitledPromotionsByMemberGroup)
public void setExcludePromotionCode(boolean abExcludePromotionCode)
public void setExcludePromotionCode(java.lang.String astrExcludePromotionCode)
public void setStoreId(java.lang.Integer newStoreId)
public void setStoreId(java.lang.String newStrStoreId)
public void setStorePathEnabled(boolean isStorePathEnabled)
public void setStorePathEnabled(java.lang.String astrIsStorePathEnabled)
public void populate() throws java.lang.Exception
protected void removeCalCodeWithExcludeCatEntry(java.util.List aCodeList, java.lang.Long aCatEntry) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException
protected void removeCalCodeWithExcludeCategory(java.util.List aCodeList, java.util.List aCategoryList) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException
protected void removeCalCodeWithExcludeMemberGroup(java.util.List aCodeList, java.util.Vector memberGrpIdVector) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException
protected void removeCalCodeFromList(java.util.List aCodeList, java.util.Vector aVector) throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public CalculationCodeDataBean[] getCalculationCodeDataBeans()
public void setInShipmodeId(java.lang.Integer newInShipmodeId)
public void setInShipmodeId(java.lang.String newInShipmodeId)
public void setUserId(java.lang.Long newInUserId)
public void setUserId(java.lang.String sInUserId)
public void setIsProdPromoOnly(boolean newState)
public void setIsProdPromoOnly(java.lang.String strState)
public java.util.Vector getCategories(java.lang.Integer storeId, CatalogEntryAccessBean catEntBean) throws java.lang.Exception
public java.util.Vector getParentCategories(java.lang.Integer storeId, java.lang.Long catGrpId) throws java.lang.Exception
public CatalogEntryAccessBean getProduct(java.lang.Long catEntryId) throws javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException
public java.util.Vector getMemberGroups(UserAccessBean currentUser, CommandContext commandContext, java.lang.Integer storeID) throws ECException
protected java.sql.Timestamp getEvalViewTime()
protected int getOracleInclauseLimitation()
public Protectable getDelegate() throws java.lang.Exception