Class SamlIdpSpSessionUtil
com.liferay.saml.persistence.service.persistence.impl.SamlIdpSpSessionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(SamlIdpSpSession samlIdpSpSession) Caches the saml idp sp session in the entity cache if it is enabled.static voidcacheResult(List<SamlIdpSpSession> samlIdpSpSessions) Caches the saml idp sp sessions in the entity cache if it is enabled.static voidstatic voidclearCache(SamlIdpSpSession samlIdpSpSession) static intcountAll()Returns the number of saml idp sp sessions.static intcountByLtCreateDate(Date createDate) Returns the number of saml idp sp sessions where createDate < ?.static intcountBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static SamlIdpSpSessioncreate(long samlIdpSpSessionId) Creates a new saml idp sp session with the primary key.static SamlIdpSpSessionfetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where createDate < ?.static SamlIdpSpSessionfetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where createDate < ?.static SamlIdpSpSessionfetchByPrimaryKey(long samlIdpSpSessionId) Returns the saml idp sp session with the primary key or returnsnullif it could not be found.static Map<Serializable,SamlIdpSpSession> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static SamlIdpSpSessionfetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.static SamlIdpSpSessionfetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.static List<SamlIdpSpSession>findAll()Returns all the saml idp sp sessions.static List<SamlIdpSpSession>findAll(int start, int end) Returns a range of all the saml idp sp sessions.static 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.static 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.static List<SamlIdpSpSession>findByLtCreateDate(Date createDate) Returns all the saml idp sp sessions where createDate < ?.static List<SamlIdpSpSession>findByLtCreateDate(Date createDate, int start, int end) Returns a range of all the saml idp sp sessions where createDate < ?.static 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 < ?.static 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 < ?.static SamlIdpSpSessionfindByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where createDate < ?.static SamlIdpSpSessionfindByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where createDate < ?.static SamlIdpSpSession[]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 < ?.static SamlIdpSpSessionfindByPrimaryKey(long samlIdpSpSessionId) Returns the saml idp sp session with the primary key or throws aNoSuchIdpSpSessionExceptionif it could not be found.static List<SamlIdpSpSession>findBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.static List<SamlIdpSpSession>findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end) Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.static 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 = ?.static 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 = ?.static SamlIdpSpSessionfindBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.static SamlIdpSpSessionfindBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.static SamlIdpSpSession[]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 = ?.static List<SamlIdpSpSession>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<SamlIdpSpSession>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<SamlIdpSpSession>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) static SamlIdpSpSessionPersistencestatic SamlIdpSpSessionremove(long samlIdpSpSessionId) Removes the saml idp sp session with the primary key from the database.static voidRemoves all the saml idp sp sessions from the database.static voidremoveByLtCreateDate(Date createDate) Removes all the saml idp sp sessions where createDate < ? from the database.static voidremoveBySamlIdpSsoSessionId(long samlIdpSsoSessionId) Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.static voidsetPersistence(SamlIdpSpSessionPersistence persistence) static SamlIdpSpSessionupdate(SamlIdpSpSession samlIdpSpSession) static SamlIdpSpSessionupdate(SamlIdpSpSession samlIdpSpSession, com.liferay.portal.kernel.service.ServiceContext serviceContext) static SamlIdpSpSessionupdateImpl(SamlIdpSpSession samlIdpSpSession)
-
Constructor Details
-
SamlIdpSpSessionUtil
public SamlIdpSpSessionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<SamlIdpSpSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<SamlIdpSpSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<SamlIdpSpSession> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static SamlIdpSpSession update(SamlIdpSpSession samlIdpSpSession, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
fetchByLtCreateDate_First
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
fetchByLtCreateDate_Last
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
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
public static 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 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
public static 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
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
fetchBySamlIdpSsoSessionId_First
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
fetchBySamlIdpSsoSessionId_Last
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
removeBySamlIdpSsoSessionId
public static 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
public static 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 foundNoSuchIdpSpSessionException
-
updateImpl
-
findByPrimaryKey
public static SamlIdpSpSession findByPrimaryKey(long samlIdpSpSessionId) throws NoSuchIdpSpSessionException 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 foundNoSuchIdpSpSessionException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the saml idp sp sessions from the database. -
countAll
public static int countAll()Returns the number of saml idp sp sessions.- Returns:
- the number of saml idp sp sessions
-
getPersistence
-
setPersistence
-