|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.al.BaseMgr
com.konakart.al.CustomerTagMgr
public class CustomerTagMgr
Contains methods to manage Customer Tags
Field Summary |
---|
Fields inherited from class com.konakart.al.BaseMgr |
---|
eng, kkAppEng |
Constructor Summary | |
---|---|
protected |
CustomerTagMgr(com.konakart.appif.KKEngIf eng,
KKAppEng kkAppEng)
Constructor |
Method Summary | |
---|---|
void |
addToCustomerTag(java.lang.String tagName,
int tagValue)
Adds the tagValue for the tag called tagName for the logged in
customer or guest customer. |
boolean |
evaluateExpression(int expressionId,
java.lang.String expressionName)
An expression object is retrieved from the database and evaluated for the logged in customer or guest customer. |
com.konakart.appif.CustomerTagIf |
getCustomerTag(java.lang.String tagName)
A CustomerTag object is returned containing the value of the customer tag referenced by the parameter tagName for the logged in customer or guest customer. |
java.lang.String |
getCustomerTagValue(java.lang.String tagName)
A string is returned containing the value of the customer tag referenced by the parameter tagName for the logged in customer or guest customer. |
void |
insertCustomerTag(com.konakart.app.CustomerTag tag)
Sets the tag for the logged in customer or guest customer. |
void |
insertCustomerTag(java.lang.String tagName,
java.lang.String tagValue)
Sets the tagValue for the tag called tagName for the logged in
customer or guest customer. |
boolean |
isEnabled()
Based on a configuration variable decides whether Customer Tags are enabled. |
Methods inherited from class com.konakart.al.BaseMgr |
---|
getEng, getKkAppEng, getPages, isMgrReady, setEng, setKkAppEng |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CustomerTagMgr(com.konakart.appif.KKEngIf eng, KKAppEng kkAppEng) throws com.konakart.app.KKException
eng
- kkAppEng
-
com.konakart.app.KKException
Method Detail |
---|
public void insertCustomerTag(java.lang.String tagName, java.lang.String tagValue) throws KKAppException, com.konakart.app.KKException
tagValue
for the tag called tagName
for the logged in
customer or guest customer.
tagName
- The name of the customer tagtagValue
- The value of the customer tag for this customer
KKAppException
com.konakart.app.KKException
public void insertCustomerTag(com.konakart.app.CustomerTag tag) throws KKAppException, com.konakart.app.KKException
tag
for the logged in customer or guest customer.
tag
- The customer tag with populated tagName and tagValue attributes
KKAppException
com.konakart.app.KKException
public void addToCustomerTag(java.lang.String tagName, int tagValue) throws KKAppException, com.konakart.app.KKException
tagValue
for the tag called tagName
for the logged in
customer or guest customer. This is only valid for customer tags of type
com.konakart.app.CustomerTag.MULTI_INT_TYPE
.
tagName
- The name of the customer tagtagValue
- The value of the customer tag for this customer
KKAppException
com.konakart.app.KKException
public boolean evaluateExpression(int expressionId, java.lang.String expressionName) throws KKAppException, com.konakart.app.KKException
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.
expressionId
- expressionName
-
KKAppException
com.konakart.app.KKException
public java.lang.String getCustomerTagValue(java.lang.String tagName) throws KKAppException, com.konakart.app.KKException
tagName
for the logged in customer or guest customer.
tagName
- The name of the customer tag
KKAppException
com.konakart.app.KKException
public com.konakart.appif.CustomerTagIf getCustomerTag(java.lang.String tagName) throws KKAppException, com.konakart.app.KKException
tagName
for the logged in customer or guest customer.
tagName
- The name of the customer tag
KKAppException
com.konakart.app.KKException
public boolean isEnabled() throws KKAppException
KKAppException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |