public class GroupEntityUtil extends Object
Modifier and Type | Method and Description |
---|---|
static GroupEntity |
expandGroup(ApplicationService applicationService,
Application application,
GroupEntity minimalGroupEntity,
boolean expandAttributes)
Expands a GroupEntity from its minimal form to the expanded version.
|
public static GroupEntity expandGroup(ApplicationService applicationService, Application application, GroupEntity minimalGroupEntity, boolean expandAttributes) throws GroupNotFoundException
GroupEntityExpander
.applicationService
- ApplicationService to find a groupapplication
- name of the application requesting the groupminimalGroupEntity
- Minimal representation of a GroupEntity. Must
include at least a group name and a link.expandAttributes
- set to true if the expanded GroupEntity should
expand attributes.IllegalArgumentException
- if the minimal GroupEntity does not
include at least a group name and a link.GroupNotFoundException
Copyright © 2013 Atlassian. All Rights Reserved.