DefaultUserFormats@Deprecated public class DefaultUserFormatManager extends Object implements UserFormatManager
DefaultUserFormats,
UserFormats| Constructor and Description |
|---|
DefaultUserFormatManager(UserFormats userFormats)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
formatUser(String key,
String type,
String id)
Deprecated.
Convenience method to format a given user.
|
String |
formatUser(String key,
String type,
String id,
Map params)
Deprecated.
Convenience method to format a given user.
|
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 |
public DefaultUserFormatManager(UserFormats userFormats)
public String formatUser(String key, String type, String id)
UserFormatManagerformatUser in interface UserFormatManagerkey - The user to formattype - The user format type to useid - A context sensitive idpublic String formatUsername(String username, String type, String id)
UserFormatManagerformatUsername in interface UserFormatManagerusername - The key of the user to formattype - The user format type to useid - A context sensitive idpublic String formatUserkey(String userkey, String type, String id)
UserFormatManagerformatUserkey in interface UserFormatManageruserkey - The key of the user to formattype - The user format type to useid - A context sensitive idpublic String formatUser(String key, String type, String id, Map params)
UserFormatManagerUserFormat.formatUser in interface UserFormatManagerkey - The user to formattype - The user format type to useid - A context sensitive idparams - Additional context to provide to the userformatter.public String formatUsername(String username, String type, String id, Map params)
UserFormatManagerUserFormat.formatUsername in interface UserFormatManagerusername - The key of the user to formattype - The user format type to useid - A context sensitive idparams - Additional context to provide to the userformatter.public String formatUserkey(String userkey, String type, String id, Map params)
UserFormatManagerUserFormat.formatUserkey in interface UserFormatManageruserkey - The key of the user to formattype - The user format type to useid - A context sensitive idparams - Additional context to provide to the userformatter.public UserFormat getUserFormat(String type)
UserFormatManagerUserFormat for a specific type, or null if none existsgetUserFormat in interface UserFormatManagertype - the specific type for which to find a UserFormat.UserFormat for a specific type, or null if none existspublic UserFormatter getUserFormatter(String type)
UserFormatManagerUserFormat for a specific type, or null if none existsgetUserFormatter in interface UserFormatManagertype - the specific type for which to find a UserFormat.UserFormat for a specific type, or null if none existsCopyright © 2002-2017 Atlassian. All Rights Reserved.