站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

UserContextConverter - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp
Class UserContextConverter

java.lang.Object
  extended byorg.jboss.portal.wsrp.UserContextConverter

public class UserContextConverter
extends java.lang.Object

Since:
2.4 (May 8, 2006)
Version:
$Revision: 5487 $
Author:
Chris Laprun

Nested Class Summary
(package private) static class UserContextConverter.WSRPMappedUserContext
          Builds a Portal UserContext from a WSRP org.jboss.portal.wsrp.core.UserContext.
 
Field Summary
static java.lang.String XSD_DATETIME_FORMAT
           
 
Constructor Summary
UserContextConverter()
           
 
Method Summary
private static Contact createContactFrom(java.util.Map infos, boolean isBusiness)
           
private static PersonName createNameFrom(java.util.Map userInfos)
           
static UserContext createPortalUserContextFrom(org.jboss.portal.wsrp.core.UserContext userContext, java.lang.String[] desiredLocales, java.lang.String preferredLocale)
           
private static TelephoneNum createTelephoneNumFrom(java.util.Map infos, java.lang.String prefix, boolean isBusiness)
           
private static UserProfile createUserProfileFrom(UserContext userContext)
           
static org.jboss.portal.wsrp.core.UserContext createWSRPUserContextFrom(UserContext userContext, java.lang.String userContextKey, java.lang.String[] userCategories)
           
private static java.lang.String getHomeOrBusinessPrefix(boolean isBusiness)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSD_DATETIME_FORMAT

public static final java.lang.String XSD_DATETIME_FORMAT
See Also:
Constant Field Values
Constructor Detail

UserContextConverter

public UserContextConverter()
Method Detail

createPortalUserContextFrom

public static UserContext createPortalUserContextFrom(org.jboss.portal.wsrp.core.UserContext userContext,
                                                      java.lang.String[] desiredLocales,
                                                      java.lang.String preferredLocale)

createWSRPUserContextFrom

public static org.jboss.portal.wsrp.core.UserContext createWSRPUserContextFrom(UserContext userContext,
                                                                               java.lang.String userContextKey,
                                                                               java.lang.String[] userCategories)

createUserProfileFrom

private static UserProfile createUserProfileFrom(UserContext userContext)

createNameFrom

private static PersonName createNameFrom(java.util.Map userInfos)

createContactFrom

private static Contact createContactFrom(java.util.Map infos,
                                         boolean isBusiness)

createTelephoneNumFrom

private static TelephoneNum createTelephoneNumFrom(java.util.Map infos,
                                                   java.lang.String prefix,
                                                   boolean isBusiness)

getHomeOrBusinessPrefix

private static java.lang.String getHomeOrBusinessPrefix(boolean isBusiness)