|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.userformat.DefaultUserFormatManager
DefaultUserFormats
@Deprecated public class DefaultUserFormatManager
DefaultUserFormats
,
UserFormats
Constructor Summary | |
---|---|
DefaultUserFormatManager(UserFormats userFormats)
Deprecated. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultUserFormatManager(UserFormats userFormats)
Method Detail |
---|
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 id
public 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 id
public 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 id
public 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 exists
getUserFormat
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 exists
getUserFormatter
in interface UserFormatManager
type
- the specific type for which to find a UserFormat.
UserFormat
for a specific type, or null if none exists
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |