com.atlassian.crowd.integration.util
Class SOAPPrincipalHelper

java.lang.Object
  extended by com.atlassian.crowd.integration.util.SOAPPrincipalHelper

public class SOAPPrincipalHelper
extends java.lang.Object


Constructor Summary
SOAPPrincipalHelper()
           
 
Method Summary
 SOAPAttribute getAttribute(java.lang.String name, SOAPPrincipal principal)
           
 java.lang.String getEmail(SOAPPrincipal principal)
           
 java.lang.String getFirstAttributeValue(java.lang.String name, SOAPPrincipal principal)
           
 java.lang.String getFirstName(SOAPPrincipal principal)
           
 java.lang.String getFullName(SOAPPrincipal principal)
          Returns the principal's display name if it exists, otherwise returns the first name concatenated to the last name.
 java.lang.String getIconLocation(SOAPPrincipal principal)
           
 java.lang.String getLastName(SOAPPrincipal principal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPPrincipalHelper

public SOAPPrincipalHelper()
Method Detail

getFirstName

public java.lang.String getFirstName(SOAPPrincipal principal)

getLastName

public java.lang.String getLastName(SOAPPrincipal principal)

getEmail

public java.lang.String getEmail(SOAPPrincipal principal)

getIconLocation

public java.lang.String getIconLocation(SOAPPrincipal principal)

getFirstAttributeValue

public java.lang.String getFirstAttributeValue(java.lang.String name,
                                               SOAPPrincipal principal)

getAttribute

public SOAPAttribute getAttribute(java.lang.String name,
                                  SOAPPrincipal principal)

getFullName

public java.lang.String getFullName(SOAPPrincipal principal)
Returns the principal's display name if it exists, otherwise returns the first name concatenated to the last name.

Parameters:
principal -
Returns:
String


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.