com.konakart.blif
Interface CookieMgrIf

All Known Implementing Classes:
CookieMgr

public interface CookieMgrIf

CookieMgrIf Interface which an implementation of this manager must adhere to.


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.
 

Method Detail

setCookie

void setCookie(KKCookieIf cookie)
               throws org.apache.torque.TorqueException,
                      KKException,
                      com.workingdogs.village.DataSetException
Saves the cookie in the database. If it already exists, it is edited. The cookie object passed in as a parameter must have the following attributes set:

Parameters:
cookie -
Throws:
org.apache.torque.TorqueException
KKException
com.workingdogs.village.DataSetException

getCookie

KKCookie getCookie(java.lang.String customerUuid,
                   java.lang.String attrId)
                   throws com.workingdogs.village.DataSetException,
                          KKException,
                          org.apache.torque.TorqueException
Fetches the cookie object from the database that is referenced by the customerUuid and attrId parameters.

Parameters:
customerUuid -
attrId -
Returns:
Returns a KKCookie object
Throws:
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueException

getAllCookies

KKCookie[] getAllCookies(java.lang.String customerUuid)
                         throws com.workingdogs.village.DataSetException,
                                KKException,
                                org.apache.torque.TorqueException
Fetches all of the cookie object from the database that are referenced by the customerUuid parameter.

Parameters:
customerUuid -
Returns:
Returns an array of KKCookie objects
Throws:
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueException

deleteCookie

void deleteCookie(java.lang.String customerUuid,
                  java.lang.String attrId)
                  throws com.workingdogs.village.DataSetException,
                         KKException,
                         org.apache.torque.TorqueException
Deletes the cookie object from the database that is referenced by the customerUuid and attrId parameters.

Parameters:
customerUuid -
attrId -
Throws:
com.workingdogs.village.DataSetException
KKException
org.apache.torque.TorqueException


Copyright © 2011 DS Data Systems UK Ltd.