|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserFormatManager
Manages the UserFormat
to type mapping. UserFormat modules may be provided for various different types.
Method Summary | |
---|---|
String |
formatUser(String username,
String type,
String id)
Convenience method to format a given user. |
String |
formatUser(String username,
String type,
String id,
Map params)
Convenience method to format a given user. |
UserFormat |
getUserFormat(String type)
Returns the UserFormat for a specific type, or null if none exists |
Method Detail |
---|
UserFormat getUserFormat(String type)
UserFormat
for a specific type, or null if none exists
type
- 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)
username
- The user to formattype
- The user format type to useid
- A context sensitive id
String formatUser(String username, String type, String id, Map params)
UserFormat
.
username
- The user to formattype
- The user format type to useid
- A context sensitive idparams
- Additional context to provide to the userformatter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |