|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.usecases.model.minimal.MinimalUser
public class MinimalUser
Minimal implementation of User
with no persistence support.
Constructor Summary | |
---|---|
MinimalUser()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinimalUser()
Method Detail |
---|
public int[] getCategories()
User
Return the category identifiers of the message categories selected by this user.
getCategories
in interface User
public void setCategories(int[] categories)
User
Set the category identifiers of the message categories selected by this user.
setCategories
in interface User
categories
- The new category identifierspublic boolean isConfirmed()
User
Return the flag indicating that this user's email address has been confirmed.
isConfirmed
in interface User
public void setConfirmed(boolean confirmed)
User
Set the flag indicating that this user's email address has been confirmed.
setConfirmed
in interface User
confirmed
- The new confirmed flagpublic Date getCreated()
User
Return the "initially created" timestamp for this user.
getCreated
in interface User
public void setCreated(Date created)
User
Set the "initially created" timestamp for this user.
setCreated
in interface User
created
- The new initially created timestamppublic String getEmailAddress()
User
Return the email address of this user.
getEmailAddress
in interface User
public void setEmailAddress(String emailAddress)
User
Set the email address of this user.
setEmailAddress
in interface User
emailAddress
- The new email addresspublic String getFullName()
User
Return the full name of this user.
getFullName
in interface User
public void setFullName(String fullName)
User
Set the full name of this user.
setFullName
in interface User
fullName
- The new full namepublic int getId()
User
Return the primary key for this user.
getId
in interface User
public void setId(int id)
User
Set the primary key for this user.
setId
in interface User
id
- The new primary keypublic String getPassword()
User
Return the password of this user.
getPassword
in interface User
public void setPassword(String password)
User
Set the password of this user.
setPassword
in interface User
password
- The new passwordpublic Date getUpdated()
User
Return the "last updated" timestamp for this user.
getUpdated
in interface User
public void setUpdated(Date updated)
User
Set the "last updated" timestamp for this user.
setUpdated
in interface User
updated
- The new last updated timestamppublic String getUsername()
User
Return the username of this user.
getUsername
in interface User
public void setUsername(String username)
User
Set the username of this user.
setUsername
in interface User
username
- The new username
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |