com.hyper9.vangaea.types.beans.admin
Interface AuthCookieBean

All Superinterfaces:
AdminBean, com.hyper9.common.beans.Bean, java.io.Serializable, com.hyper9.common.beans.UniqueBean<java.lang.Integer>
All Known Implementing Classes:
AuthCookieBeanImpl

public interface AuthCookieBean
extends AdminBean

A bean describing a row in the tbl_auth_cookies table.

Author:
akutz

Method Summary
 java.lang.String getCookieValue()
          Gets the cookie's value.
 java.util.Date getCreated()
          Gets the date and time this cookie was created.
 UserBean getUser()
          Gets the user this cookie is for.
 int getUserID()
          Gets the identifier of the user this cookie is for.
 void setCookieValue(java.lang.String toSet)
          Sets the cookie's value.
 void setCreated(java.util.Date toSet)
          Sets the date and time this cookie was created.
 void setUserID(int toSet)
          Sets the identifier of the user this cookie is for.
 
Methods inherited from interface com.hyper9.vangaea.types.beans.admin.AdminBean
getConnection, isDeleted, isDirty
 
Methods inherited from interface com.hyper9.common.beans.UniqueBean
getID, setID
 
Methods inherited from interface com.hyper9.common.beans.Bean
toString, toString, toString, toString
 

Method Detail

getCookieValue

java.lang.String getCookieValue()
Gets the cookie's value.

Returns:
The cookie's value.

setCookieValue

void setCookieValue(java.lang.String toSet)
Sets the cookie's value.

Parameters:
toSet - The cookie's value.

getUserID

int getUserID()
Gets the identifier of the user this cookie is for.

Returns:
The identifier of the user this cookie is for.

setUserID

void setUserID(int toSet)
Sets the identifier of the user this cookie is for.

Parameters:
toSet - The identifier of the user this cookie is for.

getCreated

java.util.Date getCreated()
Gets the date and time this cookie was created.

Returns:
The date and time this cookie was created.

setCreated

void setCreated(java.util.Date toSet)
Sets the date and time this cookie was created.

Parameters:
toSet - The date and time this cookie was created.

getUser

UserBean getUser()
                 throws java.lang.Exception
Gets the user this cookie is for.

Returns:
The user this cookie is for.
Throws:
java.lang.Exception - When an error occurs.


Copyright © 2009 Hyper9. All Rights Reserved.