com.bea.netuix.application.communities
Class CommunityMember
java.lang.Object
com.bea.netuix.application.communities.CommunityMember
- All Implemented Interfaces
- Serializable
public class CommunityMember
- extends Object
- implements Serializable
Represents a single CommunityMember
.
This information is shared amongst all CommunityMembership
instances, and includes information such as the CommunityDefinitionId
,
WLS username, primary email address, type and status.
- See Also
- Serialized Form
CommunityMember
public CommunityMember(CommunityMemberId id,
String user,
boolean active,
boolean external)
- Constructor for a CommunityMember
- Parameters
id
- - the CommunityMemberId
associated with this CommunityMember
or null if no CommunityMemberId is yet associated.user
- - the WLS username for this CommunityMember
. This cannot be null.active
- - true if the member is active (allowed to use communities), false if disabled.external
- - true if the user is an "external" user--
which may be useful for tracking purposes in some
situations but is not used in the framework.
CommunityMember
public CommunityMember(CommunityMember info,
CommunityMemberId id)
CommunityMember
public CommunityMember(CommunityMemberId id,
String user,
boolean active)
- Constructor for CommunityMember, specialized for creating internal
Communities users.
- Parameters
id
- - the CommunityDefinitionId
associated with this CommunityMember
or null if no CommunityMemberId is yet associated.user
- - the WLS username for this CommunityMember
. Cannot be null.active
- - true if the member is active (allowed to use communities), false if disabled.
getId
public CommunityMemberId getId()
getWlsUserId
public String getWlsUserId()
isExternal
public boolean isExternal()
isActive
public boolean isActive()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2006 BEA Systems, Inc. All Rights Reserved