com.hyper9.simdk.db.types
Interface User

All Superinterfaces:
Serializable
All Known Implementing Classes:
UserImpl

public interface User
extends Serializable

A User.

Author:
akutz

Method Summary
 String getMD5PassphraseHash()
          Gets the MD5-encoded passphrase hash.
 List<Role> getRoles()
          Gets a list of this user's roles.
 String getUserName()
          Gets the the user name.
 void setMD5PassphraseHash(String toSet)
          Sets the MD5-encoded passphrase hash.
 void setRoles(List<Role> toSet)
          Sets a list of this user's roles.
 void setUserName(String toSet)
          Gets the user name.
 

Method Detail

setUserName

void setUserName(String toSet)
Gets the user name.

Parameters:
userName - The the user name.

getUserName

String getUserName()
Gets the the user name.

Returns:
The the user name.

getMD5PassphraseHash

String getMD5PassphraseHash()
Gets the MD5-encoded passphrase hash.

Returns:
The MD5-encoded passphrase hash.

setMD5PassphraseHash

void setMD5PassphraseHash(String toSet)
Sets the MD5-encoded passphrase hash.

Parameters:
toSet - The MD5-encoded passphrase hash.

getRoles

List<Role> getRoles()
Gets a list of this user's roles.

Returns:
A list of this user's roles.

setRoles

void setRoles(List<Role> toSet)
Sets a list of this user's roles.

Parameters:
toSet - A list of this user's roles.


Copyright © 2009-2010 Hyper9. All Rights Reserved.