|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.wsrp.UserContextConverter.WSRPMappedUserContext
Builds a Portal UserContext from a WSRP org.jboss.portal.wsrp.core.UserContext.
| Field Summary | |
private java.lang.String[] |
desiredLocales
|
private java.lang.String |
id
|
private java.util.Map |
infos
|
private java.util.Locale |
locale
|
| Constructor Summary | |
UserContextConverter.WSRPMappedUserContext(org.jboss.portal.wsrp.core.UserContext userContext,
java.lang.String[] desiredLocales,
java.lang.String preferredLocale)
|
|
| Method Summary | |
java.lang.String |
getId()
Retrieves the user id or null if it is not known. |
java.util.Map |
getInformations()
The user profile information keyed by P3PConstants |
java.util.Locale |
getLocale()
Return the user locale. |
java.util.List |
getLocales()
Retrieves the locales that the user is willing to receive information in. |
private void |
populateContactInfo(Contact contact,
boolean isBusiness)
|
private void |
populateTelephoneInfo(TelephoneNum telephoneNum,
java.lang.String prefix,
boolean isBusiness)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Map infos
private java.lang.String[] desiredLocales
private java.util.Locale locale
private java.lang.String id
| Constructor Detail |
public UserContextConverter.WSRPMappedUserContext(org.jboss.portal.wsrp.core.UserContext userContext,
java.lang.String[] desiredLocales,
java.lang.String preferredLocale)
| Method Detail |
public java.lang.String getId()
UserContext
getId in interface UserContextpublic java.util.Map getInformations()
UserContext
getInformations in interface UserContextP3PConstants
private void populateContactInfo(Contact contact,
boolean isBusiness)
private void populateTelephoneInfo(TelephoneNum telephoneNum,
java.lang.String prefix,
boolean isBusiness)
public java.util.Locale getLocale()
UserContext
getLocale in interface UserContextpublic java.util.List getLocales()
UserContext
getLocales in interface UserContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||