Interface ArchivedUserStore

    • Method Detail

      • getAllByUserId

        List<ArchivedUser> getAllByUserId​(edu.uiuc.ncsa.security.core.Identifier userId)
        Get the list of all archived users for a given user (as opposed to archive) id. This always returns a list sorted by archive date.
        Parameters:
        userId -
        Returns:
      • archiveUser

        edu.uiuc.ncsa.security.core.Identifier archiveUser​(edu.uiuc.ncsa.security.core.Identifier userId)
        Add a User to the archive. This takes the current user as stored (so save any updates before invoking). Returns the id of the archived user entry.
        Parameters:
        userId -
      • getLastArchivedUser

        ArchivedUser getLastArchivedUser​(edu.uiuc.ncsa.security.core.Identifier userid)
        Convenience method. Return the most recently archived user for this id or a null if there is no such user.
        Parameters:
        userid -
        Returns: