@ProviderType public interface OpenIdConnectSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectSession>
Caching information and settings can be found in portal.properties
OpenIdConnectSessionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<OpenIdConnectSession> openIdConnectSessions)
Caches the open ID connect sessions in the entity cache if it is enabled.
|
void |
cacheResult(OpenIdConnectSession openIdConnectSession)
Caches the open ID connect session in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of open ID connect sessions.
|
int |
countByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the number of open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
|
int |
countByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
Returns the number of open ID connect sessions where accessTokenExpirationDate < ?.
|
int |
countByU_A_C(long userId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the number of open ID connect sessions where userId = ? and authServerWellKnownURI = ? and clientId = ?.
|
int |
countByUserId(long userId)
Returns the number of open ID connect sessions where userId = ?.
|
OpenIdConnectSession |
create(long openIdConnectSessionId)
Creates a new open ID connect session with the primary key.
|
OpenIdConnectSession |
fetchByC_A_C_First(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
OpenIdConnectSession |
fetchByC_A_C_Last(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
OpenIdConnectSession |
fetchByLtAccessTokenExpirationDate_First(java.util.Date accessTokenExpirationDate,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the first open ID connect session in the ordered set where accessTokenExpirationDate < ?.
|
OpenIdConnectSession |
fetchByLtAccessTokenExpirationDate_Last(java.util.Date accessTokenExpirationDate,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the last open ID connect session in the ordered set where accessTokenExpirationDate < ?.
|
OpenIdConnectSession |
fetchByPrimaryKey(long openIdConnectSessionId)
Returns the open ID connect session with the primary key or returns
null if it could not be found. |
OpenIdConnectSession |
fetchByU_A_C(long userId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or returns
null if it could not be found. |
OpenIdConnectSession |
fetchByU_A_C(long userId,
java.lang.String authServerWellKnownURI,
java.lang.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. |
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 = ?.
|
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 = ?.
|
java.util.List<OpenIdConnectSession> |
findAll()
Returns all the open ID connect sessions.
|
java.util.List<OpenIdConnectSession> |
findAll(int start,
int end)
Returns a range of all the open ID connect sessions.
|
java.util.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.
|
java.util.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.
|
OpenIdConnectSession |
findByC_A_C_First(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
OpenIdConnectSession |
findByC_A_C_Last(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
OpenIdConnectSession[] |
findByC_A_C_PrevAndNext(long openIdConnectSessionId,
long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
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 = ?.
|
java.util.List<OpenIdConnectSession> |
findByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
|
java.util.List<OpenIdConnectSession> |
findByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId,
int start,
int end)
Returns a range of all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
|
java.util.List<OpenIdConnectSession> |
findByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
java.util.List<OpenIdConnectSession> |
findByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.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 = ?.
|
OpenIdConnectSession |
findByLtAccessTokenExpirationDate_First(java.util.Date accessTokenExpirationDate,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the first open ID connect session in the ordered set where accessTokenExpirationDate < ?.
|
OpenIdConnectSession |
findByLtAccessTokenExpirationDate_Last(java.util.Date accessTokenExpirationDate,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the last open ID connect session in the ordered set where accessTokenExpirationDate < ?.
|
OpenIdConnectSession[] |
findByLtAccessTokenExpirationDate_PrevAndNext(long openIdConnectSessionId,
java.util.Date accessTokenExpirationDate,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the open ID connect sessions before and after the current open ID connect session in the ordered set where accessTokenExpirationDate < ?.
|
java.util.List<OpenIdConnectSession> |
findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
Returns all the open ID connect sessions where accessTokenExpirationDate < ?.
|
java.util.List<OpenIdConnectSession> |
findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate,
int start,
int end)
Returns a range of all the open ID connect sessions where accessTokenExpirationDate < ?.
|
java.util.List<OpenIdConnectSession> |
findByLtAccessTokenExpirationDate(java.util.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 < ?.
|
java.util.List<OpenIdConnectSession> |
findByLtAccessTokenExpirationDate(java.util.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 < ?.
|
OpenIdConnectSession |
findByPrimaryKey(long openIdConnectSessionId)
Returns the open ID connect session with the primary key or throws a
NoSuchSessionException if it could not be found. |
OpenIdConnectSession |
findByU_A_C(long userId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? or throws a
NoSuchSessionException if it could not be found. |
OpenIdConnectSession |
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 = ?.
|
OpenIdConnectSession |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the last open ID connect session in the ordered set where userId = ?.
|
OpenIdConnectSession[] |
findByUserId_PrevAndNext(long openIdConnectSessionId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
Returns the open ID connect sessions before and after the current open ID connect session in the ordered set where userId = ?.
|
java.util.List<OpenIdConnectSession> |
findByUserId(long userId)
Returns all the open ID connect sessions where userId = ?.
|
java.util.List<OpenIdConnectSession> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the open ID connect sessions where userId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
OpenIdConnectSession |
remove(long openIdConnectSessionId)
Removes the open ID connect session with the primary key from the database.
|
void |
removeAll()
Removes all the open ID connect sessions from the database.
|
void |
removeByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Removes all the open ID connect sessions where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
|
void |
removeByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
Removes all the open ID connect sessions where accessTokenExpirationDate < ? from the database.
|
OpenIdConnectSession |
removeByU_A_C(long userId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Removes the open ID connect session where userId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the open ID connect sessions where userId = ? from the database.
|
OpenIdConnectSession |
updateImpl(OpenIdConnectSession openIdConnectSession) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<OpenIdConnectSession> findByUserId(long userId)
userId
- the user IDjava.util.List<OpenIdConnectSession> findByUserId(long userId, int start, int end)
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
.
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)java.util.List<OpenIdConnectSession> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
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
.
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 (optionally null
)java.util.List<OpenIdConnectSession> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheOpenIdConnectSession findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession[] findByUserId_PrevAndNext(long openIdConnectSessionId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
openIdConnectSessionId
- the primary key of the current open ID connect sessionuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a open ID connect session with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDjava.util.List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
accessTokenExpirationDate
- the access token expiration datejava.util.List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate, int start, int end)
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
.
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)java.util.List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
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
.
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 (optionally null
)java.util.List<OpenIdConnectSession> findByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheOpenIdConnectSession findByLtAccessTokenExpirationDate_First(java.util.Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
accessTokenExpirationDate
- the access token expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByLtAccessTokenExpirationDate_First(java.util.Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
accessTokenExpirationDate
- the access token expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession findByLtAccessTokenExpirationDate_Last(java.util.Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
accessTokenExpirationDate
- the access token expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByLtAccessTokenExpirationDate_Last(java.util.Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
accessTokenExpirationDate
- the access token expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession[] findByLtAccessTokenExpirationDate_PrevAndNext(long openIdConnectSessionId, java.util.Date accessTokenExpirationDate, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
openIdConnectSessionId
- the primary key of the current open ID connect sessionaccessTokenExpirationDate
- the access token expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a open ID connect session with the primary key could not be foundvoid removeByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
accessTokenExpirationDate
- the access token expiration dateint countByLtAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
accessTokenExpirationDate
- the access token expiration datejava.util.List<OpenIdConnectSession> findByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDjava.util.List<OpenIdConnectSession> findByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, int start, int end)
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
.
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)java.util.List<OpenIdConnectSession> findByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
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
.
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 (optionally null
)java.util.List<OpenIdConnectSession> findByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheOpenIdConnectSession findByC_A_C_First(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByC_A_C_First(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession findByC_A_C_Last(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByC_A_C_Last(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching open ID connect session could not be foundOpenIdConnectSession[] findByC_A_C_PrevAndNext(long openIdConnectSessionId, long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator) throws NoSuchSessionException
openIdConnectSessionId
- the primary key of the current open ID connect sessioncompanyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSessionException
- if a open ID connect session with the primary key could not be foundvoid removeByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDint countByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDOpenIdConnectSession findByU_A_C(long userId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws NoSuchSessionException
NoSuchSessionException
if it could not be found.userId
- the user IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDNoSuchSessionException
- if a matching open ID connect session could not be foundOpenIdConnectSession fetchByU_A_C(long userId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
null
if it could not be found. Uses the finder cache.userId
- the user IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDnull
if a matching open ID connect session could not be foundOpenIdConnectSession fetchByU_A_C(long userId, java.lang.String authServerWellKnownURI, java.lang.String clientId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userId
- the user IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDuseFinderCache
- whether to use the finder cachenull
if a matching open ID connect session could not be foundOpenIdConnectSession removeByU_A_C(long userId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws NoSuchSessionException
userId
- the user IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDNoSuchSessionException
int countByU_A_C(long userId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
userId
- the user IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDvoid cacheResult(OpenIdConnectSession openIdConnectSession)
openIdConnectSession
- the open ID connect sessionvoid cacheResult(java.util.List<OpenIdConnectSession> openIdConnectSessions)
openIdConnectSessions
- the open ID connect sessionsOpenIdConnectSession create(long openIdConnectSessionId)
openIdConnectSessionId
- the primary key for the new open ID connect sessionOpenIdConnectSession remove(long openIdConnectSessionId) throws NoSuchSessionException
openIdConnectSessionId
- the primary key of the open ID connect sessionNoSuchSessionException
- if a open ID connect session with the primary key could not be foundOpenIdConnectSession updateImpl(OpenIdConnectSession openIdConnectSession)
OpenIdConnectSession findByPrimaryKey(long openIdConnectSessionId) throws NoSuchSessionException
NoSuchSessionException
if it could not be found.openIdConnectSessionId
- the primary key of the open ID connect sessionNoSuchSessionException
- if a open ID connect session with the primary key could not be foundOpenIdConnectSession fetchByPrimaryKey(long openIdConnectSessionId)
null
if it could not be found.openIdConnectSessionId
- the primary key of the open ID connect sessionnull
if a open ID connect session with the primary key could not be foundjava.util.List<OpenIdConnectSession> findAll()
java.util.List<OpenIdConnectSession> findAll(int start, int end)
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
.
start
- the lower bound of the range of open ID connect sessionsend
- the upper bound of the range of open ID connect sessions (not inclusive)java.util.List<OpenIdConnectSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator)
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
.
start
- 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 (optionally null
)java.util.List<OpenIdConnectSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectSession> orderByComparator, boolean useFinderCache)
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
.
start
- 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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()