@Component(value="cuba_UserFormatTools") public class UserFormatToolsImpl extends java.lang.Object implements UserFormatTools
Modifier and Type | Field and Description |
---|---|
protected Messages |
messages |
NAME
Constructor and Description |
---|
UserFormatToolsImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatOfficial(User user) |
java.lang.String |
formatSubstitution(User user,
User substitutedUser) |
java.lang.String |
formatUser(User user,
User substitutedUser) |
@Inject protected Messages messages
public java.lang.String formatOfficial(User user)
formatOfficial
in interface UserFormatTools
public java.lang.String formatSubstitution(@Nonnull User user, @Nullable User substitutedUser)
formatSubstitution
in interface UserFormatTools
public java.lang.String formatUser(@Nonnull User user, @Nullable User substitutedUser)
formatUser
in interface UserFormatTools