Package org.sakaiproject.site.util
Class Participant
- java.lang.Object
-
- org.sakaiproject.site.util.Participant
-
public class Participant extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanactivethe status, active vs. inactiveStringcreditsThe member creditsStringdisplayNameStringenrollmentStatusthe enrollment statusStringnameprotected StringNULL_STRINGStringproviderRolerole from providerStringregIdThe regestration idbooleanremoveableremoveable if not from providerStringroleStringsectionThe sectionStringuniqname
-
Constructor Summary
Constructors Constructor Description Participant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSectionEidToList(String eid)intcompareTo(Participant participantB)StringgetCredits()StringgetDisplayId()Access the user display id, if we can find it - fall back to the id if not.StringgetDisplayName()StringgetEid()Access the user eid, if we can find it - fall back to the id if not.StringgetEnrollmentStatus()StringgetName()StringgetProviderRole()StringgetRegId()StringgetRole()StringgetSection()SetgetSectionEidList()StringgetUniqname()booleanisActive()booleanisRemoveable()
-
-
-
Field Detail
-
NULL_STRING
protected String NULL_STRING
-
name
public String name
-
displayName
public String displayName
-
uniqname
public String uniqname
-
role
public String role
-
providerRole
public String providerRole
role from provider
-
credits
public String credits
The member credits
-
section
public String section
The section
-
regId
public String regId
The regestration id
-
removeable
public boolean removeable
removeable if not from provider
-
active
public boolean active
the status, active vs. inactive
-
enrollmentStatus
public String enrollmentStatus
the enrollment status
-
-
Method Detail
-
getName
public String getName()
-
getDisplayName
public String getDisplayName()
-
getUniqname
public String getUniqname()
-
getRole
public String getRole()
-
getProviderRole
public String getProviderRole()
-
isRemoveable
public boolean isRemoveable()
-
isActive
public boolean isActive()
-
getCredits
public String getCredits()
-
getEnrollmentStatus
public String getEnrollmentStatus()
-
getSection
public String getSection()
-
getSectionEidList
public Set getSectionEidList()
-
addSectionEidToList
public void addSectionEidToList(String eid)
-
getRegId
public String getRegId()
-
getEid
public String getEid()
Access the user eid, if we can find it - fall back to the id if not.- Returns:
- The user eid.
-
getDisplayId
public String getDisplayId()
Access the user display id, if we can find it - fall back to the id if not.- Returns:
- The user display id.
-
compareTo
public int compareTo(Participant participantB)
-
-