com.atlassian.bamboo.user
Class BambooUserForMigration
java.lang.Object
com.atlassian.bamboo.user.BambooUserForMigration
- All Implemented Interfaces:
- BambooUser, com.atlassian.user.Entity, com.atlassian.user.User, java.io.Serializable, java.security.Principal, org.acegisecurity.userdetails.UserDetails
public class BambooUserForMigration
- extends java.lang.Object
- implements BambooUser
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
BambooUserForMigration
public BambooUserForMigration()
getName
public java.lang.String getName()
- Specified by:
getName
in interface com.atlassian.user.Entity
- Specified by:
getName
in interface java.security.Principal
setName
public void setName(java.lang.String name)
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName
in interface com.atlassian.user.User
setFullName
public void setFullName(java.lang.String fullName)
- Specified by:
setFullName
in interface com.atlassian.user.User
getEmail
public java.lang.String getEmail()
- Specified by:
getEmail
in interface com.atlassian.user.User
setEmail
public void setEmail(java.lang.String email)
- Specified by:
setEmail
in interface com.atlassian.user.User
getJabberAddress
public java.lang.String getJabberAddress()
- Description copied from interface:
BambooUser
- Returns the user's jabber address for IMs
- Specified by:
getJabberAddress
in interface BambooUser
- Returns:
- jabber address.
setJabberAddress
public void setJabberAddress(java.lang.String jabberAddress)
getNotificationPreference
public java.lang.String getNotificationPreference()
- Description copied from interface:
BambooUser
- Returns the user's preferences for how they receive notifications
- Specified by:
getNotificationPreference
in interface BambooUser
- Returns:
- notification preference.
setNotificationPreference
public void setNotificationPreference(java.lang.String notificationPreference)
getNotificationTransportPreference
public java.lang.String getNotificationTransportPreference()
- Description copied from interface:
BambooUser
- Returns the user's preference for the format of emails
- Specified by:
getNotificationTransportPreference
in interface BambooUser
- Returns:
- notification transport preference.
setNotificationTransportPreference
public void setNotificationTransportPreference(java.lang.String notificationTransportPreference)
getIdePort
public java.lang.String getIdePort()
- Description copied from interface:
BambooUser
- Returns the port the user has configured for direct click through to their IDE
- Specified by:
getIdePort
in interface BambooUser
- Returns:
- IDE port number
setIdePort
public void setIdePort(java.lang.String idePort)
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interface org.acegisecurity.userdetails.UserDetails
setPassword
public void setPassword(java.lang.String password)
- Specified by:
setPassword
in interface com.atlassian.user.User
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interface org.acegisecurity.userdetails.UserDetails
getUser
public com.atlassian.user.User getUser()
- Description copied from interface:
BambooUser
- Returns the user, which contains the user's details
- Specified by:
getUser
in interface BambooUser
- Returns:
- user.
getAuthorities
public org.acegisecurity.GrantedAuthority[] getAuthorities()
- Specified by:
getAuthorities
in interface org.acegisecurity.userdetails.UserDetails
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpired
in interface org.acegisecurity.userdetails.UserDetails
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLocked
in interface org.acegisecurity.userdetails.UserDetails
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpired
in interface org.acegisecurity.userdetails.UserDetails
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface org.acegisecurity.userdetails.UserDetails
Copyright © 2010 Atlassian. All Rights Reserved.