Class CILSQLArchivedUserStore

    • Constructor Detail

      • CILSQLArchivedUserStore

        public CILSQLArchivedUserStore​(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
                                       edu.uiuc.ncsa.security.storage.sql.internals.Table table,
                                       edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<ArchivedUser> aup,
                                       edu.uiuc.ncsa.security.storage.data.MapConverter converter)
    • Method Detail

      • archiveUser

        public edu.uiuc.ncsa.security.core.Identifier archiveUser​(edu.uiuc.ncsa.security.core.Identifier userID)
        Description copied from interface: ArchivedUserStore
        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.
        Specified by:
        archiveUser in interface ArchivedUserStore
      • getAllByUserId

        public List<ArchivedUser> getAllByUserId​(edu.uiuc.ncsa.security.core.Identifier userId)
        Description copied from interface: ArchivedUserStore
        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.
        Specified by:
        getAllByUserId in interface ArchivedUserStore
        Returns:
      • getLastArchivedUser

        public ArchivedUser getLastArchivedUser​(edu.uiuc.ncsa.security.core.Identifier userid)
        Description copied from interface: ArchivedUserStore
        Convenience method. Return the most recently archived user for this id or a null if there is no such user.
        Specified by:
        getLastArchivedUser in interface ArchivedUserStore
        Returns:
      • getCreationTSField

        public String getCreationTSField()
        Specified by:
        getCreationTSField in class edu.uiuc.ncsa.security.storage.sql.SQLStore<ArchivedUser>