public class SignupUser extends Object implements Comparable
This class is a place holder, which contains all the user necessary informaion for Signup Tool
| Constructor and Description |
|---|
SignupUser(String eid,
String internalUserId,
String firstName,
String lastName,
Role role,
String siteId,
boolean publishedSite)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
for sorting purpose.
|
boolean |
equals(Object other)
check to see if the objects are equal
|
String |
getDisplayName()
get the display name: order of 'last name, first name'
|
String |
getEid()
get Sakai Enterprise Id
|
String |
getFirstName()
get first name of the user
|
String |
getInternalUserId()
get a unique Sakai internal used Id
|
String |
getLastName()
get the last name of the user
|
String |
getMainSiteId() |
Role |
getUserRole()
get the user Sakai Role object
|
int |
hashCode() |
boolean |
isChecked() |
boolean |
isPublishedSite() |
void |
setChecked(boolean checked) |
void |
setMainSiteId(String mainSiteId) |
void |
setPublishedSite(boolean publishedSite) |
void |
setUserRole(Role userRole)
set the user Role object
|
public SignupUser(String eid, String internalUserId, String firstName, String lastName, Role role, String siteId, boolean publishedSite)
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 objectpublic String getEid()
public String getInternalUserId()
public boolean equals(Object other)
public int compareTo(Object o)
compareTo in interface Comparablepublic String getFirstName()
public String getLastName()
public String getDisplayName()
public Role getUserRole()
public void setUserRole(Role userRole)
userRole - the user Sakai Role objectpublic String getMainSiteId()
public void setMainSiteId(String mainSiteId)
public boolean isPublishedSite()
public void setPublishedSite(boolean publishedSite)
public boolean isChecked()
public void setChecked(boolean checked)
Copyright © 2003–2020 Sakai Project. All rights reserved.