@ProviderType public interface SamlIdpSsoSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSsoSession>
Caching information and settings can be found in portal.properties
SamlIdpSsoSessionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SamlIdpSsoSession> samlIdpSsoSessions)
Caches the saml idp sso sessions in the entity cache if it is enabled.
|
void |
cacheResult(SamlIdpSsoSession samlIdpSsoSession)
Caches the saml idp sso session in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml idp sso sessions.
|
int |
countByLtCreateDate(java.util.Date createDate)
Returns the number of saml idp sso sessions where createDate < ?.
|
int |
countBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
Returns the number of saml idp sso sessions where samlIdpSsoSessionKey = ?.
|
SamlIdpSsoSession |
create(long samlIdpSsoSessionId)
Creates a new saml idp sso session with the primary key.
|
SamlIdpSsoSession |
fetchByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns the first saml idp sso session in the ordered set where createDate < ?.
|
SamlIdpSsoSession |
fetchByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns the last saml idp sso session in the ordered set where createDate < ?.
|
SamlIdpSsoSession |
fetchByPrimaryKey(long samlIdpSsoSessionId)
Returns the saml idp sso session with the primary key or returns
null if it could not be found. |
SamlIdpSsoSession |
fetchBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returns
null if it could not be found. |
SamlIdpSsoSession |
fetchBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey,
boolean useFinderCache)
Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<SamlIdpSsoSession> |
findAll()
Returns all the saml idp sso sessions.
|
java.util.List<SamlIdpSsoSession> |
findAll(int start,
int end)
Returns a range of all the saml idp sso sessions.
|
java.util.List<SamlIdpSsoSession> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns an ordered range of all the saml idp sso sessions.
|
java.util.List<SamlIdpSsoSession> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml idp sso sessions.
|
SamlIdpSsoSession |
findByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns the first saml idp sso session in the ordered set where createDate < ?.
|
SamlIdpSsoSession |
findByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns the last saml idp sso session in the ordered set where createDate < ?.
|
SamlIdpSsoSession[] |
findByLtCreateDate_PrevAndNext(long samlIdpSsoSessionId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns the saml idp sso sessions before and after the current saml idp sso session in the ordered set where createDate < ?.
|
java.util.List<SamlIdpSsoSession> |
findByLtCreateDate(java.util.Date createDate)
Returns all the saml idp sso sessions where createDate < ?.
|
java.util.List<SamlIdpSsoSession> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end)
Returns a range of all the saml idp sso sessions where createDate < ?.
|
java.util.List<SamlIdpSsoSession> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
Returns an ordered range of all the saml idp sso sessions where createDate < ?.
|
java.util.List<SamlIdpSsoSession> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml idp sso sessions where createDate < ?.
|
SamlIdpSsoSession |
findByPrimaryKey(long samlIdpSsoSessionId)
Returns the saml idp sso session with the primary key or throws a
NoSuchIdpSsoSessionException if it could not be found. |
SamlIdpSsoSession |
findBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
Returns the saml idp sso session where samlIdpSsoSessionKey = ? or throws a
NoSuchIdpSsoSessionException if it could not be found. |
SamlIdpSsoSession |
remove(long samlIdpSsoSessionId)
Removes the saml idp sso session with the primary key from the database.
|
void |
removeAll()
Removes all the saml idp sso sessions from the database.
|
void |
removeByLtCreateDate(java.util.Date createDate)
Removes all the saml idp sso sessions where createDate < ? from the database.
|
SamlIdpSsoSession |
removeBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
Removes the saml idp sso session where samlIdpSsoSessionKey = ? from the database.
|
SamlIdpSsoSession |
updateImpl(SamlIdpSsoSession samlIdpSsoSession) |
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<SamlIdpSsoSession> findByLtCreateDate(java.util.Date createDate)
createDate
- the create datejava.util.List<SamlIdpSsoSession> findByLtCreateDate(java.util.Date createDate, 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 SamlIdpSsoSessionModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)java.util.List<SamlIdpSsoSession> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> 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 SamlIdpSsoSessionModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlIdpSsoSession> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> 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 SamlIdpSsoSessionModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSamlIdpSsoSession findByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSsoSessionException
- if a matching saml idp sso session could not be foundSamlIdpSsoSession fetchByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sso session could not be foundSamlIdpSsoSession findByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSsoSessionException
- if a matching saml idp sso session could not be foundSamlIdpSsoSession fetchByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sso session could not be foundSamlIdpSsoSession[] findByLtCreateDate_PrevAndNext(long samlIdpSsoSessionId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException
samlIdpSsoSessionId
- the primary key of the current saml idp sso sessioncreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSsoSessionException
- if a saml idp sso session with the primary key could not be foundvoid removeByLtCreateDate(java.util.Date createDate)
createDate
- the create dateint countByLtCreateDate(java.util.Date createDate)
createDate
- the create dateSamlIdpSsoSession findBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey) throws NoSuchIdpSsoSessionException
NoSuchIdpSsoSessionException
if it could not be found.samlIdpSsoSessionKey
- the saml idp sso session keyNoSuchIdpSsoSessionException
- if a matching saml idp sso session could not be foundSamlIdpSsoSession fetchBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
null
if it could not be found. Uses the finder cache.samlIdpSsoSessionKey
- the saml idp sso session keynull
if a matching saml idp sso session could not be foundSamlIdpSsoSession fetchBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.samlIdpSsoSessionKey
- the saml idp sso session keyuseFinderCache
- whether to use the finder cachenull
if a matching saml idp sso session could not be foundSamlIdpSsoSession removeBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey) throws NoSuchIdpSsoSessionException
samlIdpSsoSessionKey
- the saml idp sso session keyNoSuchIdpSsoSessionException
int countBySamlIdpSsoSessionKey(java.lang.String samlIdpSsoSessionKey)
samlIdpSsoSessionKey
- the saml idp sso session keyvoid cacheResult(SamlIdpSsoSession samlIdpSsoSession)
samlIdpSsoSession
- the saml idp sso sessionvoid cacheResult(java.util.List<SamlIdpSsoSession> samlIdpSsoSessions)
samlIdpSsoSessions
- the saml idp sso sessionsSamlIdpSsoSession create(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the primary key for the new saml idp sso sessionSamlIdpSsoSession remove(long samlIdpSsoSessionId) throws NoSuchIdpSsoSessionException
samlIdpSsoSessionId
- the primary key of the saml idp sso sessionNoSuchIdpSsoSessionException
- if a saml idp sso session with the primary key could not be foundSamlIdpSsoSession updateImpl(SamlIdpSsoSession samlIdpSsoSession)
SamlIdpSsoSession findByPrimaryKey(long samlIdpSsoSessionId) throws NoSuchIdpSsoSessionException
NoSuchIdpSsoSessionException
if it could not be found.samlIdpSsoSessionId
- the primary key of the saml idp sso sessionNoSuchIdpSsoSessionException
- if a saml idp sso session with the primary key could not be foundSamlIdpSsoSession fetchByPrimaryKey(long samlIdpSsoSessionId)
null
if it could not be found.samlIdpSsoSessionId
- the primary key of the saml idp sso sessionnull
if a saml idp sso session with the primary key could not be foundjava.util.List<SamlIdpSsoSession> findAll()
java.util.List<SamlIdpSsoSession> 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 SamlIdpSsoSessionModelImpl
.
start
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)java.util.List<SamlIdpSsoSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> 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 SamlIdpSsoSessionModelImpl
.
start
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlIdpSsoSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> 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 SamlIdpSsoSessionModelImpl
.
start
- the lower bound of the range of saml idp sso sessionsend
- the upper bound of the range of saml idp sso sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()