public class

UserAccountImpl

extends Object
implements Serializable UserAccount JPAEntity
java.lang.Object
   ↳ vars.jpa.UserAccountImpl

Class Overview

Class description

Summary

[Expand]
Inherited Constants
From interface vars.UserAccount
Public Constructors
UserAccountImpl()
Public Methods
boolean authenticate(String unencryptedPassword)
boolean equals(Object obj)
String getAffiliation()
String getEmail()
String getFirstName()
Long getId()
String getLastName()
String getPassword()
Gets the password for this UserAccount.
Object getPrimaryKey()
String getRole()
Gets the KB Maint Role for this UserAccount.
String getUserName()
Gets the user name for this UserAccount.
int hashCode()
boolean isAdministrator()
boolean isMaintainer()
boolean isReadOnly()
void setAffiliation(String affiliation)
void setEmail(String email)
void setFirstName(String firstName)
void setId(Long id)
void setLastName(String lastName)
void setPassword(String unencryptedPassword)
Sets the password for this UserAccount.
void setRole(String role)
Sets the permissible Role for this UserAccount.
void setUserName(String userName)
Sets the username for this UserAccount.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface vars.UserAccount
From interface vars.VARSObject
From interface vars.jpa.JPAEntity

Public Constructors

public UserAccountImpl ()

Public Methods

public boolean authenticate (String unencryptedPassword)

public boolean equals (Object obj)

public String getAffiliation ()

public String getEmail ()

public String getFirstName ()

public Long getId ()

public String getLastName ()

public String getPassword ()

Gets the password for this UserAccount.

Returns
  • The password for this UserAccount.

public Object getPrimaryKey ()

public String getRole ()

Gets the KB Maint Role for this UserAccount.

Returns
  • The KB Maint Role for this UserAccount.

public String getUserName ()

Gets the user name for this UserAccount.

Returns
  • The user name for this UserAccount.

public int hashCode ()

public boolean isAdministrator ()

public boolean isMaintainer ()

public boolean isReadOnly ()

public void setAffiliation (String affiliation)

public void setEmail (String email)

public void setFirstName (String firstName)

public void setId (Long id)

public void setLastName (String lastName)

public void setPassword (String unencryptedPassword)

Sets the password for this UserAccount.

Parameters
unencryptedPassword The password for this UserAccount. Implementations of this method should encrypt the passwrd

public void setRole (String role)

Sets the permissible Role for this UserAccount.

Parameters
role The role to set.

public void setUserName (String userName)

Sets the username for this UserAccount.

Parameters
userName The new userName value

public String toString ()