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)
UserFormatManager
formatUser
in interface UserFormatManager
key
- The user to formattype
- The user format type to useid
- A context sensitive idpublic String formatUsername(String username, String type, String id)
UserFormatManager
formatUsername
in interface UserFormatManager
username
- 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)
UserFormatManager
formatUserkey
in interface UserFormatManager
userkey
- 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)
UserFormatManager
UserFormat
.formatUser
in interface UserFormatManager
key
- 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)
UserFormatManager
UserFormat
.formatUsername
in interface UserFormatManager
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.public String formatUserkey(String userkey, String type, String id, Map params)
UserFormatManager
UserFormat
.formatUserkey
in interface UserFormatManager
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.public UserFormat getUserFormat(String type)
UserFormatManager
UserFormat
for a specific type, or null if none existsgetUserFormat
in interface UserFormatManager
type
- the specific type for which to find a UserFormat.UserFormat
for a specific type, or null if none existspublic UserFormatter getUserFormatter(String type)
UserFormatManager
UserFormat
for a specific type, or null if none existsgetUserFormatter
in interface UserFormatManager
type
- the specific type for which to find a UserFormat.UserFormat
for a specific type, or null if none existsCopyright © 2002-2015 Atlassian. All Rights Reserved.