Class DefaultUserFormatManager
java.lang.Object
com.atlassian.jira.plugin.userformat.DefaultUserFormatManager
- All Implemented Interfaces:
UserFormatManager
Deprecated.
- Since:
- v3.13
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatUser(String key, String type, String id) Deprecated.Convenience method to format a given user.formatUser(String key, String type, String id, Map params) Deprecated.Convenience method to format a given user.formatUserkey(String userkey, String type, String id) Deprecated.Convenience method to format a given user.formatUserkey(String userkey, String type, String id, Map params) Deprecated.Convenience method to format a given user.formatUsername(String username, String type, String id) Deprecated.Convenience method to format a given user.formatUsername(String username, String type, String id, Map params) Deprecated.Convenience method to format a given user.getUserFormat(String type) Deprecated.Returns theUserFormatfor a specific type, or null if none existsgetUserFormatter(String type) Deprecated.Returns theUserFormatfor a specific type, or null if none exists
-
Constructor Details
-
DefaultUserFormatManager
Deprecated.
-
-
Method Details
-
formatUser
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. Method looks up the mapped user format for the type and passes the username and id to this user format. Returns null if no mapped user format can be found.- Specified by:
formatUserin interfaceUserFormatManager- Parameters:
key- The user to formattype- The user format type to useid- A context sensitive id- Returns:
- formatted user or null.
-
formatUsername
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. Method looks up the mapped user format for the type and passes the username and id to this user format. Returns null if no mapped user format can be found.- Specified by:
formatUsernamein interfaceUserFormatManager- Parameters:
username- The key of the user to formattype- The user format type to useid- A context sensitive id- Returns:
- formatted user or null.
-
formatUserkey
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. Method looks up the mapped user format for the type and passes the user key and id to this user format. Returns null if no mapped user format can be found.- Specified by:
formatUserkeyin interfaceUserFormatManager- Parameters:
userkey- The key of the user to formattype- The user format type to useid- A context sensitive id- Returns:
- formatted user or null.
-
formatUser
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. The params user allows a user to pass any information needed for additional context to the underlyingUserFormat.- Specified by:
formatUserin interfaceUserFormatManager- Parameters:
key- The user to formattype- The user format type to useid- A context sensitive idparams- Additional context to provide to the userformatter.- Returns:
- formatted user or null.
-
formatUsername
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. The params user allows a user to pass any information needed for additional context to the underlyingUserFormat.- Specified by:
formatUsernamein interfaceUserFormatManager- Parameters:
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.- Returns:
- formatted user or null.
-
formatUserkey
Deprecated.Description copied from interface:UserFormatManagerConvenience method to format a given user. The params user allows a user to pass any information needed for additional context to the underlyingUserFormat.- Specified by:
formatUserkeyin interfaceUserFormatManager- Parameters:
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.- Returns:
- formatted user or null.
-
getUserFormat
Deprecated.Description copied from interface:UserFormatManagerReturns theUserFormatfor a specific type, or null if none exists- Specified by:
getUserFormatin interfaceUserFormatManager- Parameters:
type- the specific type for which to find a UserFormat.- Returns:
- the
UserFormatfor a specific type, or null if none exists
-
getUserFormatter
Deprecated.Description copied from interface:UserFormatManagerReturns theUserFormatfor a specific type, or null if none exists- Specified by:
getUserFormatterin interfaceUserFormatManager- Parameters:
type- the specific type for which to find a UserFormat.- Returns:
- the
UserFormatfor a specific type, or null if none exists
-
DefaultUserFormats