org.sakaiproject.coursemanagement.api
Interface Membership

All Known Implementing Classes:
MembershipCmImpl

public interface Membership

A user-role pair associated with something.

Author:
Josh Holtzman

Method Summary
 String getAuthority()
          What authority defines this object?
 String getRole()
          The user's role
 String getStatus()
          Gets the status of this Membership.
 String getUserId()
          The user's enterprise id
 void setStatus(String status)
           
 

Method Detail

getUserId

String getUserId()
The user's enterprise id

Returns:

getRole

String getRole()
The user's role

Returns:

getAuthority

String getAuthority()
What authority defines this object?

Returns:

getStatus

String getStatus()
Gets the status of this Membership. This might be active, inactive for example.

Returns:

setStatus

void setStatus(String status)


Copyright © 2011 Sakai Project. All Rights Reserved.