Package org.sakaiproject.signup.logic
Class SignupUser
- java.lang.Object
-
- org.sakaiproject.signup.logic.SignupUser
-
public class SignupUser extends Object
This class is a place holder, which contains all the user necessary informaion for Signup Tool
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)check to see if the objects are equalStringgetDisplayName()get the display name: order of 'last name, first name'StringgetEid()get Sakai Enterprise IdStringgetFirstName()get first name of the userStringgetInternalUserId()get a unique Sakai internal used IdStringgetLastName()get the last name of the userStringgetMainSiteId()org.sakaiproject.authz.api.RolegetUserRole()get the user Sakai Role objectinthashCode()booleanisChecked()booleanisPublishedSite()voidsetChecked(boolean checked)voidsetMainSiteId(String mainSiteId)voidsetPublishedSite(boolean publishedSite)voidsetUserRole(org.sakaiproject.authz.api.Role userRole)set the user Role object
-
-
-
Constructor Detail
-
SignupUser
public SignupUser(String eid, String internalUserId, String firstName, String lastName, org.sakaiproject.authz.api.Role role, String siteId, boolean publishedSite)
Construtor- Parameters:
eid- an unique Sakai enterprise Id(UserId for UI)internalUserId- an unique Sakai internal used Id(not UserId)firstName- First Name of the userlastName- Last Name of the userrole- a Sakai Role object
-
-
Method Detail
-
getEid
public String getEid()
get Sakai Enterprise Id- Returns:
- a unique eid
-
getInternalUserId
public String getInternalUserId()
get a unique Sakai internal used Id- Returns:
- a unique Sakai internal used Id
-
equals
public boolean equals(Object other)
check to see if the objects are equal
-
getFirstName
public String getFirstName()
get first name of the user- Returns:
- the first name of the user
-
getLastName
public String getLastName()
get the last name of the user- Returns:
- the last name of the user
-
getDisplayName
public String getDisplayName()
get the display name: order of 'last name, first name'- Returns:
- the display name
-
getUserRole
public org.sakaiproject.authz.api.Role getUserRole()
get the user Sakai Role object- Returns:
- the Sakai user Role object
-
setUserRole
public void setUserRole(org.sakaiproject.authz.api.Role userRole)
set the user Role object- Parameters:
userRole- the user Sakai Role object
-
getMainSiteId
public String getMainSiteId()
-
setMainSiteId
public void setMainSiteId(String mainSiteId)
-
isPublishedSite
public boolean isPublishedSite()
-
setPublishedSite
public void setPublishedSite(boolean publishedSite)
-
isChecked
public boolean isChecked()
-
setChecked
public void setChecked(boolean checked)
-
-