com.atlassian.crowd.integration.util
Class SOAPPrincipalHelper
java.lang.Object
com.atlassian.crowd.integration.util.SOAPPrincipalHelper
public class SOAPPrincipalHelper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPPrincipalHelper
public SOAPPrincipalHelper()
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.