com.atlassian.bamboo.user
Interface BambooUser

All Superinterfaces:
com.atlassian.user.Entity, java.security.Principal, java.io.Serializable, com.atlassian.user.User, org.acegisecurity.userdetails.UserDetails
All Known Implementing Classes:
BambooUserForMigration, DefaultBambooUser

public interface BambooUser
extends com.atlassian.user.User, org.acegisecurity.userdetails.UserDetails

An extension to Atlassian user's User interface to define extra properties for the user


Field Summary
static java.lang.String BOTH_PREF
           
static java.lang.String DEFAULT_IDE_PORT
           
static java.lang.String DEFAULT_NOTIFICATION_PREFERENCE
           
static java.lang.String DEFAULT_TRANSPORT_PREFERENCE
           
static java.lang.String EMAIL_PREF
           
static java.lang.String IM_PREF
           
static java.lang.String MULTIPART_EMAIL
           
static java.lang.String NONE_PREF
           
static java.lang.String TEXT_EMAIL
           
 
Method Summary
 java.lang.String getIdePort()
          Returns the port the user has configured for direct click through to their IDE
 java.lang.String getJabberAddress()
          Returns the user's jabber address for IMs
 java.lang.String getNotificationPreference()
          Returns the user's preferences for how they receive notifications
 java.lang.String getNotificationTransportPreference()
          Returns the user's preference for the format of emails
 com.atlassian.user.User getUser()
          Returns the user, which contains the user's details
 
Methods inherited from interface com.atlassian.user.User
getEmail, getFullName, setEmail, setFullName, setPassword
 
Methods inherited from interface com.atlassian.user.Entity
getName
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Field Detail

EMAIL_PREF

static final java.lang.String EMAIL_PREF
See Also:
Constant Field Values

IM_PREF

static final java.lang.String IM_PREF
See Also:
Constant Field Values

NONE_PREF

static final java.lang.String NONE_PREF
See Also:
Constant Field Values

BOTH_PREF

static final java.lang.String BOTH_PREF
See Also:
Constant Field Values

TEXT_EMAIL

static final java.lang.String TEXT_EMAIL
See Also:
Constant Field Values

MULTIPART_EMAIL

static final java.lang.String MULTIPART_EMAIL
See Also:
Constant Field Values

DEFAULT_NOTIFICATION_PREFERENCE

static final java.lang.String DEFAULT_NOTIFICATION_PREFERENCE
See Also:
Constant Field Values

DEFAULT_TRANSPORT_PREFERENCE

static final java.lang.String DEFAULT_TRANSPORT_PREFERENCE
See Also:
Constant Field Values

DEFAULT_IDE_PORT

static final java.lang.String DEFAULT_IDE_PORT
See Also:
Constant Field Values
Method Detail

getJabberAddress

java.lang.String getJabberAddress()
Returns the user's jabber address for IMs

Returns:
jabber address.

getUser

com.atlassian.user.User getUser()
Returns the user, which contains the user's details

Returns:
user.

getNotificationPreference

java.lang.String getNotificationPreference()
Returns the user's preferences for how they receive notifications

Returns:
notification preference.

getNotificationTransportPreference

java.lang.String getNotificationTransportPreference()
Returns the user's preference for the format of emails

Returns:
notification transport preference.

getIdePort

java.lang.String getIdePort()
Returns the port the user has configured for direct click through to their IDE

Returns:
IDE port number


Copyright © 2012 Atlassian. All Rights Reserved.