Class UserAccessorImpl

    • Field Summary

      • Fields inherited from class step.core.accessors.AbstractAccessor

        collectionDriver
    • Constructor Summary

      Constructors 
      Constructor Description
      UserAccessorImpl​(step.core.collections.Collection<User> collectionDriver)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String encryptPwd​(java.lang.String pwd)  
      java.util.List<User> getAllUsers()  
      User getByUsername​(java.lang.String username)  
      void remove​(java.lang.String username)  
      • Methods inherited from class step.core.accessors.AbstractAccessor

        createOrUpdateCompoundIndex, createOrUpdateIndex, findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getCollectionDriver, getRange, remove, save, save, stream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface step.core.accessors.Accessor

        findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange, remove, save, save
    • Constructor Detail

      • UserAccessorImpl

        public UserAccessorImpl​(step.core.collections.Collection<User> collectionDriver)
    • Method Detail

      • remove

        public void remove​(java.lang.String username)
        Specified by:
        remove in interface UserAccessor
      • encryptPwd

        public static java.lang.String encryptPwd​(java.lang.String pwd)