@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 |
countByNameIdValue(java.lang.String nameIdValue)
Returns the number of saml sp sessions where nameIdValue = ?.
|
int |
countBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Returns the number of saml sp sessions where samlSpSessionKey = ?.
|
int |
countBySessionIndex(java.lang.String sessionIndex)
Returns the number of saml sp sessions where sessionIndex = ?.
|
SamlSpSession |
create(long samlSpSessionId)
Creates a new saml sp session with the primary key.
|
SamlSpSession |
fetchByC_SI(long companyId,
java.lang.String sessionIndex)
Returns the saml sp session where companyId = ? and sessionIndex = ? or returns
null if it could not be found. |
SamlSpSession |
fetchByC_SI(long companyId,
java.lang.String sessionIndex,
boolean useFinderCache)
Returns the saml sp session where companyId = ? and sessionIndex = ? or returns
null if it could not be found, optionally using the finder cache. |
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 |
fetchByNameIdValue_First(java.lang.String nameIdValue,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where nameIdValue = ?.
|
SamlSpSession |
fetchByNameIdValue_Last(java.lang.String nameIdValue,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where nameIdValue = ?.
|
SamlSpSession |
fetchByPrimaryKey(long samlSpSessionId)
Returns the saml sp session with the primary key or returns
null if it could not be found. |
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. |
SamlSpSession |
fetchBySessionIndex(java.lang.String sessionIndex)
Returns the saml sp session where sessionIndex = ? or returns
null if it could not be found. |
SamlSpSession |
fetchBySessionIndex(java.lang.String sessionIndex,
boolean useFinderCache)
Returns the saml sp session where sessionIndex = ? 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(long companyId,
java.lang.String sessionIndex)
Returns the saml sp session where companyId = ? and sessionIndex = ? or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findByJSessionId(java.lang.String jSessionId)
Returns the saml sp session where jSessionId = ? or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findByNameIdValue_First(java.lang.String nameIdValue,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the first saml sp session in the ordered set where nameIdValue = ?.
|
SamlSpSession |
findByNameIdValue_Last(java.lang.String nameIdValue,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns the last saml sp session in the ordered set where nameIdValue = ?.
|
SamlSpSession[] |
findByNameIdValue_PrevAndNext(long samlSpSessionId,
java.lang.String nameIdValue,
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 nameIdValue = ?.
|
java.util.List<SamlSpSession> |
findByNameIdValue(java.lang.String nameIdValue)
Returns all the saml sp sessions where nameIdValue = ?.
|
java.util.List<SamlSpSession> |
findByNameIdValue(java.lang.String nameIdValue,
int start,
int end)
Returns a range of all the saml sp sessions where nameIdValue = ?.
|
java.util.List<SamlSpSession> |
findByNameIdValue(java.lang.String nameIdValue,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
Returns an ordered range of all the saml sp sessions where nameIdValue = ?.
|
java.util.List<SamlSpSession> |
findByNameIdValue(java.lang.String nameIdValue,
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 nameIdValue = ?.
|
SamlSpSession |
findByPrimaryKey(long samlSpSessionId)
Returns the saml sp session with the primary key or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Returns the saml sp session where samlSpSessionKey = ? or throws a
NoSuchSpSessionException if it could not be found. |
SamlSpSession |
findBySessionIndex(java.lang.String sessionIndex)
Returns the saml sp session where sessionIndex = ? 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.
|
SamlSpSession |
removeByC_SI(long companyId,
java.lang.String sessionIndex)
Removes the saml sp session where companyId = ? and sessionIndex = ? from the database.
|
SamlSpSession |
removeByJSessionId(java.lang.String jSessionId)
Removes the saml sp session where jSessionId = ? from the database.
|
void |
removeByNameIdValue(java.lang.String nameIdValue)
Removes all the saml sp sessions where nameIdValue = ? from the database.
|
SamlSpSession |
removeBySamlSpSessionKey(java.lang.String samlSpSessionKey)
Removes the saml sp session where samlSpSessionKey = ? from the database.
|
SamlSpSession |
removeBySessionIndex(java.lang.String sessionIndex)
Removes the saml sp session where sessionIndex = ? 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, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updateSamlSpSession 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 keyNoSuchSpSessionExceptionint countBySamlSpSessionKey(java.lang.String samlSpSessionKey)
samlSpSessionKey - the saml sp session keySamlSpSession 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 IDNoSuchSpSessionExceptionint countByJSessionId(java.lang.String jSessionId)
jSessionId - the j session IDjava.util.List<SamlSpSession> findByNameIdValue(java.lang.String nameIdValue)
nameIdValue - the name ID valuejava.util.List<SamlSpSession> findByNameIdValue(java.lang.String nameIdValue, 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.
nameIdValue - the name ID valuestart - 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> findByNameIdValue(java.lang.String nameIdValue, 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.
nameIdValue - the name ID valuestart - 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> findByNameIdValue(java.lang.String nameIdValue, 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.
nameIdValue - the name ID valuestart - 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 findByNameIdValue_First(java.lang.String nameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
nameIdValue - the name ID valueorderByComparator - the comparator to order the set by (optionally null)NoSuchSpSessionException - if a matching saml sp session could not be foundSamlSpSession fetchByNameIdValue_First(java.lang.String nameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
nameIdValue - the name ID valueorderByComparator - the comparator to order the set by (optionally null)null if a matching saml sp session could not be foundSamlSpSession findByNameIdValue_Last(java.lang.String nameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
nameIdValue - the name ID valueorderByComparator - the comparator to order the set by (optionally null)NoSuchSpSessionException - if a matching saml sp session could not be foundSamlSpSession fetchByNameIdValue_Last(java.lang.String nameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
nameIdValue - the name ID valueorderByComparator - the comparator to order the set by (optionally null)null if a matching saml sp session could not be foundSamlSpSession[] findByNameIdValue_PrevAndNext(long samlSpSessionId, java.lang.String nameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
samlSpSessionId - the primary key of the current saml sp sessionnameIdValue - the name ID valueorderByComparator - the comparator to order the set by (optionally null)NoSuchSpSessionException - if a saml sp session with the primary key could not be foundvoid removeByNameIdValue(java.lang.String nameIdValue)
nameIdValue - the name ID valueint countByNameIdValue(java.lang.String nameIdValue)
nameIdValue - the name ID valueSamlSpSession findBySessionIndex(java.lang.String sessionIndex) throws NoSuchSpSessionException
NoSuchSpSessionException if it could not be found.sessionIndex - the session indexNoSuchSpSessionException - if a matching saml sp session could not be foundSamlSpSession fetchBySessionIndex(java.lang.String sessionIndex)
null if it could not be found. Uses the finder cache.sessionIndex - the session indexnull if a matching saml sp session could not be foundSamlSpSession fetchBySessionIndex(java.lang.String sessionIndex, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.sessionIndex - the session indexuseFinderCache - whether to use the finder cachenull if a matching saml sp session could not be foundSamlSpSession removeBySessionIndex(java.lang.String sessionIndex) throws NoSuchSpSessionException
sessionIndex - the session indexNoSuchSpSessionExceptionint countBySessionIndex(java.lang.String sessionIndex)
sessionIndex - the session indexSamlSpSession findByC_SI(long companyId, java.lang.String sessionIndex) throws NoSuchSpSessionException
NoSuchSpSessionException if it could not be found.companyId - the company IDsessionIndex - the session indexNoSuchSpSessionException - if a matching saml sp session could not be foundSamlSpSession fetchByC_SI(long companyId, java.lang.String sessionIndex)
null if it could not be found. Uses the finder cache.companyId - the company IDsessionIndex - the session indexnull if a matching saml sp session could not be foundSamlSpSession fetchByC_SI(long companyId, java.lang.String sessionIndex, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDsessionIndex - the session indexuseFinderCache - whether to use the finder cachenull if a matching saml sp session could not be foundSamlSpSession removeByC_SI(long companyId, java.lang.String sessionIndex) throws NoSuchSpSessionException
companyId - the company IDsessionIndex - the session indexNoSuchSpSessionExceptionint 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()