Interface SamlIdpSsoSessionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSsoSession>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SamlIdpSsoSession samlIdpSsoSession) Caches the saml idp sso session in the entity cache if it is enabled.voidcacheResult(List<SamlIdpSsoSession> samlIdpSsoSessions) Caches the saml idp sso sessions in the entity cache if it is enabled.intcountAll()Returns the number of saml idp sso sessions.intcountByLtCreateDate(Date createDate) Returns the number of saml idp sso sessions where createDate < ?.intcountBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) Returns the number of saml idp sso sessions where samlIdpSsoSessionKey = ?.create(long samlIdpSsoSessionId) Creates a new saml idp sso session with the primary key.fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the first saml idp sso session in the ordered set where createDate < ?.fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the last saml idp sso session in the ordered set where createDate < ?.fetchByPrimaryKey(long samlIdpSsoSessionId) Returns the saml idp sso session with the primary key or returnsnullif it could not be found.fetchBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returnsnullif it could not be found.fetchBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey, boolean useFinderCache) Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returnsnullif it could not be found, optionally using the finder cache.findAll()Returns all the saml idp sso sessions.findAll(int start, int end) Returns a range of all the saml idp sso sessions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns an ordered range of all the saml idp sso sessions.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.findByLtCreateDate(Date createDate) Returns all the saml idp sso sessions where createDate < ?.findByLtCreateDate(Date createDate, int start, int end) Returns a range of all the saml idp sso sessions where createDate < ?.findByLtCreateDate(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 < ?.findByLtCreateDate(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 < ?.findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the first saml idp sso session in the ordered set where createDate < ?.findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the last saml idp sso session in the ordered set where createDate < ?.findByLtCreateDate_PrevAndNext(long samlIdpSsoSessionId, 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 < ?.findByPrimaryKey(long samlIdpSsoSessionId) Returns the saml idp sso session with the primary key or throws aNoSuchIdpSsoSessionExceptionif it could not be found.findBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) Returns the saml idp sso session where samlIdpSsoSessionKey = ? or throws aNoSuchIdpSsoSessionExceptionif it could not be found.remove(long samlIdpSsoSessionId) Removes the saml idp sso session with the primary key from the database.voidRemoves all the saml idp sso sessions from the database.voidremoveByLtCreateDate(Date createDate) Removes all the saml idp sso sessions where createDate < ? from the database.removeBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) Removes the saml idp sso session where samlIdpSsoSessionKey = ? from the database.updateImpl(SamlIdpSsoSession samlIdpSsoSession) 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
-
findByLtCreateDate
Returns all the saml idp sso sessions where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the matching saml idp sso sessions
-
findByLtCreateDate
Returns a range of all the saml idp sso sessions where createDate < ?.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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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)- Returns:
- the range of matching saml idp sso sessions
-
findByLtCreateDate
List<SamlIdpSsoSession> findByLtCreateDate(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 < ?.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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching saml idp sso sessions
-
findByLtCreateDate
List<SamlIdpSsoSession> findByLtCreateDate(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 < ?.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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml idp sso sessions
-
findByLtCreateDate_First
SamlIdpSsoSession findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException Returns the first saml idp sso session in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sso session
- Throws:
NoSuchIdpSsoSessionException- if a matching saml idp sso session could not be found
-
fetchByLtCreateDate_First
SamlIdpSsoSession fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the first saml idp sso session in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sso session, or
nullif a matching saml idp sso session could not be found
-
findByLtCreateDate_Last
SamlIdpSsoSession findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException Returns the last saml idp sso session in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sso session
- Throws:
NoSuchIdpSsoSessionException- if a matching saml idp sso session could not be found
-
fetchByLtCreateDate_Last
SamlIdpSsoSession fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) Returns the last saml idp sso session in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sso session, or
nullif a matching saml idp sso session could not be found
-
findByLtCreateDate_PrevAndNext
SamlIdpSsoSession[] findByLtCreateDate_PrevAndNext(long samlIdpSsoSessionId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSsoSession> orderByComparator) throws NoSuchIdpSsoSessionException Returns the saml idp sso sessions before and after the current saml idp sso session in the ordered set where createDate < ?.- Parameters:
samlIdpSsoSessionId- the primary key of the current saml idp sso sessioncreateDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml idp sso session
- Throws:
NoSuchIdpSsoSessionException- if a saml idp sso session with the primary key could not be found
-
removeByLtCreateDate
Removes all the saml idp sso sessions where createDate < ? from the database.- Parameters:
createDate- the create date
-
countByLtCreateDate
Returns the number of saml idp sso sessions where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the number of matching saml idp sso sessions
-
findBySamlIdpSsoSessionKey
SamlIdpSsoSession findBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) throws NoSuchIdpSsoSessionException Returns the saml idp sso session where samlIdpSsoSessionKey = ? or throws aNoSuchIdpSsoSessionExceptionif it could not be found.- Parameters:
samlIdpSsoSessionKey- the saml idp sso session key- Returns:
- the matching saml idp sso session
- Throws:
NoSuchIdpSsoSessionException- if a matching saml idp sso session could not be found
-
fetchBySamlIdpSsoSessionKey
Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
samlIdpSsoSessionKey- the saml idp sso session key- Returns:
- the matching saml idp sso session, or
nullif a matching saml idp sso session could not be found
-
fetchBySamlIdpSsoSessionKey
Returns the saml idp sso session where samlIdpSsoSessionKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
samlIdpSsoSessionKey- the saml idp sso session keyuseFinderCache- whether to use the finder cache- Returns:
- the matching saml idp sso session, or
nullif a matching saml idp sso session could not be found
-
removeBySamlIdpSsoSessionKey
SamlIdpSsoSession removeBySamlIdpSsoSessionKey(String samlIdpSsoSessionKey) throws NoSuchIdpSsoSessionException Removes the saml idp sso session where samlIdpSsoSessionKey = ? from the database.- Parameters:
samlIdpSsoSessionKey- the saml idp sso session key- Returns:
- the saml idp sso session that was removed
- Throws:
NoSuchIdpSsoSessionException
-
countBySamlIdpSsoSessionKey
Returns the number of saml idp sso sessions where samlIdpSsoSessionKey = ?.- Parameters:
samlIdpSsoSessionKey- the saml idp sso session key- Returns:
- the number of matching saml idp sso sessions
-
cacheResult
Caches the saml idp sso session in the entity cache if it is enabled.- Parameters:
samlIdpSsoSession- the saml idp sso session
-
cacheResult
Caches the saml idp sso sessions in the entity cache if it is enabled.- Parameters:
samlIdpSsoSessions- the saml idp sso sessions
-
create
Creates a new saml idp sso session with the primary key. Does not add the saml idp sso session to the database.- Parameters:
samlIdpSsoSessionId- the primary key for the new saml idp sso session- Returns:
- the new saml idp sso session
-
remove
Removes the saml idp sso session with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlIdpSsoSessionId- the primary key of the saml idp sso session- Returns:
- the saml idp sso session that was removed
- Throws:
NoSuchIdpSsoSessionException- if a saml idp sso session with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the saml idp sso session with the primary key or throws aNoSuchIdpSsoSessionExceptionif it could not be found.- Parameters:
samlIdpSsoSessionId- the primary key of the saml idp sso session- Returns:
- the saml idp sso session
- Throws:
NoSuchIdpSsoSessionException- if a saml idp sso session with the primary key could not be found
-
fetchByPrimaryKey
Returns the saml idp sso session with the primary key or returnsnullif it could not be found.- Parameters:
samlIdpSsoSessionId- the primary key of the saml idp sso session- Returns:
- the saml idp sso session, or
nullif a saml idp sso session with the primary key could not be found
-
findAll
List<SamlIdpSsoSession> findAll()Returns all the saml idp sso sessions.- Returns:
- the saml idp sso sessions
-
findAll
Returns a range of all the saml idp sso 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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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)- Returns:
- the range of saml idp sso sessions
-
findAll
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.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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of saml idp sso sessions
-
findAll
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.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 fromSamlIdpSsoSessionModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saml idp sso sessions
-
removeAll
void removeAll()Removes all the saml idp sso sessions from the database. -
countAll
int countAll()Returns the number of saml idp sso sessions.- Returns:
- the number of saml idp sso sessions
-