Interface SamlSpSessionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpSession>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SamlSpSession samlSpSession) Caches the saml sp session in the entity cache if it is enabled.voidcacheResult(List<SamlSpSession> samlSpSessions) Caches the saml sp sessions in the entity cache if it is enabled.intcountAll()Returns the number of saml sp sessions.intcountByC_SI(long companyId, String sessionIndex) Returns the number of saml sp sessions where companyId = ? and sessionIndex = ?.intcountByJSessionId(String jSessionId) Returns the number of saml sp sessions where jSessionId = ?.intcountBySamlPeerBindingId(long samlPeerBindingId) Returns the number of saml sp sessions where samlPeerBindingId = ?.intcountBySamlSpSessionKey(String samlSpSessionKey) Returns the number of saml sp sessions where samlSpSessionKey = ?.create(long samlSpSessionId) Creates a new saml sp session with the primary key.fetchByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.fetchByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.fetchByJSessionId(String jSessionId) Returns the saml sp session where jSessionId = ? or returnsnullif it could not be found.fetchByJSessionId(String jSessionId, boolean useFinderCache) Returns the saml sp session where jSessionId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long samlSpSessionId) Returns the saml sp session with the primary key or returnsnullif it could not be found.fetchBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.fetchBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.fetchBySamlSpSessionKey(String samlSpSessionKey) Returns the saml sp session where samlSpSessionKey = ? or returnsnullif it could not be found.fetchBySamlSpSessionKey(String samlSpSessionKey, boolean useFinderCache) Returns the saml sp session where samlSpSessionKey = ? or returnsnullif it could not be found, optionally using the finder cache.findAll()Returns all the saml sp sessions.findAll(int start, int end) Returns a range of all the saml sp sessions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns an ordered range of all the saml sp sessions.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.findByC_SI(long companyId, String sessionIndex) Returns all the saml sp sessions where companyId = ? and sessionIndex = ?.findByC_SI(long companyId, String sessionIndex, int start, int end) Returns a range of all the saml sp sessions where companyId = ? and sessionIndex = ?.findByC_SI(long companyId, 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 = ?.findByC_SI(long companyId, 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 = ?.findByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.findByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.findByC_SI_PrevAndNext(long samlSpSessionId, long companyId, 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 = ?.findByJSessionId(String jSessionId) Returns the saml sp session where jSessionId = ? or throws aNoSuchSpSessionExceptionif it could not be found.findByPrimaryKey(long samlSpSessionId) Returns the saml sp session with the primary key or throws aNoSuchSpSessionExceptionif it could not be found.findBySamlPeerBindingId(long samlPeerBindingId) Returns all the saml sp sessions where samlPeerBindingId = ?.findBySamlPeerBindingId(long samlPeerBindingId, int start, int end) Returns a range of all the saml sp sessions where samlPeerBindingId = ?.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 = ?.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 = ?.findBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.findBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.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 = ?.findBySamlSpSessionKey(String samlSpSessionKey) Returns the saml sp session where samlSpSessionKey = ? or throws aNoSuchSpSessionExceptionif it could not be found.remove(long samlSpSessionId) Removes the saml sp session with the primary key from the database.voidRemoves all the saml sp sessions from the database.voidremoveByC_SI(long companyId, String sessionIndex) Removes all the saml sp sessions where companyId = ? and sessionIndex = ? from the database.removeByJSessionId(String jSessionId) Removes the saml sp session where jSessionId = ? from the database.voidremoveBySamlPeerBindingId(long samlPeerBindingId) Removes all the saml sp sessions where samlPeerBindingId = ? from the database.removeBySamlSpSessionKey(String samlSpSessionKey) Removes the saml sp session where samlSpSessionKey = ? from the database.updateImpl(SamlSpSession samlSpSession) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findBySamlPeerBindingId
Returns all the saml sp sessions where samlPeerBindingId = ?.- Parameters:
samlPeerBindingId- the saml peer binding ID- Returns:
- the matching saml sp sessions
-
findBySamlPeerBindingId
Returns a range of all the saml sp sessions where samlPeerBindingId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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)- Returns:
- the range of matching saml sp sessions
-
findBySamlPeerBindingId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching saml sp sessions
-
findBySamlPeerBindingId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml sp sessions
-
findBySamlPeerBindingId_First
SamlSpSession findBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.- Parameters:
samlPeerBindingId- the saml peer binding IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchBySamlPeerBindingId_First
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 = ?.- Parameters:
samlPeerBindingId- the saml peer binding IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp session, or
nullif a matching saml sp session could not be found
-
findBySamlPeerBindingId_Last
SamlSpSession findBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.- Parameters:
samlPeerBindingId- the saml peer binding IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchBySamlPeerBindingId_Last
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 = ?.- Parameters:
samlPeerBindingId- the saml peer binding IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp session, or
nullif a matching saml sp session could not be found
-
findBySamlPeerBindingId_PrevAndNext
SamlSpSession[] findBySamlPeerBindingId_PrevAndNext(long samlSpSessionId, long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the saml sp sessions before and after the current saml sp session in the ordered set where samlPeerBindingId = ?.- Parameters:
samlSpSessionId- the primary key of the current saml sp sessionsamlPeerBindingId- the saml peer binding IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml sp session
- Throws:
NoSuchSpSessionException- if a saml sp session with the primary key could not be found
-
removeBySamlPeerBindingId
void removeBySamlPeerBindingId(long samlPeerBindingId) Removes all the saml sp sessions where samlPeerBindingId = ? from the database.- Parameters:
samlPeerBindingId- the saml peer binding ID
-
countBySamlPeerBindingId
int countBySamlPeerBindingId(long samlPeerBindingId) Returns the number of saml sp sessions where samlPeerBindingId = ?.- Parameters:
samlPeerBindingId- the saml peer binding ID- Returns:
- the number of matching saml sp sessions
-
findByJSessionId
Returns the saml sp session where jSessionId = ? or throws aNoSuchSpSessionExceptionif it could not be found.- Parameters:
jSessionId- the j session ID- Returns:
- the matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchByJSessionId
Returns the saml sp session where jSessionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
jSessionId- the j session ID- Returns:
- the matching saml sp session, or
nullif a matching saml sp session could not be found
-
fetchByJSessionId
Returns the saml sp session where jSessionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
jSessionId- the j session IDuseFinderCache- whether to use the finder cache- Returns:
- the matching saml sp session, or
nullif a matching saml sp session could not be found
-
removeByJSessionId
Removes the saml sp session where jSessionId = ? from the database.- Parameters:
jSessionId- the j session ID- Returns:
- the saml sp session that was removed
- Throws:
NoSuchSpSessionException
-
countByJSessionId
Returns the number of saml sp sessions where jSessionId = ?.- Parameters:
jSessionId- the j session ID- Returns:
- the number of matching saml sp sessions
-
findBySamlSpSessionKey
Returns the saml sp session where samlSpSessionKey = ? or throws aNoSuchSpSessionExceptionif it could not be found.- Parameters:
samlSpSessionKey- the saml sp session key- Returns:
- the matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchBySamlSpSessionKey
Returns the saml sp session where samlSpSessionKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
samlSpSessionKey- the saml sp session key- Returns:
- the matching saml sp session, or
nullif a matching saml sp session could not be found
-
fetchBySamlSpSessionKey
Returns the saml sp session where samlSpSessionKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
samlSpSessionKey- the saml sp session keyuseFinderCache- whether to use the finder cache- Returns:
- the matching saml sp session, or
nullif a matching saml sp session could not be found
-
removeBySamlSpSessionKey
Removes the saml sp session where samlSpSessionKey = ? from the database.- Parameters:
samlSpSessionKey- the saml sp session key- Returns:
- the saml sp session that was removed
- Throws:
NoSuchSpSessionException
-
countBySamlSpSessionKey
Returns the number of saml sp sessions where samlSpSessionKey = ?.- Parameters:
samlSpSessionKey- the saml sp session key- Returns:
- the number of matching saml sp sessions
-
findByC_SI
Returns all the saml sp sessions where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session index- Returns:
- the matching saml sp sessions
-
findByC_SI
Returns a range of all the saml sp sessions where companyId = ? and sessionIndex = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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)- Returns:
- the range of matching saml sp sessions
-
findByC_SI
List<SamlSpSession> findByC_SI(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching saml sp sessions
-
findByC_SI
List<SamlSpSession> findByC_SI(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml sp sessions
-
findByC_SI_First
SamlSpSession findByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session indexorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchByC_SI_First
SamlSpSession fetchByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session indexorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp session, or
nullif a matching saml sp session could not be found
-
findByC_SI_Last
SamlSpSession findByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session indexorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp session
- Throws:
NoSuchSpSessionException- if a matching saml sp session could not be found
-
fetchByC_SI_Last
SamlSpSession fetchByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session indexorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp session, or
nullif a matching saml sp session could not be found
-
findByC_SI_PrevAndNext
SamlSpSession[] findByC_SI_PrevAndNext(long samlSpSessionId, long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException Returns the saml sp sessions before and after the current saml sp session in the ordered set where companyId = ? and sessionIndex = ?.- Parameters:
samlSpSessionId- the primary key of the current saml sp sessioncompanyId- the company IDsessionIndex- the session indexorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml sp session
- Throws:
NoSuchSpSessionException- if a saml sp session with the primary key could not be found
-
removeByC_SI
Removes all the saml sp sessions where companyId = ? and sessionIndex = ? from the database.- Parameters:
companyId- the company IDsessionIndex- the session index
-
countByC_SI
Returns the number of saml sp sessions where companyId = ? and sessionIndex = ?.- Parameters:
companyId- the company IDsessionIndex- the session index- Returns:
- the number of matching saml sp sessions
-
cacheResult
Caches the saml sp session in the entity cache if it is enabled.- Parameters:
samlSpSession- the saml sp session
-
cacheResult
Caches the saml sp sessions in the entity cache if it is enabled.- Parameters:
samlSpSessions- the saml sp sessions
-
create
Creates a new saml sp session with the primary key. Does not add the saml sp session to the database.- Parameters:
samlSpSessionId- the primary key for the new saml sp session- Returns:
- the new saml sp session
-
remove
Removes the saml sp session with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlSpSessionId- the primary key of the saml sp session- Returns:
- the saml sp session that was removed
- Throws:
NoSuchSpSessionException- if a saml sp session with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the saml sp session with the primary key or throws aNoSuchSpSessionExceptionif it could not be found.- Parameters:
samlSpSessionId- the primary key of the saml sp session- Returns:
- the saml sp session
- Throws:
NoSuchSpSessionException- if a saml sp session with the primary key could not be found
-
fetchByPrimaryKey
Returns the saml sp session with the primary key or returnsnullif it could not be found.- Parameters:
samlSpSessionId- the primary key of the saml sp session- Returns:
- the saml sp session, or
nullif a saml sp session with the primary key could not be found
-
findAll
List<SamlSpSession> findAll()Returns all the saml sp sessions.- Returns:
- the saml sp sessions
-
findAll
Returns a range of all the saml sp sessions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
start- the lower bound of the range of saml sp sessionsend- the upper bound of the range of saml sp sessions (not inclusive)- Returns:
- the range of saml sp sessions
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of saml sp sessions
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlSpSessionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saml sp sessions
-
removeAll
void removeAll()Removes all the saml sp sessions from the database. -
countAll
int countAll()Returns the number of saml sp sessions.- Returns:
- the number of saml sp sessions
-