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 TypeMethodDescriptionintcountByLtCreateDate(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 < ?.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 = ?.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 < ?.findByPrimaryKey(long samlIdpSpSessionId) Returns the saml idp sp session with the primary key or throws aNoSuchIdpSpSessionExceptionif it could not be found.default List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.default List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end) Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.default 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 = ?.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 = ?.remove(long samlIdpSpSessionId) Removes the saml idp sp session with the primary key 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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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
-
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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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
-
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
-
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
-
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
default List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end) 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.saml.persistence.model.impl.SamlIdpSpSessionModelImpl.- 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
-