org.apache.shale.usecases.model
Interface User

All Known Implementing Classes:
MinimalUser

public interface User

Model interface representing a user of the Use Cases application system.

$Id: User.java 464373 2006-10-16 04:21:54Z rahul $


Method Summary
 int[] getCategories()
          Return the category identifiers of the message categories selected by this user.
 Date getCreated()
          Return the "initially created" timestamp for this user.
 String getEmailAddress()
          Return the email address of this user.
 String getFullName()
          Return the full name of this user.
 int getId()
          Return the primary key for this user.
 String getPassword()
          Return the password of this user.
 Date getUpdated()
          Return the "last updated" timestamp for this user.
 String getUsername()
          Return the username of this user.
 boolean isConfirmed()
          Return the flag indicating that this user's email address has been confirmed.
 void setCategories(int[] categories)
          Set the category identifiers of the message categories selected by this user.
 void setConfirmed(boolean confirmed)
          Set the flag indicating that this user's email address has been confirmed.
 void setCreated(Date created)
          Set the "initially created" timestamp for this user.
 void setEmailAddress(String emailAddress)
          Set the email address of this user.
 void setFullName(String fullName)
          Set the full name of this user.
 void setId(int id)
          Set the primary key for this user.
 void setPassword(String password)
          Set the password of this user.
 void setUpdated(Date updated)
          Set the "last updated" timestamp for this user.
 void setUsername(String username)
          Set the username of this user.
 

Method Detail

getCategories

int[] getCategories()

Return the category identifiers of the message categories selected by this user.


setCategories

void setCategories(int[] categories)

Set the category identifiers of the message categories selected by this user.

Parameters:
categories - The new category identifiers

isConfirmed

boolean isConfirmed()

Return the flag indicating that this user's email address has been confirmed.


setConfirmed

void setConfirmed(boolean confirmed)

Set the flag indicating that this user's email address has been confirmed.

Parameters:
confirmed - The new confirmed flag

getCreated

Date getCreated()

Return the "initially created" timestamp for this user.


setCreated

void setCreated(Date created)

Set the "initially created" timestamp for this user.

Parameters:
created - The new initially created timestamp

getEmailAddress

String getEmailAddress()

Return the email address of this user.


setEmailAddress

void setEmailAddress(String emailAddress)

Set the email address of this user.

Parameters:
emailAddress - The new email address

getFullName

String getFullName()

Return the full name of this user.


setFullName

void setFullName(String fullName)

Set the full name of this user.

Parameters:
fullName - The new full name

getId

int getId()

Return the primary key for this user.


setId

void setId(int id)

Set the primary key for this user.

Parameters:
id - The new primary key

getPassword

String getPassword()

Return the password of this user.


setPassword

void setPassword(String password)

Set the password of this user.

Parameters:
password - The new password

getUpdated

Date getUpdated()

Return the "last updated" timestamp for this user.


setUpdated

void setUpdated(Date updated)

Set the "last updated" timestamp for this user.

Parameters:
updated - The new last updated timestamp

getUsername

String getUsername()

Return the username of this user.


setUsername

void setUsername(String username)

Set the username of this user.

Parameters:
username - The new username


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.