com.konakart.appif
Interface KKCookieIf

All Known Implementing Classes:
KKCookie

public interface KKCookieIf

The KKCookie class is used to store and retrieve information from the KK_Cookie database table. The browser cookie stores a unique key which is then used to look up data stored in the KonaKart database.


Method Summary
 java.lang.String getAttributeId()
          The id of the attribute being stored.
 java.lang.String getAttributeValue()
          The value of the attribute.
 java.lang.String getCustomerUuid()
          A unique key which is stored in the browser cookie.
 java.util.Calendar getDateAdded()
          The date that the cookie was added
 java.util.Calendar getLastModified()
          The last time that the cookie value was modified.
 void setAttributeId(java.lang.String attributeId)
          The id of the attribute being stored.
 void setAttributeValue(java.lang.String attributeValue)
          The value of the attribute.
 void setCustomerUuid(java.lang.String customerUuid)
          A unique key which is stored in the browser cookie.
 void setDateAdded(java.util.Calendar dateAdded)
          The date that the cookie was added
 void setLastModified(java.util.Calendar lastModified)
          The last time that the cookie value was modified.
 

Method Detail

getCustomerUuid

java.lang.String getCustomerUuid()
A unique key which is stored in the browser cookie. Normally a UUID can be used although any key can be used as long as it is unique.

Returns:
the customerUuid

setCustomerUuid

void setCustomerUuid(java.lang.String customerUuid)
A unique key which is stored in the browser cookie. Normally a UUID can be used although any key can be used as long as it is unique.

Parameters:
customerUuid - the customerUuid to set

getAttributeId

java.lang.String getAttributeId()
The id of the attribute being stored. This can be a user defined string such as CUSTOMER_NAME.

Returns:
the attributeId

setAttributeId

void setAttributeId(java.lang.String attributeId)
The id of the attribute being stored. This can be a user defined string such as CUSTOMER_NAME.

Parameters:
attributeId - the attributeId to set

getAttributeValue

java.lang.String getAttributeValue()
The value of the attribute. For example, if the key is CUSTOMER_NAME, the value could be "Joe Bloggs"

Returns:
the attributeValue

setAttributeValue

void setAttributeValue(java.lang.String attributeValue)
The value of the attribute. For example, if the key is CUSTOMER_NAME, the value could be "Joe Bloggs"

Parameters:
attributeValue - the attributeValue to set

getDateAdded

java.util.Calendar getDateAdded()
The date that the cookie was added

Returns:
the dateAdded

setDateAdded

void setDateAdded(java.util.Calendar dateAdded)
The date that the cookie was added

Parameters:
dateAdded - the dateAdded to set

getLastModified

java.util.Calendar getLastModified()
The last time that the cookie value was modified.

Returns:
the lastModified

setLastModified

void setLastModified(java.util.Calendar lastModified)
The last time that the cookie value was modified.

Parameters:
lastModified - the lastModified to set


Copyright © 2011 DS Data Systems UK Ltd.