|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.plugin.rest.util.UserEntityUtil
public class UserEntityUtil
Utility class for UserEntity.
Method Summary | |
---|---|
static UserEntity |
expandUser(ApplicationService applicationService,
Application application,
UserEntity minimalUserEntity,
boolean expandAttributes)
Expands a UserEntity from its minimal form to the expanded version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UserEntity expandUser(ApplicationService applicationService, Application application, UserEntity minimalUserEntity, boolean expandAttributes)
UserEntityExpander
.
applicationService
- ApplicationService to find a userapplication
- name of the application requesting the userminimalUserEntity
- Minimal representation of a UserEntity. Must include at least a username and a link.expandAttributes
- set to true if the expanded UserEntity should expand attributes.
java.lang.IllegalArgumentException
- if the minimal UserEntity does not include at least a username and a link.
UserNotFoundException
- if a user with the specified username could not be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |