com.atlassian.crowd.integration.util
Class SOAPPrincipalHelper

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

public class SOAPPrincipalHelper
extends Object


Constructor Summary
SOAPPrincipalHelper()
           
 
Method Summary
 SOAPAttribute getAttribute(String name, SOAPPrincipal principal)
           
 String getEmail(SOAPPrincipal principal)
           
 String getFirstAttributeValue(String name, SOAPPrincipal principal)
           
 String getFirstName(SOAPPrincipal principal)
           
 String getFullName(SOAPPrincipal principal)
          Returns the principal's display name if it exists, otherwise returns the first name concatenated to the last name.
 String getIconLocation(SOAPPrincipal principal)
           
 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 String getFirstName(SOAPPrincipal principal)

getLastName

public String getLastName(SOAPPrincipal principal)

getEmail

public String getEmail(SOAPPrincipal principal)

getIconLocation

public String getIconLocation(SOAPPrincipal principal)

getFirstAttributeValue

public String getFirstAttributeValue(String name,
                                     SOAPPrincipal principal)

getAttribute

public SOAPAttribute getAttribute(String name,
                                  SOAPPrincipal principal)

getFullName

public 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.