Class BaseClientSQLStore<V extends BaseClient>

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Store<V>, edu.uiuc.ncsa.security.storage.MonitoredStoreInterface<V>, Map<edu.uiuc.ncsa.security.core.Identifier,​V>, BaseClientStore<V>

    public abstract class BaseClientSQLStore<V extends BaseClient>
    extends edu.uiuc.ncsa.security.storage.monitored.MonitoredSQLStore<V>
    implements BaseClientStore<V>

    Created by Jeff Gaynor
    on 8/6/21 at 2:44 PM

    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStore

        converter, identifiableProvider
      • Fields inherited from interface edu.uiuc.ncsa.security.core.Store

        VERSION_TAG
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseClientSQLStore​(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, javax.inject.Provider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)  
    • Constructor Detail

      • BaseClientSQLStore

        public BaseClientSQLStore​(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
                                  edu.uiuc.ncsa.security.storage.sql.internals.Table table,
                                  javax.inject.Provider<V> idp,
                                  edu.uiuc.ncsa.security.storage.data.MapConverter converter)
    • Method Detail

      • getByStatus

        public List<edu.uiuc.ncsa.security.core.Identifier> getByStatus​(String status,
                                                                        ClientApprovalStore clientApprovalStore)
        Get by status from the approval store. This uses a left join and should return the ids of elements with approvals that have the given status.
        Specified by:
        getByStatus in interface BaseClientStore<V extends BaseClient>
        Parameters:
        status -
        clientApprovalStore -
        Returns:
      • getCreationTSField

        public String getCreationTSField()
        Specified by:
        getCreationTSField in class edu.uiuc.ncsa.security.storage.sql.SQLStore<V extends BaseClient>
      • getKeys

        protected BaseClientKeys getKeys()
        Overrides:
        getKeys in class edu.uiuc.ncsa.security.storage.monitored.MonitoredSQLStore<V extends BaseClient>