|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EmailFormatter
Returned email address appropriately masked/hidden for the current user.
| Method Summary | |
|---|---|
boolean |
emailVisible(com.atlassian.crowd.embedded.api.User user)
Is Email visible. |
String |
formatEmail(String email,
boolean isCurrentUserLoggedIn)
Potentially hide/mask an email address. |
String |
formatEmail(String email,
com.atlassian.crowd.embedded.api.User currentUser)
Potentially hide/mask an email address. |
String |
formatEmail(com.atlassian.crowd.embedded.api.User user,
com.atlassian.crowd.embedded.api.User currentUser)
Formats how the user's Email address is to be displayed to the currentUser determined by the user email visibility value |
String |
formatEmailAsLink(String email,
com.atlassian.crowd.embedded.api.User currentUser)
Returns email address as HTML. |
| Method Detail |
|---|
boolean emailVisible(com.atlassian.crowd.embedded.api.User user)
user -
String formatEmail(com.atlassian.crowd.embedded.api.User user,
com.atlassian.crowd.embedded.api.User currentUser)
user - owner of the email address to format and displaycurrentUser - the current logged in user viewing the email address of the above user
String formatEmail(String email,
boolean isCurrentUserLoggedIn)
email - The email address to show/mask/hide.isCurrentUserLoggedIn - is the current user logged in or anonymous
String formatEmail(String email,
com.atlassian.crowd.embedded.api.User currentUser)
email - The email address to show/mask/hide.currentUser - The user viewing the email address.
String formatEmailAsLink(String email,
com.atlassian.crowd.embedded.api.User currentUser)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||