com.atlassian.crowd.plugin.rest.entity
Class UserEntityExpander
java.lang.Object
com.atlassian.crowd.plugin.rest.entity.UserEntityExpander
- All Implemented Interfaces:
- com.atlassian.plugins.rest.common.expand.EntityExpander<UserEntity>
public class UserEntityExpander
- extends Object
- implements com.atlassian.plugins.rest.common.expand.EntityExpander<UserEntity>
Expands a UserEntity from its minimal form to the expanded version. As well as expanding the UserEntity, this
EntityExpander will expand the user attributes if required.
This is required because ApplicationService
does not support retrieving just the user's attributes.
- Since:
- v2.1
Method Summary |
UserEntity |
expand(com.atlassian.plugins.rest.common.expand.ExpandContext<UserEntity> context,
com.atlassian.plugins.rest.common.expand.resolver.EntityExpanderResolver expanderResolver,
com.atlassian.plugins.rest.common.expand.EntityCrawler entityCrawler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserEntityExpander
public UserEntityExpander(ApplicationService applicationService,
ApplicationManager applicationManager)
expand
public UserEntity expand(com.atlassian.plugins.rest.common.expand.ExpandContext<UserEntity> context,
com.atlassian.plugins.rest.common.expand.resolver.EntityExpanderResolver expanderResolver,
com.atlassian.plugins.rest.common.expand.EntityCrawler entityCrawler)
-
- Specified by:
expand
in interface com.atlassian.plugins.rest.common.expand.EntityExpander<UserEntity>
Copyright © 2013 Atlassian. All Rights Reserved.