public class CustomerTagMgrEE extends CustomerTagMgr implements CustomerTagMgrIf
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
templateBaseDir| Constructor and Description |
|---|
CustomerTagMgrEE(KKEngIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateExpression(int customerId,
int expressionId,
java.lang.String expressionName)
Look at evaluateExpression(String sessionId, int expressionId, String expressionName)
|
boolean |
evaluateExpression(java.lang.String sessionId,
int expressionId,
java.lang.String expressionName)
An expression object is retrieved from the database and evaluated for the customer referenced
by the
sessionId. |
boolean |
evaluateExpressionForGuest(int customerId,
int expressionId,
java.lang.String expressionName)
Look at evaluateExpression(String sessionId, int expressionId, String expressionName)
|
ExpressionIf |
getExpression(int customerId,
int expressionId,
java.lang.String expressionName)
Look at getExpression(String sessionId, int expressionId, String expressionName)
|
ExpressionIf |
getExpression(java.lang.String sessionId,
int expressionId,
java.lang.String expressionName)
An Expression object, fully populated with an array of Expression Variables is returned.
|
ExpressionIf |
getExpressionForGuest(int customerId,
int expressionId,
java.lang.String expressionName)
Look at getExpression(String sessionId, int expressionId, String expressionName)
|
protected void |
setExpressionCriteriaWithStandardAttributes(KKCriteria c)
Common code to avoid duplication which sets up the standard attributes for Expressions on the
criteria object
|
protected void |
setExpressionVariableCriteriaWithStandardAttributes(KKCriteria c,
int customerId,
boolean getValue)
Common code to avoid duplication which sets up the standard attributes for Expression
Variables on the criteria object
|
protected void |
updateNumVariables(int ExpressionId,
int numVariables)
Update the number of variables attribute for the Expression
|
addToCustomerTag, addToCustomerTag, addToCustomerTag, addToCustomerTagForGuest, checkNegativeCustId, deleteCustomerTag, deleteCustomerTag, deleteCustomerTagForGuest, getCustomerTag, getCustomerTag, getCustomerTagForGuest, getCustomerTags, getCustomerTags, getCustomerTagsForGuest, getCustomerTagValue, getCustomerTagValue, getCustomerTagValueForGuest, insertCustomerTag, insertCustomerTag, insertCustomerTagForGuest, setTagCriteriaWithStandardAttributesacquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToCustomerTag, addToCustomerTag, addToCustomerTagForGuest, deleteCustomerTag, deleteCustomerTagForGuest, getCustomerTag, getCustomerTag, getCustomerTagForGuest, getCustomerTags, getCustomerTags, getCustomerTagsForGuest, getCustomerTagValue, getCustomerTagValue, getCustomerTagValueForGuest, insertCustomerTag, insertCustomerTag, insertCustomerTagForGuestpublic CustomerTagMgrEE(KKEngIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic boolean evaluateExpression(java.lang.String sessionId,
int expressionId,
java.lang.String expressionName)
throws java.lang.Exception
sessionId. If the expressionName parameter is not set to
null, then the Expression is searched for by name. Otherwise it is searched for by the id
contained in the expressionId parameter.evaluateExpression in interface CustomerTagMgrIfevaluateExpression in class CustomerTagMgrsessionId - the sessionIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionpublic boolean evaluateExpressionForGuest(int customerId,
int expressionId,
java.lang.String expressionName)
throws java.lang.Exception
evaluateExpressionForGuest in interface CustomerTagMgrIfevaluateExpressionForGuest in class CustomerTagMgrcustomerId - the customerIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionpublic boolean evaluateExpression(int customerId,
int expressionId,
java.lang.String expressionName)
throws java.lang.Exception
evaluateExpression in interface CustomerTagMgrIfevaluateExpression in class CustomerTagMgrcustomerId - the customerIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionpublic ExpressionIf getExpression(java.lang.String sessionId, int expressionId, java.lang.String expressionName) throws java.lang.Exception
expressionName parameter is not set to null, then the Expression is searched
for by name. Otherwise it is searched for by the id contained in the
expressionId parameter. If the sessionId parameter is null we get
the expression variables without any customer tag values. Otherwise the expression variables
will be populated with the customer tag values for the customer referenced by
sessionId. othergetExpression in interface CustomerTagMgrIfgetExpression in class CustomerTagMgrsessionId - the sessionIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionpublic ExpressionIf getExpressionForGuest(int customerId, int expressionId, java.lang.String expressionName) throws java.lang.Exception
getExpressionForGuest in interface CustomerTagMgrIfgetExpressionForGuest in class CustomerTagMgrcustomerId - the customerIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionpublic ExpressionIf getExpression(int customerId, int expressionId, java.lang.String expressionName) throws java.lang.Exception
getExpression in interface CustomerTagMgrIfgetExpression in class CustomerTagMgrcustomerId - the customerIdexpressionId - the expressionIdexpressionName - the expressionNamejava.lang.Exception - an unexpected exceptionprotected void updateNumVariables(int ExpressionId,
int numVariables)
throws org.apache.torque.TorqueException,
com.konakart.app.KKException
updateNumVariables in class CustomerTagMgrExpressionId - the ExpressionIdnumVariables - the numVariablesorg.apache.torque.TorqueException - an unexpected exception in Torque (the database layer)com.konakart.app.KKException - an unexpected KKException exceptionprotected void setExpressionCriteriaWithStandardAttributes(KKCriteria c)
setExpressionCriteriaWithStandardAttributes in class CustomerTagMgrc - criteria objectprotected void setExpressionVariableCriteriaWithStandardAttributes(KKCriteria c, int customerId, boolean getValue)
setExpressionVariableCriteriaWithStandardAttributes in class CustomerTagMgrc - criteria objectcustomerId - customer IdgetValue - when true join with customer to tag table to get valueCopyright © 2018 DS Data Systems UK Ltd.