com.ibm.uddi.v3.management
Class UddiUser
- java.lang.Object
-
- 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
Constructors Constructor and Description 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
Methods Modifier and Type Method and Description java.util.List
getEntitlements()
Returns the collection ofEntitlement
.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 aProperty
.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 ofEntitlement
.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()
-
-
-
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 ofEntitlement
objects.
-
-
Method Detail
-
getEntitlements
public java.util.List getEntitlements()
Returns the collection ofEntitlement
.- 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 ofEntitlement
.- 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 aProperty
. This is typically used by the administrative console.- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-