Class ApiTokenAccessor

  • All Implemented Interfaces:
    step.core.accessors.Accessor<ApiToken>

    public class ApiTokenAccessor
    extends step.core.accessors.CachedAccessor<ApiToken>
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteApiTokensOfUser​(java.lang.String username)  
      java.util.List<ApiToken> getApiTokensByUser​(java.lang.String user)  
      ApiToken selectApiTokenByUsername​(java.lang.String user, java.lang.String token)  
      • Methods inherited from class step.core.accessors.CachedAccessor

        enableVersioning, findByAttributes, findByAttributes, findByCriteria, findManyByAttributes, findManyByAttributes, findManyByCriteria, get, get, getAll, getCollectionDriver, getHistory, getRange, isVersioningEnabled, reloadCache, remove, restoreVersion, save, save, stream, streamLazy
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApiTokenAccessor

        public ApiTokenAccessor​(step.core.collections.Collection<ApiToken> collectionDriver)
    • Method Detail

      • getApiTokensByUser

        public java.util.List<ApiToken> getApiTokensByUser​(java.lang.String user)
      • selectApiTokenByUsername

        public ApiToken selectApiTokenByUsername​(java.lang.String user,
                                                 java.lang.String token)
      • deleteApiTokensOfUser

        public void deleteApiTokensOfUser​(java.lang.String username)