Interface OpenIdConnectSessionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectSession>

@ProviderType public interface OpenIdConnectSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectSession>
The persistence interface for the open ID connect session service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUserId

      List<OpenIdConnectSession> findByUserId(long userId)
      Returns all the open ID connect sessions where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching open ID connect sessions
    • findByUserId

      List<OpenIdConnectSession> findByUserId(long userId, int start, int end)
      Returns a range of all the open ID connect sessions where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      Returns:
      the range of matching open ID connect sessions
    • findByUserId

      List<OpenIdConnectSession> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns an ordered range of all the open ID connect sessions where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching open ID connect sessions
    • findByUserId

      List<OpenIdConnectSession> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the open ID connect sessions where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching open ID connect sessions
    • findByUserId_First

      OpenIdConnectSession findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the first open ID connect session in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByUserId_First

      OpenIdConnectSession fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the first open ID connect session in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByUserId_Last

      OpenIdConnectSession findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the last open ID connect session in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByUserId_Last

      OpenIdConnectSession fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the last open ID connect session in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByUserId_PrevAndNext

      OpenIdConnectSession[] findByUserId_PrevAndNext(long openIdConnectSessionId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the open ID connect sessions before and after the current open ID connect session in the ordered set where userId = ?.
      Parameters:
      openIdConnectSessionId - the primary key of the current open ID connect session
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next open ID connect session
      Throws:
      NoSuchSessionException - if a open ID connect session with the primary key could not be found
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the open ID connect sessions where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      int countByUserId(long userId)
      Returns the number of open ID connect sessions where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching open ID connect sessions
    • findByLtAccessTokenExpirationDate

      List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate)
      Returns all the open ID connect sessions where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      Returns:
      the matching open ID connect sessions
    • findByLtAccessTokenExpirationDate

      List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate, int start, int end)
      Returns a range of all the open ID connect sessions where accessTokenExpirationDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      accessTokenExpirationDate - the access token expiration date
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      Returns:
      the range of matching open ID connect sessions
    • findByLtAccessTokenExpirationDate

      List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns an ordered range of all the open ID connect sessions where accessTokenExpirationDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      accessTokenExpirationDate - the access token expiration date
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching open ID connect sessions
    • findByLtAccessTokenExpirationDate

      List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the open ID connect sessions where accessTokenExpirationDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      accessTokenExpirationDate - the access token expiration date
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching open ID connect sessions
    • findByLtAccessTokenExpirationDate_First

      OpenIdConnectSession findByLtAccessTokenExpirationDate_First(Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the first open ID connect session in the ordered set where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByLtAccessTokenExpirationDate_First

      OpenIdConnectSession fetchByLtAccessTokenExpirationDate_First(Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the first open ID connect session in the ordered set where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByLtAccessTokenExpirationDate_Last

      OpenIdConnectSession findByLtAccessTokenExpirationDate_Last(Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the last open ID connect session in the ordered set where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByLtAccessTokenExpirationDate_Last

      OpenIdConnectSession fetchByLtAccessTokenExpirationDate_Last(Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the last open ID connect session in the ordered set where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByLtAccessTokenExpirationDate_PrevAndNext

      OpenIdConnectSession[] findByLtAccessTokenExpirationDate_PrevAndNext(long openIdConnectSessionId, Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the open ID connect sessions before and after the current open ID connect session in the ordered set where accessTokenExpirationDate < ?.
      Parameters:
      openIdConnectSessionId - the primary key of the current open ID connect session
      accessTokenExpirationDate - the access token expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next open ID connect session
      Throws:
      NoSuchSessionException - if a open ID connect session with the primary key could not be found
    • removeByLtAccessTokenExpirationDate

      void removeByLtAccessTokenExpirationDate(Date accessTokenExpirationDate)
      Removes all the open ID connect sessions where accessTokenExpirationDate < ? from the database.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
    • countByLtAccessTokenExpirationDate

      int countByLtAccessTokenExpirationDate(Date accessTokenExpirationDate)
      Returns the number of open ID connect sessions where accessTokenExpirationDate < ?.
      Parameters:
      accessTokenExpirationDate - the access token expiration date
      Returns:
      the number of matching open ID connect sessions
    • findByC_A_C

      List<OpenIdConnectSession> findByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
      Returns all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the matching open ID connect sessions
    • findByC_A_C

      List<OpenIdConnectSession> findByC_A_C(long companyId, String authServerWellKnownURI, String clientId, int start, int end)
      Returns a range of all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      Returns:
      the range of matching open ID connect sessions
    • findByC_A_C

      List<OpenIdConnectSession> findByC_A_C(long companyId, String authServerWellKnownURI, String clientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns an ordered range of all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching open ID connect sessions
    • findByC_A_C

      List<OpenIdConnectSession> findByC_A_C(long companyId, String authServerWellKnownURI, String clientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching open ID connect sessions
    • findByC_A_C_First

      OpenIdConnectSession findByC_A_C_First(long companyId, String authServerWellKnownURI, String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the first open ID connect session in the ordered set where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByC_A_C_First

      OpenIdConnectSession fetchByC_A_C_First(long companyId, String authServerWellKnownURI, String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the first open ID connect session in the ordered set where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByC_A_C_Last

      OpenIdConnectSession findByC_A_C_Last(long companyId, String authServerWellKnownURI, String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the last open ID connect session in the ordered set where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByC_A_C_Last

      OpenIdConnectSession fetchByC_A_C_Last(long companyId, String authServerWellKnownURI, String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns the last open ID connect session in the ordered set where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching open ID connect session, or null if a matching open ID connect session could not be found
    • findByC_A_C_PrevAndNext

      OpenIdConnectSession[] findByC_A_C_PrevAndNext(long openIdConnectSessionId, long companyId, String authServerWellKnownURI, String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
      Returns the open ID connect sessions before and after the current open ID connect session in the ordered set where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      openIdConnectSessionId - the primary key of the current open ID connect session
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next open ID connect session
      Throws:
      NoSuchSessionException - if a open ID connect session with the primary key could not be found
    • removeByC_A_C

      void removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
      Removes all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
    • countByC_A_C

      int countByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
      Returns the number of open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the number of matching open ID connect sessions
    • findByU_A_C

      OpenIdConnectSession findByU_A_C(long userId, String authServerWellKnownURI, String clientId) throws NoSuchSessionException
      Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or throws a NoSuchSessionException if it could not be found.
      Parameters:
      userId - the user ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the matching open ID connect session
      Throws:
      NoSuchSessionException - if a matching open ID connect session could not be found
    • fetchByU_A_C

      OpenIdConnectSession fetchByU_A_C(long userId, String authServerWellKnownURI, String clientId)
      Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      userId - the user ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the matching open ID connect session, or null if a matching open ID connect session could not be found
    • fetchByU_A_C

      OpenIdConnectSession fetchByU_A_C(long userId, String authServerWellKnownURI, String clientId, boolean useFinderCache)
      Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      userId - the user ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching open ID connect session, or null if a matching open ID connect session could not be found
    • removeByU_A_C

      OpenIdConnectSession removeByU_A_C(long userId, String authServerWellKnownURI, String clientId) throws NoSuchSessionException
      Removes the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
      Parameters:
      userId - the user ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the open ID connect session that was removed
      Throws:
      NoSuchSessionException
    • countByU_A_C

      int countByU_A_C(long userId, String authServerWellKnownURI, String clientId)
      Returns the number of open ID connect sessions where userId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      userId - the user ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the number of matching open ID connect sessions
    • cacheResult

      void cacheResult(OpenIdConnectSession openIdConnectSession)
      Caches the open ID connect session in the entity cache if it is enabled.
      Parameters:
      openIdConnectSession - the open ID connect session
    • cacheResult

      void cacheResult(List<OpenIdConnectSession> openIdConnectSessions)
      Caches the open ID connect sessions in the entity cache if it is enabled.
      Parameters:
      openIdConnectSessions - the open ID connect sessions
    • create

      OpenIdConnectSession create(long openIdConnectSessionId)
      Creates a new open ID connect session with the primary key. Does not add the open ID connect session to the database.
      Parameters:
      openIdConnectSessionId - the primary key for the new open ID connect session
      Returns:
      the new open ID connect session
    • remove

      OpenIdConnectSession remove(long openIdConnectSessionId) throws NoSuchSessionException
      Removes the open ID connect session with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      openIdConnectSessionId - the primary key of the open ID connect session
      Returns:
      the open ID connect session that was removed
      Throws:
      NoSuchSessionException - if a open ID connect session with the primary key could not be found
    • updateImpl

      OpenIdConnectSession updateImpl(OpenIdConnectSession openIdConnectSession)
    • findByPrimaryKey

      OpenIdConnectSession findByPrimaryKey(long openIdConnectSessionId) throws NoSuchSessionException
      Returns the open ID connect session with the primary key or throws a NoSuchSessionException if it could not be found.
      Parameters:
      openIdConnectSessionId - the primary key of the open ID connect session
      Returns:
      the open ID connect session
      Throws:
      NoSuchSessionException - if a open ID connect session with the primary key could not be found
    • fetchByPrimaryKey

      OpenIdConnectSession fetchByPrimaryKey(long openIdConnectSessionId)
      Returns the open ID connect session with the primary key or returns null if it could not be found.
      Parameters:
      openIdConnectSessionId - the primary key of the open ID connect session
      Returns:
      the open ID connect session, or null if a open ID connect session with the primary key could not be found
    • findAll

      Returns all the open ID connect sessions.
      Returns:
      the open ID connect sessions
    • findAll

      List<OpenIdConnectSession> findAll(int start, int end)
      Returns a range of all the open ID connect sessions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      Returns:
      the range of open ID connect sessions
    • findAll

      List<OpenIdConnectSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      Returns an ordered range of all the open ID connect sessions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of open ID connect sessions
    • findAll

      List<OpenIdConnectSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the open ID connect sessions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from OpenIdConnectSessionModelImpl.

      Parameters:
      start - the lower bound of the range of open ID connect sessions
      end - the upper bound of the range of open ID connect sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of open ID connect sessions
    • removeAll

      void removeAll()
      Removes all the open ID connect sessions from the database.
    • countAll

      int countAll()
      Returns the number of open ID connect sessions.
      Returns:
      the number of open ID connect sessions