Interface SamlIdpSpSessionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSpSession>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SamlIdpSpSession samlIdpSpSession) Caches the saml idp sp session in the entity cache if it is enabled.voidcacheResult(List<SamlIdpSpSession> samlIdpSpSessions) Caches the saml idp sp sessions in the entity cache if it is enabled.intcountAll()Returns the number of saml idp sp sessions.intcountByLtCreateDate(Date createDate) Returns the number of saml idp sp sessions where createDate < ?.intcountBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.create(long samlIdpSpSessionId) Creates a new saml idp sp session with the primary key.fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where createDate < ?.fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where createDate < ?.fetchByPrimaryKey(long samlIdpSpSessionId) Returns the saml idp sp session with the primary key or returnsnullif it could not be found.fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.findAll()Returns all the saml idp sp sessions.findAll(int start, int end) Returns a range of all the saml idp sp sessions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp sp sessions.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp sessions.findByLtCreateDate(Date createDate) Returns all the saml idp sp sessions where createDate < ?.findByLtCreateDate(Date createDate, int start, int end) Returns a range of all the saml idp sp sessions where createDate < ?.findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp sp sessions where createDate < ?.findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp sessions where createDate < ?.findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where createDate < ?.findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where createDate < ?.findByLtCreateDate_PrevAndNext(long samlIdpSpSessionId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where createDate < ?.findByPrimaryKey(long samlIdpSpSessionId) Returns the saml idp sp session with the primary key or throws aNoSuchIdpSpSessionExceptionif it could not be found.findBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end) Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId, long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.remove(long samlIdpSpSessionId) Removes the saml idp sp session with the primary key from the database.voidRemoves all the saml idp sp sessions from the database.voidremoveByLtCreateDate(Date createDate) Removes all the saml idp sp sessions where createDate < ? from the database.voidremoveBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.updateImpl(SamlIdpSpSession samlIdpSpSession) 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 sp sessions where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the matching saml idp sp sessions
-
findByLtCreateDate
Returns a range of all the saml idp sp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
createDate- the create datestart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)- Returns:
- the range of matching saml idp sp sessions
-
findByLtCreateDate
List<SamlIdpSpSession> findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp sp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
createDate- the create datestart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saml idp sp sessions
-
findByLtCreateDate
List<SamlIdpSpSession> findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
createDate- the create datestart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp 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 idp sp sessions
-
findByLtCreateDate_First
SamlIdpSpSession findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the first saml idp sp 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 sp session
- Throws:
NoSuchIdpSpSessionException- if a matching saml idp sp session could not be found
-
fetchByLtCreateDate_First
SamlIdpSpSession fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp 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 sp session, or
nullif a matching saml idp sp session could not be found
-
findByLtCreateDate_Last
SamlIdpSpSession findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the last saml idp sp 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 sp session
- Throws:
NoSuchIdpSpSessionException- if a matching saml idp sp session could not be found
-
fetchByLtCreateDate_Last
SamlIdpSpSession fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp 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 sp session, or
nullif a matching saml idp sp session could not be found
-
findByLtCreateDate_PrevAndNext
SamlIdpSpSession[] findByLtCreateDate_PrevAndNext(long samlIdpSpSessionId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where createDate < ?.- Parameters:
samlIdpSpSessionId- the primary key of the current saml idp sp sessioncreateDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml idp sp session
- Throws:
NoSuchIdpSpSessionException- if a saml idp sp session with the primary key could not be found
-
removeByLtCreateDate
Removes all the saml idp sp sessions where createDate < ? from the database.- Parameters:
createDate- the create date
-
countByLtCreateDate
Returns the number of saml idp sp sessions where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the number of matching saml idp sp sessions
-
findBySamlIdpSsoSessionId
Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session ID- Returns:
- the matching saml idp sp sessions
-
findBySamlIdpSsoSessionId
Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.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 fromSamlIdpSpSessionModelImpl.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDstart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)- Returns:
- the range of matching saml idp sp sessions
-
findBySamlIdpSsoSessionId
List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.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 fromSamlIdpSpSessionModelImpl.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDstart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saml idp sp sessions
-
findBySamlIdpSsoSessionId
List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.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 fromSamlIdpSpSessionModelImpl.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDstart- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp 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 idp sp sessions
-
findBySamlIdpSsoSessionId_First
SamlIdpSpSession findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sp session
- Throws:
NoSuchIdpSpSessionException- if a matching saml idp sp session could not be found
-
fetchBySamlIdpSsoSessionId_First
SamlIdpSpSession fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sp session, or
nullif a matching saml idp sp session could not be found
-
findBySamlIdpSsoSessionId_Last
SamlIdpSpSession findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sp session
- Throws:
NoSuchIdpSpSessionException- if a matching saml idp sp session could not be found
-
fetchBySamlIdpSsoSessionId_Last
SamlIdpSpSession fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sp session, or
nullif a matching saml idp sp session could not be found
-
findBySamlIdpSsoSessionId_PrevAndNext
SamlIdpSpSession[] findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId, long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSpSessionId- the primary key of the current saml idp sp sessionsamlIdpSsoSessionId- the saml idp sso session IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml idp sp session
- Throws:
NoSuchIdpSpSessionException- if a saml idp sp session with the primary key could not be found
-
removeBySamlIdpSsoSessionId
void removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.- Parameters:
samlIdpSsoSessionId- the saml idp sso session ID
-
countBySamlIdpSsoSessionId
int countBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.- Parameters:
samlIdpSsoSessionId- the saml idp sso session ID- Returns:
- the number of matching saml idp sp sessions
-
cacheResult
Caches the saml idp sp session in the entity cache if it is enabled.- Parameters:
samlIdpSpSession- the saml idp sp session
-
cacheResult
Caches the saml idp sp sessions in the entity cache if it is enabled.- Parameters:
samlIdpSpSessions- the saml idp sp sessions
-
create
Creates a new saml idp sp session with the primary key. Does not add the saml idp sp session to the database.- Parameters:
samlIdpSpSessionId- the primary key for the new saml idp sp session- Returns:
- the new saml idp sp session
-
remove
Removes the saml idp sp session with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlIdpSpSessionId- the primary key of the saml idp sp session- Returns:
- the saml idp sp session that was removed
- Throws:
NoSuchIdpSpSessionException- if a saml idp sp session with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the saml idp sp session with the primary key or throws aNoSuchIdpSpSessionExceptionif it could not be found.- Parameters:
samlIdpSpSessionId- the primary key of the saml idp sp session- Returns:
- the saml idp sp session
- Throws:
NoSuchIdpSpSessionException- if a saml idp sp session with the primary key could not be found
-
fetchByPrimaryKey
Returns the saml idp sp session with the primary key or returnsnullif it could not be found.- Parameters:
samlIdpSpSessionId- the primary key of the saml idp sp session- Returns:
- the saml idp sp session, or
nullif a saml idp sp session with the primary key could not be found
-
findAll
List<SamlIdpSpSession> findAll()Returns all the saml idp sp sessions.- Returns:
- the saml idp sp sessions
-
findAll
Returns a range of all the saml idp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)- Returns:
- the range of saml idp sp sessions
-
findAll
List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns an ordered range of all the saml idp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp sp sessions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of saml idp sp sessions
-
findAll
List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp 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 fromSamlIdpSpSessionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp sessionsend- the upper bound of the range of saml idp 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 idp sp sessions
-
removeAll
void removeAll()Removes all the saml idp sp sessions from the database. -
countAll
int countAll()Returns the number of saml idp sp sessions.- Returns:
- the number of saml idp sp sessions
-