@ProviderType public interface SamlSpSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpSession>
Caching information and settings can be found in portal.properties
SamlSpSessionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SamlSpSession> samlSpSessions)
Caches the saml sp sessions in the entity cache if it is enabled.
|
void |
cacheResult(SamlSpSession samlSpSession)
Caches the saml sp session in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml sp sessions.
|
int |
countByC_SI(long companyId,
java.lang.String sessionIndex)
Returns the number of saml sp sessions where companyId = ? and sessionIndex = ?.
|
int |
countByJSessionId(java.lang.String jSessionId)
Returns the number of saml sp sessions where jSessionId = ?.
|
int |
countBySamlPeerBindingId(long samlPeerBindingId)
Returns the number of saml sp sessions where samlPeerBindingId = ?.
|
int |
countBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Returns the number of saml sp sessions where samlSpSessionKey = ?.
|
SamlSpSession |
create(long samlSpSessionId)
Creates a new saml sp session with the primary key.
|
SamlSpSession |
fetchByC_SI_First(long companyId,
java.lang.String sessionIndex,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
|
SamlSpSession |
fetchByC_SI_Last(long companyId,
java.lang.String sessionIndex,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
|
SamlSpSession |
fetchByJSessionId(java.lang.String jSessionId)
Returns the saml sp session where jSessionId = ? or returns
null if it could not be found. |
SamlSpSession |
fetchByJSessionId(java.lang.String jSessionId,
boolean useFinderCache)
Returns the saml sp session where jSessionId = ? or returns
null if it could not be found, optionally using the finder cache. |
SamlSpSession |
fetchByPrimaryKey(long samlSpSessionId)
Returns the saml sp session with the primary key or returns
null if it could not be found. |
SamlSpSession |
fetchBySamlPeerBindingId_First(long samlPeerBindingId,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
|
SamlSpSession |
fetchBySamlPeerBindingId_Last(long samlPeerBindingId,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.
|
SamlSpSession |
fetchBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Returns the saml sp session where samlSpSessionKey = ? or returns
null if it could not be found. |
SamlSpSession |
fetchBySamlSpSessionKey(java.lang.String samlSpSessionKey,
boolean useFinderCache)
Returns the saml sp session where samlSpSessionKey = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<SamlSpSession> |
findAll()
Returns all the saml sp sessions.
|
java.util.List<SamlSpSession> |
findAll(int start,
int end)
Returns a range of all the saml sp sessions.
|
java.util.List<SamlSpSession> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns an ordered range of all the saml sp sessions.
|
java.util.List<SamlSpSession> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp sessions.
|
SamlSpSession |
findByC_SI_First(long companyId,
java.lang.String sessionIndex,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
|
SamlSpSession |
findByC_SI_Last(long companyId,
java.lang.String sessionIndex,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
|
SamlSpSession[] |
findByC_SI_PrevAndNext(long samlSpSessionId,
long companyId,
java.lang.String sessionIndex,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the saml sp sessions before and after the current saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
|
java.util.List<SamlSpSession> |
findByC_SI(long companyId,
java.lang.String sessionIndex)
Returns all the saml sp sessions where companyId = ? and sessionIndex = ?.
|
java.util.List<SamlSpSession> |
findByC_SI(long companyId,
java.lang.String sessionIndex,
int start,
int end)
Returns a range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
|
java.util.List<SamlSpSession> |
findByC_SI(long companyId,
java.lang.String sessionIndex,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
|
java.util.List<SamlSpSession> |
findByC_SI(long companyId,
java.lang.String sessionIndex,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
|
SamlSpSession |
findByJSessionId(java.lang.String jSessionId)
Returns the saml sp session where jSessionId = ? or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findByPrimaryKey(long samlSpSessionId)
Returns the saml sp session with the primary key or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findBySamlPeerBindingId_First(long samlPeerBindingId,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
|
SamlSpSession |
findBySamlPeerBindingId_Last(long samlPeerBindingId,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.
|
SamlSpSession[] |
findBySamlPeerBindingId_PrevAndNext(long samlSpSessionId,
long samlPeerBindingId,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the saml sp sessions before and after the current saml sp session in the ordered set where samlPeerBindingId = ?.
|
java.util.List<SamlSpSession> |
findBySamlPeerBindingId(long samlPeerBindingId)
Returns all the saml sp sessions where samlPeerBindingId = ?.
|
java.util.List<SamlSpSession> |
findBySamlPeerBindingId(long samlPeerBindingId,
int start,
int end)
Returns a range of all the saml sp sessions where samlPeerBindingId = ?.
|
java.util.List<SamlSpSession> |
findBySamlPeerBindingId(long samlPeerBindingId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.
|
java.util.List<SamlSpSession> |
findBySamlPeerBindingId(long samlPeerBindingId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.
|
SamlSpSession |
findBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Returns the saml sp session where samlSpSessionKey = ? or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
remove(long samlSpSessionId)
Removes the saml sp session with the primary key from the database.
|
void |
removeAll()
Removes all the saml sp sessions from the database.
|
void |
removeByC_SI(long companyId,
java.lang.String sessionIndex)
Removes all the saml sp sessions where companyId = ? and sessionIndex = ? from the database.
|
SamlSpSession |
removeByJSessionId(java.lang.String jSessionId)
Removes the saml sp session where jSessionId = ? from the database.
|
void |
removeBySamlPeerBindingId(long samlPeerBindingId)
Removes all the saml sp sessions where samlPeerBindingId = ? from the database.
|
SamlSpSession |
removeBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Removes the saml sp session where samlSpSessionKey = ? from the database.
|
SamlSpSession |
updateImpl(SamlSpSession samlSpSession) |
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<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId)
samlPeerBindingId
- the saml peer binding IDjava.util.List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, 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 SamlSpSessionModelImpl
.
samlPeerBindingId
- the saml peer binding IDstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)java.util.List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
samlPeerBindingId
- the saml peer binding IDstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
samlPeerBindingId
- the saml peer binding IDstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSamlSpSession findBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
samlPeerBindingId
- the saml peer binding IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
samlPeerBindingId
- the saml peer binding IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp session could not be foundSamlSpSession findBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
samlPeerBindingId
- the saml peer binding IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
samlPeerBindingId
- the saml peer binding IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp session could not be foundSamlSpSession[] findBySamlPeerBindingId_PrevAndNext(long samlSpSessionId, long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
samlSpSessionId
- the primary key of the current saml sp sessionsamlPeerBindingId
- the saml peer binding IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a saml sp session with the primary key could not be foundvoid removeBySamlPeerBindingId(long samlPeerBindingId)
samlPeerBindingId
- the saml peer binding IDint countBySamlPeerBindingId(long samlPeerBindingId)
samlPeerBindingId
- the saml peer binding IDSamlSpSession findByJSessionId(java.lang.String jSessionId) throws NoSuchSpSessionException
NoSuchSpSessionException
if it could not be found.jSessionId
- the j session IDNoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchByJSessionId(java.lang.String jSessionId)
null
if it could not be found. Uses the finder cache.jSessionId
- the j session IDnull
if a matching saml sp session could not be foundSamlSpSession fetchByJSessionId(java.lang.String jSessionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.jSessionId
- the j session IDuseFinderCache
- whether to use the finder cachenull
if a matching saml sp session could not be foundSamlSpSession removeByJSessionId(java.lang.String jSessionId) throws NoSuchSpSessionException
jSessionId
- the j session IDNoSuchSpSessionException
int countByJSessionId(java.lang.String jSessionId)
jSessionId
- the j session IDSamlSpSession findBySamlSpSessionKey(java.lang.String samlSpSessionKey) throws NoSuchSpSessionException
NoSuchSpSessionException
if it could not be found.samlSpSessionKey
- the saml sp session keyNoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchBySamlSpSessionKey(java.lang.String samlSpSessionKey)
null
if it could not be found. Uses the finder cache.samlSpSessionKey
- the saml sp session keynull
if a matching saml sp session could not be foundSamlSpSession fetchBySamlSpSessionKey(java.lang.String samlSpSessionKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.samlSpSessionKey
- the saml sp session keyuseFinderCache
- whether to use the finder cachenull
if a matching saml sp session could not be foundSamlSpSession removeBySamlSpSessionKey(java.lang.String samlSpSessionKey) throws NoSuchSpSessionException
samlSpSessionKey
- the saml sp session keyNoSuchSpSessionException
int countBySamlSpSessionKey(java.lang.String samlSpSessionKey)
samlSpSessionKey
- the saml sp session keyjava.util.List<SamlSpSession> findByC_SI(long companyId, java.lang.String sessionIndex)
companyId
- the company IDsessionIndex
- the session indexjava.util.List<SamlSpSession> findByC_SI(long companyId, java.lang.String sessionIndex, 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 SamlSpSessionModelImpl
.
companyId
- the company IDsessionIndex
- the session indexstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)java.util.List<SamlSpSession> findByC_SI(long companyId, java.lang.String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
companyId
- the company IDsessionIndex
- the session indexstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlSpSession> findByC_SI(long companyId, java.lang.String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
companyId
- the company IDsessionIndex
- the session indexstart
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSamlSpSession findByC_SI_First(long companyId, java.lang.String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
companyId
- the company IDsessionIndex
- the session indexorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchByC_SI_First(long companyId, java.lang.String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
companyId
- the company IDsessionIndex
- the session indexorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp session could not be foundSamlSpSession findByC_SI_Last(long companyId, java.lang.String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
companyId
- the company IDsessionIndex
- the session indexorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a matching saml sp session could not be foundSamlSpSession fetchByC_SI_Last(long companyId, java.lang.String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
companyId
- the company IDsessionIndex
- the session indexorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp session could not be foundSamlSpSession[] findByC_SI_PrevAndNext(long samlSpSessionId, long companyId, java.lang.String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
samlSpSessionId
- the primary key of the current saml sp sessioncompanyId
- the company IDsessionIndex
- the session indexorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpSessionException
- if a saml sp session with the primary key could not be foundvoid removeByC_SI(long companyId, java.lang.String sessionIndex)
companyId
- the company IDsessionIndex
- the session indexint countByC_SI(long companyId, java.lang.String sessionIndex)
companyId
- the company IDsessionIndex
- the session indexvoid cacheResult(SamlSpSession samlSpSession)
samlSpSession
- the saml sp sessionvoid cacheResult(java.util.List<SamlSpSession> samlSpSessions)
samlSpSessions
- the saml sp sessionsSamlSpSession create(long samlSpSessionId)
samlSpSessionId
- the primary key for the new saml sp sessionSamlSpSession remove(long samlSpSessionId) throws NoSuchSpSessionException
samlSpSessionId
- the primary key of the saml sp sessionNoSuchSpSessionException
- if a saml sp session with the primary key could not be foundSamlSpSession updateImpl(SamlSpSession samlSpSession)
SamlSpSession findByPrimaryKey(long samlSpSessionId) throws NoSuchSpSessionException
NoSuchSpSessionException
if it could not be found.samlSpSessionId
- the primary key of the saml sp sessionNoSuchSpSessionException
- if a saml sp session with the primary key could not be foundSamlSpSession fetchByPrimaryKey(long samlSpSessionId)
null
if it could not be found.samlSpSessionId
- the primary key of the saml sp sessionnull
if a saml sp session with the primary key could not be foundjava.util.List<SamlSpSession> findAll()
java.util.List<SamlSpSession> 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 SamlSpSessionModelImpl
.
start
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)java.util.List<SamlSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
start
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> 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 SamlSpSessionModelImpl
.
start
- the lower bound of the range of saml sp sessionsend
- the upper bound of the range of saml sp sessions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()