Class GroupUriGenerator
- java.lang.Object
 - 
- com.atlassian.confluence.api.impl.service.audit.uri.GroupUriGenerator
 
 
- 
- All Implemented Interfaces:
 ResourceUriGenerator
public class GroupUriGenerator extends Object implements ResourceUriGenerator
Generates links to Confluence groups- Since:
 - 7.5.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.atlassian.confluence.api.impl.service.audit.uri.ResourceUriGenerator
ResourceUriGenerator.NoopGenerator 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GroupUriGenerator(UserAccessor userAccessor) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,URI>generate(URI baseUrl, Set<String> identifiers)For each of the identifiers inidentifiersset calculate the corresponding URI and return a mapping from the identifier to this URI. 
 - 
 
- 
- 
Constructor Detail
- 
GroupUriGenerator
public GroupUriGenerator(UserAccessor userAccessor)
 
 - 
 
- 
Method Detail
- 
generate
public Map<String,URI> generate(URI baseUrl, Set<String> identifiers)
Description copied from interface:ResourceUriGeneratorFor each of the identifiers inidentifiersset calculate the corresponding URI and return a mapping from the identifier to this URI. If the identifier doesn't have corresponding URI, the map shouldn't include it. The URI is calculated with respect to providedbaseUrl.This method signature receives a Set and returns a Map to make possible potential optimizations from using batch operations (for example the implementation might fetch several records in a single database query).
- Specified by:
 generatein interfaceResourceUriGenerator- Returns:
 - a map with a key set being a subset of 
identifiers. For each identifier key the value of the map is a corresponding URI of the resource. 
 
 - 
 
 -