com.konakart.rmi.app
Class S_KKCookie

java.lang.Object
  extended by com.konakart.rmi.app.S_KKCookie
All Implemented Interfaces:
java.io.Serializable

public class S_KKCookie
extends java.lang.Object
implements java.io.Serializable

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.

See Also:
Serialized Form

Constructor Summary
S_KKCookie()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_KKCookie

public S_KKCookie()
Method Detail

getCustomerUuid

public 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

public 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

public 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

public 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

public 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

public 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

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

Returns:
the dateAdded

setDateAdded

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

Parameters:
_dateAdded - the dateAdded to set

getLastModified

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

Returns:
the lastModified

setLastModified

public 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.