Interface OpenIdConnectSessionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectSession>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the number of open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.intcountByI_S(String issuer, String sessionId) Returns the number of open ID connect sessions where issuer = ? and sessionId = ?.intcountByLtAccessTokenExpirationDate(Date accessTokenExpirationDate) Returns the number of open ID connect sessions where accessTokenExpirationDate < ?.intcountByU_A_C(long userId, String authServerWellKnownURI, String clientId) Returns the number of open ID connect sessions where userId = ? and authServerWellKnownURI = ? and clientId = ?.intcountByU_I(long userId, String issuer) Returns the number of open ID connect sessions where userId = ? and issuer = ?.intcountByUserId(long userId) Returns the number of open ID connect sessions where userId = ?.create(long openIdConnectSessionId) Creates a new open ID connect session with the primary key.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 = ?.default OpenIdConnectSessionfetchByI_S(String issuer, String sessionId) Returns the open ID connect session where issuer = ? and sessionId = ? or returnsnullif it could not be found.fetchByI_S(String issuer, String sessionId, boolean useFinderCache) Returns the open ID connect session where issuer = ? and sessionId = ? or returnsnullif it could not be found, optionally using the finder cache.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 < ?.fetchByPrimaryKey(long openIdConnectSessionId) Returns the open ID connect session with the primary key or returnsnullif it could not be found.default OpenIdConnectSessionfetchByU_A_C(long userId, String authServerWellKnownURI, String clientId) Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found.fetchByU_A_C(long userId, String authServerWellKnownURI, String clientId, boolean useFinderCache) Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.default OpenIdConnectSessionfetchByU_I(long userId, String issuer) Returns the open ID connect session where userId = ? and issuer = ? or returnsnullif it could not be found.fetchByU_I(long userId, String issuer, boolean useFinderCache) Returns the open ID connect session where userId = ? and issuer = ? or returnsnullif it could not be found, optionally using the finder cache.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 = ?.default List<OpenIdConnectSession> findByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.default 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 = ?.default 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 = ?.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 = ?.findByC_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 = ?.Returns the open ID connect session where issuer = ? and sessionId = ? or throws aNoSuchSessionExceptionif it could not be found.findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate) Returns all the open ID connect sessions where accessTokenExpirationDate < ?.findByLtAccessTokenExpirationDate(Date accessTokenExpirationDate, int start, int end) Returns a range of all the open ID connect sessions where accessTokenExpirationDate < ?.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 < ?.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 < ?.findByLtAccessTokenExpirationDate_First(Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) Returns the first open ID connect session in the ordered set where accessTokenExpirationDate < ?.findByPrimaryKey(long openIdConnectSessionId) Returns the open ID connect session with the primary key or throws aNoSuchSessionExceptionif it could not be found.findByU_A_C(long userId, String authServerWellKnownURI, String clientId) Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or throws aNoSuchSessionExceptionif it could not be found.Returns the open ID connect session where userId = ? and issuer = ? or throws aNoSuchSessionExceptionif it could not be found.default List<OpenIdConnectSession> findByUserId(long userId) Returns all the open ID connect sessions where userId = ?.default List<OpenIdConnectSession> findByUserId(long userId, int start, int end) Returns a range of all the open ID connect sessions where userId = ?.default 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 = ?.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 = ?.findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) Returns the first open ID connect session in the ordered set where userId = ?.remove(long openIdConnectSessionId) Removes the open ID connect session with the primary key from the database.voidremoveByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Removes all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.removeByI_S(String issuer, String sessionId) Removes the open ID connect session where issuer = ? and sessionId = ? from the database.voidremoveByLtAccessTokenExpirationDate(Date accessTokenExpirationDate) Removes all the open ID connect sessions where accessTokenExpirationDate < ? from the database.removeByU_A_C(long userId, String authServerWellKnownURI, String clientId) Removes the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? from the database.removeByU_I(long userId, String issuer) Removes the open ID connect session where userId = ? and issuer = ? from the database.voidremoveByUserId(long userId) Removes all the open ID connect sessions where userId = ? from the database.updateImpl(OpenIdConnectSession openIdConnectSession) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching open ID connect session, or
nullif a matching open ID connect session 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
accessTokenExpirationDate- the access token expiration datestart- the lower bound of the range of open ID connect sessionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
accessTokenExpirationDate- the access token expiration datestart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
accessTokenExpirationDate- the access token expiration datestart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 dateorderByComparator- the comparator to order the set by (optionallynull)- 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 dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
removeByLtAccessTokenExpirationDate
Removes all the open ID connect sessions where accessTokenExpirationDate < ? from the database.- Parameters:
accessTokenExpirationDate- the access token expiration date
-
countByLtAccessTokenExpirationDate
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
Returns the open ID connect session where userId = ? and issuer = ? or throws aNoSuchSessionExceptionif it could not be found.- Parameters:
userId- the user IDissuer- the issuer- Returns:
- the matching open ID connect session
- Throws:
NoSuchSessionException- if a matching open ID connect session could not be found
-
fetchByU_I
Returns the open ID connect session where userId = ? and issuer = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDissuer- the issueruseFinderCache- whether to use the finder cache- Returns:
- the matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
removeByU_I
Removes the open ID connect session where userId = ? and issuer = ? from the database.- Parameters:
userId- the user IDissuer- the issuer- Returns:
- the open ID connect session that was removed
- Throws:
NoSuchSessionException
-
countByU_I
Returns the number of open ID connect sessions where userId = ? and issuer = ?.- Parameters:
userId- the user IDissuer- the issuer- Returns:
- the number of matching open ID connect sessions
-
findByI_S
Returns the open ID connect session where issuer = ? and sessionId = ? or throws aNoSuchSessionExceptionif it could not be found.- Parameters:
issuer- the issuersessionId- the session ID- Returns:
- the matching open ID connect session
- Throws:
NoSuchSessionException- if a matching open ID connect session could not be found
-
fetchByI_S
Returns the open ID connect session where issuer = ? and sessionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
issuer- the issuersessionId- the session IDuseFinderCache- whether to use the finder cache- Returns:
- the matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
removeByI_S
Removes the open ID connect session where issuer = ? and sessionId = ? from the database.- Parameters:
issuer- the issuersessionId- the session ID- Returns:
- the open ID connect session that was removed
- Throws:
NoSuchSessionException
-
countByI_S
Returns the number of open ID connect sessions where issuer = ? and sessionId = ?.- Parameters:
issuer- the issuersessionId- the session ID- Returns:
- the number 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDstart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
removeByC_A_C
Removes all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID
-
countByC_A_C
Returns the number of open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- 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 aNoSuchSessionExceptionif it could not be found.- Parameters:
userId- the user IDauthServerWellKnownURI- the auth server well known uriclientId- 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, boolean useFinderCache) Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userId- the user IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDuseFinderCache- whether to use the finder cache- Returns:
- the matching open ID connect session, or
nullif 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 IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the open ID connect session that was removed
- Throws:
NoSuchSessionException
-
countByU_A_C
Returns the number of open ID connect sessions where userId = ? and authServerWellKnownURI = ? and clientId = ?.- Parameters:
userId- the user IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the number of matching open ID connect sessions
-
create
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
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
-
findByPrimaryKey
Returns the open ID connect session with the primary key or throws aNoSuchSessionExceptionif 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
Returns the open ID connect session with the primary key or returnsnullif it could not be found.- Parameters:
openIdConnectSessionId- the primary key of the open ID connect session- Returns:
- the open ID connect session, or
nullif a open ID connect session with the primary key could not be found
-
fetchByU_I
Returns the open ID connect session where userId = ? and issuer = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDissuer- the issuer- Returns:
- the matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
fetchByI_S
Returns the open ID connect session where issuer = ? and sessionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
issuer- the issuersessionId- the session ID- Returns:
- the matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
fetchByU_A_C
default OpenIdConnectSession fetchByU_A_C(long userId, String authServerWellKnownURI, String clientId) Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userId- the user IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching open ID connect session, or
nullif a matching open ID connect session could not be found
-
findByUserId
Returns all the open ID connect sessions where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching open ID connect sessions
-
findByUserId
Returns a range of all the open ID connect sessions where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)- Returns:
- the range of matching open ID connect sessions
-
findByUserId
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching open ID connect sessions
-
findByC_A_C
default 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 IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching open ID connect sessions
-
findByC_A_C
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDstart- the lower bound of the range of open ID connect sessionsend- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectSessionModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDstart- the lower bound of the range of open ID connect sessionsend- the upper bound of the range of open ID connect sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching open ID connect sessions
-