|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.bl.BaseMgr
com.konakart.bl.CookieMgr
public class CookieMgr
Manager that contains code for reading and writing KonaKart cookies.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log |
| Fields inherited from class com.konakart.bl.BaseMgr |
|---|
templateBaseDir |
| Constructor Summary | |
|---|---|
CookieMgr(KKEngIf eng)
Constructor |
|
| Method Summary | |
|---|---|
void |
deleteCookie(java.lang.String customerUuid,
java.lang.String attrId)
Deletes the cookie object from the database that is referenced by the customerUuid and attrId parameters. |
KKCookie[] |
getAllCookies(java.lang.String customerUuid)
Fetches all of the cookie object from the database that are referenced by the customerUuid parameter. |
KKCookie |
getCookie(java.lang.String customerUuid,
java.lang.String attrId)
Fetches the cookie object from the database that is referenced by the customerUuid and attrId parameters. |
void |
setCookie(KKCookieIf cookie)
Saves the cookie in the database. |
protected void |
setCriteriaWithStandardAttributes(KKCriteria c)
Put this code in one place |
protected void |
updateLastReadDate(KKCookieIf cookie)
Update the last read date when a cookie is read. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public CookieMgr(KKEngIf eng)
throws java.lang.Exception
eng -
java.lang.Exception| Method Detail |
|---|
public void setCookie(KKCookieIf cookie)
throws org.apache.torque.TorqueException,
KKException,
com.workingdogs.village.DataSetException
setCookie in interface CookieMgrIfcookie -
org.apache.torque.TorqueException
KKException
com.workingdogs.village.DataSetException
public KKCookie getCookie(java.lang.String customerUuid,
java.lang.String attrId)
throws com.workingdogs.village.DataSetException,
KKException,
org.apache.torque.TorqueException
getCookie in interface CookieMgrIfcustomerUuid - attrId -
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueException
public KKCookie[] getAllCookies(java.lang.String customerUuid)
throws com.workingdogs.village.DataSetException,
KKException,
org.apache.torque.TorqueException
getAllCookies in interface CookieMgrIfcustomerUuid -
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueException
public void deleteCookie(java.lang.String customerUuid,
java.lang.String attrId)
throws com.workingdogs.village.DataSetException,
KKException,
org.apache.torque.TorqueException
deleteCookie in interface CookieMgrIfcustomerUuid - attrId -
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueExceptionprotected void setCriteriaWithStandardAttributes(KKCriteria c)
protected void updateLastReadDate(KKCookieIf cookie)
throws org.apache.torque.TorqueException,
KKException,
com.workingdogs.village.DataSetException
cookie -
org.apache.torque.TorqueException
KKException
com.workingdogs.village.DataSetException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||