Class GroupEntityExpander
java.lang.Object
com.atlassian.crowd.plugin.rest.entity.GroupEntityExpander
- All Implemented Interfaces:
com.atlassian.plugins.rest.api.expand.expander.EntityExpander<GroupEntity>
public class GroupEntityExpander
extends Object
implements com.atlassian.plugins.rest.api.expand.expander.EntityExpander<GroupEntity>
Expands a GroupEntity from its minimal form to the expanded version. As
well as expanding the GroupEntity, this EntityExpander will expand the group
attributes if required.
This is required because
ApplicationService
does not support retrieving just the group's attributes.- Since:
- v2.1
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGroupEntityExpander
(ApplicationService applicationService, ApplicationManager applicationManager) -
Method Summary
Modifier and TypeMethodDescriptionexpand
(com.atlassian.plugins.rest.api.expand.ExpandContext<GroupEntity> context, com.atlassian.plugins.rest.api.expand.resolver.EntityExpanderResolver expanderResolver, com.atlassian.plugins.rest.api.expand.EntityCrawler entityCrawler)
-
Field Details
-
ATTRIBUTES_FIELD_NAME
- See Also:
-
-
Constructor Details
-
GroupEntityExpander
public GroupEntityExpander(ApplicationService applicationService, ApplicationManager applicationManager)
-
-
Method Details
-
expand
public GroupEntity expand(com.atlassian.plugins.rest.api.expand.ExpandContext<GroupEntity> context, com.atlassian.plugins.rest.api.expand.resolver.EntityExpanderResolver expanderResolver, com.atlassian.plugins.rest.api.expand.EntityCrawler entityCrawler) - Specified by:
expand
in interfacecom.atlassian.plugins.rest.api.expand.expander.EntityExpander<GroupEntity>
-