IBM WebSphere Application ServerTM
Release 8

com.ibm.uddi.v3.management
Class UddiUser

java.lang.Object
  extended by com.ibm.uddi.v3.management.UddiUser
All Implemented Interfaces:
java.io.Serializable

public class UddiUser
extends java.lang.Object
implements java.io.Serializable

Represents a UDDI publisher. A UDDI publisher comprises a user name (ID), a tier and a collection of entitlements.

See Also:
Serialized Form

Constructor Summary
UddiUser()
          Constructor taking no arguments.
UddiUser(java.lang.String userId, int tierId, java.util.List entitlements)
          Constructor taking user ID, tier ID, and collection of entitlements.
UddiUser(java.lang.String userId, java.lang.String userRealm, java.lang.String userUniqueUserId, TierInfo tierInfo, java.util.List entitlements)
          Constructor taking user ID, tier, and collection of entitlements.
UddiUser(java.lang.String userId, TierInfo tierInfo, java.util.List entitlements)
          Constructor taking user ID, tier, and collection of entitlements.
 
Method Summary
 java.util.List getEntitlements()
          Returns the collection of Entitlement.
 java.lang.String getTierId()
          Returns the ID of the tier this user is assigned to.
 java.lang.String getUserId()
          Returns the user ID/name.
 Property getUserIdAsProperty()
          Returns the userId as a Property.
 java.lang.String getUserRealm()
          Returns the user realm.
 java.lang.String getUserUniqueUserId()
          Returns the user uniqueUserId.
 void setEntitlements(java.util.List entitlements)
          Sets the collection of Entitlement.
 void setTierId(java.lang.String tierId)
          Sets the tier this user belongs to.
 void setUniqueUserId(java.lang.String userUniqueUserId)
          Sets the user's uniqueUserId.
 void setUserId(java.lang.String userId)
          Sets the UDDIUser userId.
 void setUserRealm(java.lang.String userRealm)
          Sets the realm the user belongs to.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UddiUser

public UddiUser()
Constructor taking no arguments.


UddiUser

public UddiUser(java.lang.String userId,
                TierInfo tierInfo,
                java.util.List entitlements)
Constructor taking user ID, tier, and collection of entitlements.

Parameters:
userId -
tierInfo -
entitlements* -

UddiUser

public UddiUser(java.lang.String userId,
                java.lang.String userRealm,
                java.lang.String userUniqueUserId,
                TierInfo tierInfo,
                java.util.List entitlements)
Constructor taking user ID, tier, and collection of entitlements.

Parameters:
userId -
userRealm -
userUniqueUserId -
tierInfo -
entitlements* -

UddiUser

public UddiUser(java.lang.String userId,
                int tierId,
                java.util.List entitlements)
Constructor taking user ID, tier ID, and collection of entitlements.

Parameters:
userId -
tierId -
entitlements - - collection of Entitlement objects.
Method Detail

getEntitlements

public java.util.List getEntitlements()
Returns the collection of Entitlement.

Returns:

getTierId

public java.lang.String getTierId()
Returns the ID of the tier this user is assigned to.

Returns:

getUserId

public java.lang.String getUserId()
Returns the user ID/name.

Returns:

getUserRealm

public java.lang.String getUserRealm()
Returns the user realm.

Returns:

getUserUniqueUserId

public java.lang.String getUserUniqueUserId()
Returns the user uniqueUserId.

Returns:

setEntitlements

public void setEntitlements(java.util.List entitlements)
Sets the collection of Entitlement.

Parameters:
entitlements -

setTierId

public void setTierId(java.lang.String tierId)
Sets the tier this user belongs to.

Parameters:
tier -

setUserId

public void setUserId(java.lang.String userId)
Sets the UDDIUser userId.

Parameters:
realm -

setUserRealm

public void setUserRealm(java.lang.String userRealm)
Sets the realm the user belongs to.

Parameters:
realm -

setUniqueUserId

public void setUniqueUserId(java.lang.String userUniqueUserId)
Sets the user's uniqueUserId.

Parameters:
uniqueUserId -

getUserIdAsProperty

public Property getUserIdAsProperty()
Returns the userId as a Property. This is typically used by the administrative console.

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

IBM WebSphere Application ServerTM
Release 8