com.konakart.app
Class SSOToken

java.lang.Object
  extended by com.konakart.app.SSOToken
All Implemented Interfaces:
SSOTokenIf

public class SSOToken
extends java.lang.Object
implements SSOTokenIf

The SSOToken class contains information to facilitate the transfer of session information when accessing a KonaKart application from multiple sources.


Constructor Summary
SSOToken()
          Constructor
SSOToken(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the SSOToken object from a Record object
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 int getCustomerId()
           
 java.util.Calendar getDateAdded()
           
 int getId()
           
 java.lang.String getSecretKey()
           
 java.lang.String getSessionId()
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setCustomerId(int customerId)
           
 void setDateAdded(java.util.Calendar dateAdded)
           
 void setId(int id)
           
 void setSecretKey(java.lang.String secretKey)
           
 void setSessionId(java.lang.String sessionId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSOToken

public SSOToken()
Constructor


SSOToken

public SSOToken(com.workingdogs.village.Record vr,
                org.apache.torque.util.Criteria c)
         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the SSOToken object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the SSOToken object.

getId

public int getId()
Specified by:
getId in interface SSOTokenIf
Returns:
the id

setId

public void setId(int id)
Specified by:
setId in interface SSOTokenIf
Parameters:
id - the id to set

getCustomerId

public int getCustomerId()
Specified by:
getCustomerId in interface SSOTokenIf
Returns:
the customerId

setCustomerId

public void setCustomerId(int customerId)
Specified by:
setCustomerId in interface SSOTokenIf
Parameters:
customerId - the customerId to set

getSecretKey

public java.lang.String getSecretKey()
Specified by:
getSecretKey in interface SSOTokenIf
Returns:
the secretKey

setSecretKey

public void setSecretKey(java.lang.String secretKey)
Specified by:
setSecretKey in interface SSOTokenIf
Parameters:
secretKey - the secretKey to set

getSessionId

public java.lang.String getSessionId()
Specified by:
getSessionId in interface SSOTokenIf
Returns:
the sessionId

setSessionId

public void setSessionId(java.lang.String sessionId)
Specified by:
setSessionId in interface SSOTokenIf
Parameters:
sessionId - the sessionId to set

getDateAdded

public java.util.Calendar getDateAdded()
Specified by:
getDateAdded in interface SSOTokenIf
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Specified by:
setDateAdded in interface SSOTokenIf
Parameters:
dateAdded - the dateAdded to set

getCustom1

public java.lang.String getCustom1()
Specified by:
getCustom1 in interface SSOTokenIf
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String custom1)
Specified by:
setCustom1 in interface SSOTokenIf
Parameters:
custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Specified by:
getCustom2 in interface SSOTokenIf
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String custom2)
Specified by:
setCustom2 in interface SSOTokenIf
Parameters:
custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Specified by:
getCustom3 in interface SSOTokenIf
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String custom3)
Specified by:
setCustom3 in interface SSOTokenIf
Parameters:
custom3 - the custom3 to set


Copyright © 2011 DS Data Systems UK Ltd.