@Named(value="userPlayer") @RequestScoped public class UserPlayerController extends Object
| Constructor and Description |
|---|
UserPlayerController() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAvatar()
Gets the avatar
|
String |
getContactEmail()
Gets the contact mail
|
String |
getFavouriteSports()
Gets the favourite sports
|
String |
getFavouriteTeams()
Gets the favourite teams
|
String |
getFullname()
Gets the full name
|
String |
getInterests()
Gets the interests
|
String |
getLastname()
Gets the last name
|
String |
getLocation()
Gets the location
|
String |
getName()
Gets the name
|
String |
getNick()
Gets the nick
|
String |
getProvince()
Gets the province
|
String |
read() |
String |
save()
Saves the info of user player
|
void |
setAvatar(byte[] avatar)
Sets the avatar
|
void |
setContactEmail(String contactEmail)
Sets the contact mail
|
void |
setFavouriteSports(String favouriteSports)
Sets the favourite sports
|
void |
setFavouriteTeams(String favouriteTeams)
Sets the favourite teams
|
void |
setFullname(String fullname)
Sets the fullname
|
void |
setInterests(String interests)
Sets the interests
|
void |
setLastname(String lastname)
Sets the last name
|
void |
setLocation(String location)
Sets the location
|
void |
setName(String name)
Sets the name
|
void |
setNick(String nick)
Sets the nick
|
void |
setProvince(String province)
Sets the province
|
public String getFullname()
public void setFullname(String fullname)
fullname - The new fullnamepublic String getName()
public void setName(String name)
name - The new namepublic String getLastname()
public void setLastname(String lastname)
lastname - The new last namepublic String getNick()
public void setNick(String nick)
nick - The new nickpublic byte[] getAvatar()
public void setAvatar(byte[] avatar)
avatar - The new avatarpublic String getContactEmail()
public void setContactEmail(String contactEmail)
contactEmail - The new contact mailpublic String getProvince()
public void setProvince(String province)
province - The new provincepublic String getLocation()
public void setLocation(String location)
location - The new locationpublic String getFavouriteSports()
public void setFavouriteSports(String favouriteSports)
favouriteSports - The new favourite sportspublic String getFavouriteTeams()
public void setFavouriteTeams(String favouriteTeams)
favouriteTeams - The new favourite teamspublic String getInterests()
public void setInterests(String interests)
interests - The interestspublic String read()
public String save() throws javax.mail.internet.AddressException
javax.mail.internet.AddressExceptionCopyright © 2018. All rights reserved.