java.lang.Object
com.liferay.portal.security.sso.openid.connect.persistence.service.persistence.OpenIdConnectSessionUtil

public class OpenIdConnectSessionUtil extends Object
The persistence utility for the open ID connect session service. This utility wraps com.liferay.portal.security.sso.openid.connect.persistence.service.persistence.impl.OpenIdConnectSessionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • OpenIdConnectSessionUtil

      public OpenIdConnectSessionUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<OpenIdConnectSession> openIdConnectSessions)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(OpenIdConnectSession openIdConnectSession)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(OpenIdConnectSession openIdConnectSession)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,OpenIdConnectSession> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<OpenIdConnectSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<OpenIdConnectSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<OpenIdConnectSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static OpenIdConnectSession update(OpenIdConnectSession openIdConnectSession)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static OpenIdConnectSession update(OpenIdConnectSession openIdConnectSession, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUserId

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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
    • fetchByUserId_First

      public static 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
    • removeByUserId

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

      public static 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

      public static 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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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
    • fetchByLtAccessTokenExpirationDate_First

      public static 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
    • removeByLtAccessTokenExpirationDate

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

      public static 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
    • findByU_I

      public static OpenIdConnectSession findByU_I(long userId, String issuer) throws NoSuchSessionException
      Returns the open ID connect session where userId = ? and issuer = ? or throws a NoSuchSessionException if it could not be found.
      Parameters:
      userId - the user ID
      issuer - the issuer
      Returns:
      the matching open ID connect session
    • fetchByU_I

      public static OpenIdConnectSession fetchByU_I(long userId, String issuer, boolean useFinderCache)
      Returns the open ID connect session where userId = ? and issuer = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      userId - the user ID
      issuer - the issuer
      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_I

      public static OpenIdConnectSession removeByU_I(long userId, String issuer) throws NoSuchSessionException
      Removes the open ID connect session where userId = ? and issuer = ? from the database.
      Parameters:
      userId - the user ID
      issuer - the issuer
      Returns:
      the open ID connect session that was removed
      Throws:
      NoSuchSessionException
    • countByU_I

      public static int countByU_I(long userId, String issuer)
      Returns the number of open ID connect sessions where userId = ? and issuer = ?.
      Parameters:
      userId - the user ID
      issuer - the issuer
      Returns:
      the number of matching open ID connect sessions
    • findByI_S

      public static OpenIdConnectSession findByI_S(String issuer, String sessionId) throws NoSuchSessionException
      Returns the open ID connect session where issuer = ? and sessionId = ? or throws a NoSuchSessionException if it could not be found.
      Parameters:
      issuer - the issuer
      sessionId - the session ID
      Returns:
      the matching open ID connect session
    • fetchByI_S

      public static OpenIdConnectSession fetchByI_S(String issuer, String sessionId, boolean useFinderCache)
      Returns the open ID connect session where issuer = ? and sessionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      issuer - the issuer
      sessionId - the session 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
    • removeByI_S

      public static OpenIdConnectSession removeByI_S(String issuer, String sessionId) throws NoSuchSessionException
      Removes the open ID connect session where issuer = ? and sessionId = ? from the database.
      Parameters:
      issuer - the issuer
      sessionId - the session ID
      Returns:
      the open ID connect session that was removed
      Throws:
      NoSuchSessionException
    • countByI_S

      public static int countByI_S(String issuer, String sessionId)
      Returns the number of open ID connect sessions where issuer = ? and sessionId = ?.
      Parameters:
      issuer - the issuer
      sessionId - the session ID
      Returns:
      the number of matching open ID connect sessions
    • findByC_A_C

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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
    • fetchByC_A_C_First

      public static 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
    • removeByC_A_C

      public static 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

      public static 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

      public static 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
    • fetchByU_A_C

      public static 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

      public static 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

      public static 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
    • create

      public static 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

      public static 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
    • updateImpl

      public static OpenIdConnectSession updateImpl(OpenIdConnectSession openIdConnectSession)
    • findByPrimaryKey

      public static 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
    • fetchByPrimaryKey

      public static 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
    • fetchByU_I

      public static OpenIdConnectSession fetchByU_I(long userId, String issuer)
      Returns the open ID connect session where userId = ? and issuer = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      userId - the user ID
      issuer - the issuer
      Returns:
      the matching open ID connect session, or null if a matching open ID connect session could not be found
    • fetchByI_S

      public static OpenIdConnectSession fetchByI_S(String issuer, String sessionId)
      Returns the open ID connect session where issuer = ? and sessionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      issuer - the issuer
      sessionId - the session ID
      Returns:
      the matching open ID connect session, or null if a matching open ID connect session could not be found
    • fetchByU_A_C

      public static 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
    • findByUserId

      public static 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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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
    • findByC_A_C

      public static 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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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

      public static 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.security.sso.openid.connect.persistence.model.impl.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
    • getPersistence

      public static OpenIdConnectSessionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(OpenIdConnectSessionPersistence persistence)