com.jaspersoft.jasperserver.api.metadata.user.domain.client
Class UserImpl
java.lang.Object
com.jaspersoft.jasperserver.api.metadata.user.domain.client.UserImpl
- All Implemented Interfaces:
- AttributedObject, User, java.io.Serializable
public class UserImpl
- extends java.lang.Object
- implements User, java.io.Serializable
- Author:
- swood
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UserImpl
public UserImpl()
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interface User
- Returns:
- Returns the username.
(non-Javadoc)
- See Also:
User.getUsername()
setUsername
public void setUsername(java.lang.String newUsername)
- Specified by:
setUsername
in interface User
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName
in interface User
- Returns:
- Returns the fullName.
(non-Javadoc)
- See Also:
User.getFullName()
setFullName
public void setFullName(java.lang.String fullName)
- Specified by:
setFullName
in interface User
- Parameters:
fullName
- The fullName to set.
getPassword
public java.lang.String getPassword()
- (non-Javadoc)
- Specified by:
getPassword
in interface User
- Returns:
- See Also:
UserDetails.getPassword()
setPassword
public void setPassword(java.lang.String password)
- Specified by:
setPassword
in interface User
- Parameters:
password
- The password to set.
getEmailAddress
public java.lang.String getEmailAddress()
- Specified by:
getEmailAddress
in interface User
- Returns:
- Returns the emailAddress.
setEmailAddress
public void setEmailAddress(java.lang.String emailAddress)
- Specified by:
setEmailAddress
in interface User
- Parameters:
emailAddress
- The emailAddress to set.
getRoles
public java.util.Set getRoles()
- Specified by:
getRoles
in interface User
- Returns:
- Set
setRoles
public void setRoles(java.util.Set newRoleSet)
- Specified by:
setRoles
in interface User
addRole
public void addRole(Role newRole)
- Specified by:
addRole
in interface User
removeRole
public void removeRole(Role removedRole)
- Specified by:
removeRole
in interface User
getAttributes
public java.util.List getAttributes()
- Specified by:
getAttributes
in interface AttributedObject
- Returns:
- List of Attributes for the object
setAttributes
public void setAttributes(java.util.List attrs)
- Specified by:
setAttributes
in interface AttributedObject
isExternallyDefined
public boolean isExternallyDefined()
- Specified by:
isExternallyDefined
in interface User
setExternallyDefined
public void setExternallyDefined(boolean externallyDefined)
- Specified by:
setExternallyDefined
in interface User
isEnabled
public boolean isEnabled()
- (non-Javadoc)
- Specified by:
isEnabled
in interface User
- See Also:
UserDetails.isEnabled()
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface User
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2007. All Rights Reserved.