org.openwms.core.domain.system.usermanagement
Class UserDetails

java.lang.Object
  extended by org.openwms.core.domain.system.usermanagement.UserDetails
All Implemented Interfaces:
Serializable, ImageProvider

public class UserDetails
extends Object
implements ImageProvider, Serializable

Detailed information about an User.

Since:
0.1
Version:
$Revision: 1583 $
Author:
Heiko Scherrer
See Also:
User, Serialized Form

Nested Class Summary
static class UserDetails.SEX
          The Users sex.
 
Constructor Summary
UserDetails()
          Create a new UserDetails instance.
 
Method Summary
 String getComment()
          Return a comment text of the User.
 String getDepartment()
          Return the current department of the User.
 String getDescription()
          Return the description text of the User.
 byte[] getImage()
          Return the image of the User.
 String getOffice()
          Return the current office of the User.
 String getPhoneNo()
          Return the Users current phone number.
 UserDetails.SEX getSex()
          Return the User's sex.
 String getSkypeName()
          Return the IM account name of the User.
 void setComment(String comment)
          Change the comment text of the User.
 void setDepartment(String department)
          Change the current department of the User.
 void setDescription(String description)
          Change the description text of the User.
 void setImage(byte[] image)
          Change the image of the User.
 void setOffice(String office)
          Change the current office of the User.
 void setPhoneNo(String phoneNo)
          Change the phone number of the User.
 void setSex(UserDetails.SEX sex)
          Change the User's sex (only for compliance).
 void setSkypeName(String skypeName)
          Change the current IM account name of the User.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDetails

public UserDetails()
Create a new UserDetails instance.

Method Detail

getPhoneNo

public String getPhoneNo()
Return the Users current phone number.

Returns:
The phone number

setPhoneNo

public void setPhoneNo(String phoneNo)
Change the phone number of the User.

Parameters:
phoneNo - The new phone number

getDescription

public String getDescription()
Return the description text of the User.

Returns:
The description

setDescription

public void setDescription(String description)
Change the description text of the User.

Parameters:
description - The new description

getComment

public String getComment()
Return a comment text of the User.

Returns:
The comment text

setComment

public void setComment(String comment)
Change the comment text of the User.

Parameters:
comment - The new comment text

getOffice

public String getOffice()
Return the current office of the User.

Returns:
The current office.

setOffice

public void setOffice(String office)
Change the current office of the User.

Parameters:
office - The new office

getSkypeName

public String getSkypeName()
Return the IM account name of the User.

Returns:
The current IM account name

setSkypeName

public void setSkypeName(String skypeName)
Change the current IM account name of the User.

Parameters:
skypeName - The new IM account name

getDepartment

public String getDepartment()
Return the current department of the User.

Returns:
The current department

setDepartment

public void setDepartment(String department)
Change the current department of the User.

Parameters:
department - The new department

getImage

public byte[] getImage()
Return the image of the User.

Specified by:
getImage in interface ImageProvider
Returns:
The current image

setImage

public void setImage(byte[] image)
Change the image of the User.

Specified by:
setImage in interface ImageProvider
Parameters:
image - The new image to set

getSex

public UserDetails.SEX getSex()
Return the User's sex.

Returns:
The User's sex

setSex

public void setSex(UserDetails.SEX sex)
Change the User's sex (only for compliance).

Parameters:
sex - The new sex


Copyright © 2005-2011 openwms.org. All Rights Reserved.