Class SignupUser


  • public class SignupUser
    extends Object

    This class is a place holder, which contains all the user necessary informaion for Signup Tool

    • 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 user
        lastName - Last Name of the user
        role - 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
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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)