Class EnterpriseUserAccessorImpl

  • All Implemented Interfaces:
    step.core.access.UserAccessor, step.core.accessors.Accessor<step.core.access.User>

    public class EnterpriseUserAccessorImpl
    extends step.core.access.UserAccessorImpl
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected step.core.GlobalContext context  
      • Fields inherited from class step.core.accessors.AbstractAccessor

        collectionDriver, newVersionThresholdMs, versionedCollectionDriver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onServerStart()  
      void preShutdownHook()  
      void remove​(java.lang.String username)  
      void save​(java.lang.Iterable<step.core.access.User> entities)  
      step.core.access.User save​(step.core.access.User user)  
      void setProjectAccessor​(ProjectAccessor projectAccessor)  
      • Methods inherited from class step.core.access.UserAccessorImpl

        encryptPwd, getAllUsers, getByUsername
      • Methods inherited from class step.core.accessors.AbstractAccessor

        createOrUpdateCompoundIndex, createOrUpdateIndex, enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, 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

        enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, remove, restoreVersion, stream
    • Field Detail

      • context

        protected step.core.GlobalContext context
    • Constructor Detail

      • EnterpriseUserAccessorImpl

        public EnterpriseUserAccessorImpl​(step.core.GlobalContext context)
    • Method Detail

      • onServerStart

        public void onServerStart()
      • preShutdownHook

        public void preShutdownHook()
      • setProjectAccessor

        public void setProjectAccessor​(ProjectAccessor projectAccessor)
      • save

        public step.core.access.User save​(step.core.access.User user)
        Specified by:
        save in interface step.core.accessors.Accessor<step.core.access.User>
        Overrides:
        save in class step.core.accessors.AbstractAccessor<step.core.access.User>
      • save

        public void save​(java.lang.Iterable<step.core.access.User> entities)
        Specified by:
        save in interface step.core.accessors.Accessor<step.core.access.User>
        Overrides:
        save in class step.core.accessors.AbstractAccessor<step.core.access.User>
      • remove

        public void remove​(java.lang.String username)
        Specified by:
        remove in interface step.core.access.UserAccessor
        Overrides:
        remove in class step.core.access.UserAccessorImpl