org.sakaiproject.service.legacy.authzGroup
Interface Member

All Superinterfaces:
Comparable, Serializable
All Known Implementing Classes:
BaseMember

public interface Member
extends Comparable, Serializable

Member records membership in an AuthzGroup; user, role, and flags.

Author:
Sakai Software Development Team

Method Summary
 Role getRole()
          Access the member's Role.
 String getUserId()
          Access the user id of the member.
 boolean isActive()
          Check if the membership is active.
 boolean isProvided()
          Check if the membership is from the external provider.
 void setActive(boolean active)
          Set the active value.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getUserId

public String getUserId()
Access the user id of the member.

Returns:
The user id of the member.

getRole

public Role getRole()
Access the member's Role.

Returns:
The member's Role.

isProvided

public boolean isProvided()
Check if the membership is from the external provider.

Returns:
true if the membership is from the external provider, false if not.

isActive

public boolean isActive()
Check if the membership is active.

Returns:
true if the membership is active, false if not.

setActive

public void setActive(boolean active)
Set the active value.

Parameters:
active - The new active value.