UserFormats
instead.@Deprecated public interface UserFormatManager
UserFormat
to type mapping. UserFormat modules may be provided for various different types.UserFormats
Modifier and Type | Method and Description |
---|---|
String |
formatUser(String username,
String type,
String id)
Deprecated.
Use
formatUserkey(String, String, String) or formatUsername(String, String, String) instead. Since v6.0. |
String |
formatUser(String username,
String type,
String id,
Map params)
Deprecated.
Use
formatUserkey(String, String, String, java.util.Map) or formatUsername(String, String, String, java.util.Map) instead. Since v6.0. |
String |
formatUserkey(String userkey,
String type,
String id)
Deprecated.
Convenience method to format a given user.
|
String |
formatUserkey(String userkey,
String type,
String id,
Map params)
Deprecated.
Convenience method to format a given user.
|
String |
formatUsername(String username,
String type,
String id)
Deprecated.
Convenience method to format a given user.
|
String |
formatUsername(String username,
String type,
String id,
Map params)
Deprecated.
Convenience method to format a given user.
|
UserFormat |
getUserFormat(String type)
Deprecated.
Returns the
UserFormat for a specific type, or null if none exists |
UserFormatter |
getUserFormatter(String type)
Deprecated.
Returns the
UserFormat for a specific type, or null if none exists |
UserFormat getUserFormat(String type)
UserFormat
for a specific type, or null if none existstype
- the specific type for which to find a UserFormat.UserFormat
for a specific type, or null if none existsUserFormatter getUserFormatter(String type)
UserFormat
for a specific type, or null if none existstype
- the specific type for which to find a UserFormat.UserFormat
for a specific type, or null if none existsString formatUser(String username, String type, String id)
formatUserkey(String, String, String)
or formatUsername(String, String, String)
instead. Since v6.0.username
- The user to formattype
- The user format type to useid
- A context sensitive idString formatUsername(String username, String type, String id)
username
- The key of the user to formattype
- The user format type to useid
- A context sensitive idString formatUserkey(String userkey, String type, String id)
userkey
- The key of the user to formattype
- The user format type to useid
- A context sensitive idString formatUser(String username, String type, String id, Map params)
formatUserkey(String, String, String, java.util.Map)
or formatUsername(String, String, String, java.util.Map)
instead. Since v6.0.UserFormat
.username
- The user to formattype
- The user format type to useid
- A context sensitive idparams
- Additional context to provide to the userformatter.String formatUsername(String username, String type, String id, Map params)
UserFormat
.username
- The key of the user to formattype
- The user format type to useid
- A context sensitive idparams
- Additional context to provide to the userformatter.String formatUserkey(String userkey, String type, String id, Map params)
UserFormat
.userkey
- The key of the user to formattype
- The user format type to useid
- A context sensitive idparams
- Additional context to provide to the userformatter.Copyright © 2002-2016 Atlassian. All Rights Reserved.