@PublicApi
public interface UserFormatter
Modifier and Type | Method and Description |
---|---|
String |
formatUserkey(String userkey,
String id)
Renders the formatted user for a given section on the screen.
|
String |
formatUserkey(String userkey,
String id,
Map<String,Object> params)
Renders the formatted user for a given section on the screen.
|
String |
formatUsername(String username,
String id)
Renders the formatted user for a given section on the screen.
|
String |
formatUsername(String username,
String id,
Map<String,Object> params)
Renders the formatted user for a given section on the screen.
|
String formatUserkey(String userkey, String id)
The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
userkey
- the user to format.id
- A value providing extra context to the rendering process.String formatUserkey(String userkey, String id, Map<String,Object> params)
The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
userkey
- the user to format.id
- A value providing extra context to the rendering process.params
- Additional context to pass to the rendererString formatUsername(String username, String id)
The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
username
- the user to format.id
- A value providing extra context to the rendering process.String formatUsername(String username, String id, Map<String,Object> params)
The result should always be ready to display in an HTML response i.e. it should be HTML encoded if necessary.
username
- the user to format.id
- A value providing extra context to the rendering process.params
- Additional context to pass to the rendererCopyright © 2002-2015 Atlassian. All Rights Reserved.