|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BambooUserManager
Service class to manage interactions with the user.
| Field Summary | |
|---|---|
static String |
JABBER_ADDRESS_KEY
|
| Method Summary | |
|---|---|
BambooUser |
addUser(String username,
String password,
String email,
String fullName,
String jabberAddress,
List groupNames)
Method that extends the standard addUser methods to also add Bamboo specific params |
BambooUser |
addUser(String username,
String password,
String email,
String fullName,
String jabberAddress,
List groupNames,
ExtendedAuthor author)
Method that extends the standard addUser methods to also add Bamboo specific params |
BambooUser |
getBambooUser(String username)
Returns a BambooUser of the given username |
List |
getGroupNamesAsList(User user)
Returns groups for the User |
List |
getMemberNamesAsList(Group group)
|
BambooUser |
injectUser(String username,
String encryptedPassword,
String email,
String fullName,
String jabberAddress)
A variation of addUser which inserts the encryptedPassword instead - used for importing |
boolean |
isDeletable(User user)
|
void |
saveUser(String username,
String email,
String fullName,
String jabberAddress,
List groupNames)
Saves the properties for the given user |
void |
saveUser(String username,
String email,
String fullName,
String jabberAddress,
List groupNames,
ExtendedAuthor author)
Saves the properties for the given user |
void |
setMembership(Group group,
List members)
Sets a group's members as the passed list |
| Field Detail |
|---|
static final String JABBER_ADDRESS_KEY
| Method Detail |
|---|
BambooUser getBambooUser(String username)
BambooUser of the given username
username -
BambooUser addUser(String username,
String password,
String email,
String fullName,
String jabberAddress,
List groupNames)
username - password - email - fullName - jabberAddress - groupNames - - List of Strings as the group names. May be null.
BambooUser object with the created properties
BambooUser addUser(String username,
String password,
String email,
String fullName,
String jabberAddress,
List groupNames,
ExtendedAuthor author)
username - password - email - fullName - jabberAddress - groupNames - - List of Strings as the group names. May be null.author -
BambooUser object with the created properties
void saveUser(String username,
String email,
String fullName,
String jabberAddress,
List groupNames)
throws IllegalArgumentException
username - email - fullName - jabberAddress - groupNames - - List of Strings as the group names. May be null.
IllegalArgumentException - if ussername does not macth a user
void saveUser(String username,
String email,
String fullName,
String jabberAddress,
List groupNames,
ExtendedAuthor author)
throws IllegalArgumentException
username - email - fullName - jabberAddress - groupNames - - List of Strings as the group names. May be null.author -
IllegalArgumentException - if ussername does not macth a userList getGroupNamesAsList(User user)
User
user - - Must not be null
List of String representing group names. Collections.EMPTY_LIST if none exists
void setMembership(Group group,
List members)
group - - The group to modify the user list. Cannot be null.members - - List of username Strings. Can be nullList getMemberNamesAsList(Group group)
BambooUser injectUser(String username,
String encryptedPassword,
String email,
String fullName,
String jabberAddress)
username - encryptedPassword - email - fullName - jabberAddress -
BambooUser object with the created propertiesboolean isDeletable(User user)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||