Interface Membership
-
public interface MembershipA user-role pair associated with something.- Author:
- Josh Holtzman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthority()What authority defines this object?StringgetRole()The user's roleStringgetStatus()Gets the status of this Membership.StringgetUserId()The user's enterprise idvoidsetStatus(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)
-
-