IBM BPM API for Web Service Clients v8.0.0

com.lombardisoftware.webapi
Class User

java.lang.Object
  extended by com.lombardisoftware.webapi.User
All Implemented Interfaces:
java.io.Serializable

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

A User is an individual who can participate in process instances and tasks

See Also:
Serialized Form

Constructor Summary
User()
           
User(Role[] roleMemberships, long id, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 long getId()
          Gets the id value for this User.
 java.lang.String getName()
          Gets the name value for this User.
 Role[] getRoleMemberships()
          Gets the roleMemberships value for this User.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setId(long id)
          Sets the id value for this User.
 void setName(java.lang.String name)
          Sets the name value for this User.
 void setRoleMemberships(Role[] roleMemberships)
          Sets the roleMemberships value for this User.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User()

User

public User(Role[] roleMemberships,
            long id,
            java.lang.String name)
Method Detail

getRoleMemberships

public Role[] getRoleMemberships()
Gets the roleMemberships value for this User.

Returns:
roleMemberships * RoleMemberships contains the roles to which this user belongs. A user's roles can determine what actions they are allowed to perform in WLE and which process instances and tasks they can interact with.

setRoleMemberships

public void setRoleMemberships(Role[] roleMemberships)
Sets the roleMemberships value for this User.

Parameters:
roleMemberships - * RoleMemberships contains the roles to which this user belongs. A user's roles can determine what actions they are allowed to perform in WLE and which process instances and tasks they can interact with.

getId

public long getId()
Gets the id value for this User.

Returns:
id * The environment specific identifier of the user

setId

public void setId(long id)
Sets the id value for this User.

Parameters:
id - * The environment specific identifier of the user

getName

public java.lang.String getName()
Gets the name value for this User.

Returns:
name * The name of the user. Can be missing or nil if the User is only partially loaded.

setName

public void setName(java.lang.String name)
Sets the name value for this User.

Parameters:
name - * The name of the user. Can be missing or nil if the User is only partially loaded.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


IBM BPM API for Web Service Clients v8.0.0

(C) Copyright IBM Corporation 2011. All Rights Reserved.