public class SamlIdpSpSessionUtil
extends java.lang.Object
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
SamlIdpSpSessionPersistence
Constructor and Description |
---|
SamlIdpSpSessionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SamlIdpSpSession> samlIdpSpSessions)
Caches the saml idp sp sessions in the entity cache if it is enabled.
|
static void |
cacheResult(SamlIdpSpSession samlIdpSpSession)
Caches the saml idp sp session in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SamlIdpSpSession samlIdpSpSession) |
static int |
countAll()
Returns the number of saml idp sp sessions.
|
static int |
countByCreateDate(java.util.Date createDate)
Returns the number of saml idp sp sessions where createDate < ?.
|
static int |
countBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.
|
static int |
countBySISSI_SSEI(long samlIdpSsoSessionId,
java.lang.String samlSpEntityId)
Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ? and samlSpEntityId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static SamlIdpSpSession |
create(long samlIdpSpSessionId)
Creates a new saml idp sp session with the primary key.
|
static SamlIdpSpSession |
fetchByCreateDate_First(java.util.Date createDate,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where createDate < ?.
|
static SamlIdpSpSession |
fetchByCreateDate_Last(java.util.Date createDate,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where createDate < ?.
|
static SamlIdpSpSession |
fetchByPrimaryKey(long samlIdpSpSessionId)
Returns the saml idp sp session with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SamlIdpSpSession> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SamlIdpSpSession |
fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
|
static SamlIdpSpSession |
fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
|
static SamlIdpSpSession |
fetchBySISSI_SSEI(long samlIdpSsoSessionId,
java.lang.String samlSpEntityId)
Returns the saml idp sp session where samlIdpSsoSessionId = ? and samlSpEntityId = ? or returns
null if it could not be found. |
static SamlIdpSpSession |
fetchBySISSI_SSEI(long samlIdpSsoSessionId,
java.lang.String samlSpEntityId,
boolean useFinderCache)
Returns the saml idp sp session where samlIdpSsoSessionId = ? and samlSpEntityId = ? or returns
null if it could not be found, optionally using the finder cache. |
static java.util.List<SamlIdpSpSession> |
findAll()
Returns all the saml idp sp sessions.
|
static java.util.List<SamlIdpSpSession> |
findAll(int start,
int end)
Returns a range of all the saml idp sp sessions.
|
static java.util.List<SamlIdpSpSession> |
findAll(int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns an ordered range of all the saml idp sp sessions.
|
static java.util.List<SamlIdpSpSession> |
findAll(int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml idp sp sessions.
|
static SamlIdpSpSession |
findByCreateDate_First(java.util.Date createDate,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where createDate < ?.
|
static SamlIdpSpSession |
findByCreateDate_Last(java.util.Date createDate,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where createDate < ?.
|
static SamlIdpSpSession[] |
findByCreateDate_PrevAndNext(long samlIdpSpSessionId,
java.util.Date createDate,
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 java.util.List<SamlIdpSpSession> |
findByCreateDate(java.util.Date createDate)
Returns all the saml idp sp sessions where createDate < ?.
|
static java.util.List<SamlIdpSpSession> |
findByCreateDate(java.util.Date createDate,
int start,
int end)
Returns a range of all the saml idp sp sessions where createDate < ?.
|
static java.util.List<SamlIdpSpSession> |
findByCreateDate(java.util.Date createDate,
int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns an ordered range of all the saml idp sp sessions where createDate < ?.
|
static java.util.List<SamlIdpSpSession> |
findByCreateDate(java.util.Date createDate,
int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml idp sp sessions where createDate < ?.
|
static SamlIdpSpSession |
findByPrimaryKey(long samlIdpSpSessionId)
Returns the saml idp sp session with the primary key or throws a
NoSuchIdpSpSessionException if it could not be found. |
static SamlIdpSpSession |
findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
|
static SamlIdpSpSession |
findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
|
static SamlIdpSpSession[] |
findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId,
long samlIdpSsoSessionId,
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 java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
static java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId,
int start,
int end)
Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
static java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId,
int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
static java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId,
int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
static SamlIdpSpSession |
findBySISSI_SSEI(long samlIdpSsoSessionId,
java.lang.String samlSpEntityId)
Returns the saml idp sp session where samlIdpSsoSessionId = ? and samlSpEntityId = ? or throws a
NoSuchIdpSpSessionException if it could not be found. |
static java.util.List<SamlIdpSpSession> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<SamlIdpSpSession> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SamlIdpSpSession> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<SamlIdpSpSession> orderByComparator) |
static SamlIdpSpSessionPersistence |
getPersistence() |
static SamlIdpSpSession |
remove(long samlIdpSpSessionId)
Removes the saml idp sp session with the primary key from the database.
|
static void |
removeAll()
Removes all the saml idp sp sessions from the database.
|
static void |
removeByCreateDate(java.util.Date createDate)
Removes all the saml idp sp sessions where createDate < ? from the database.
|
static void |
removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.
|
static SamlIdpSpSession |
removeBySISSI_SSEI(long samlIdpSsoSessionId,
java.lang.String samlSpEntityId)
Removes the saml idp sp session where samlIdpSsoSessionId = ? and samlSpEntityId = ? from the database.
|
static SamlIdpSpSession |
update(SamlIdpSpSession samlIdpSpSession) |
static SamlIdpSpSession |
update(SamlIdpSpSession samlIdpSpSession,
ServiceContext serviceContext) |
static SamlIdpSpSession |
updateImpl(SamlIdpSpSession samlIdpSpSession) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SamlIdpSpSession samlIdpSpSession)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.Map<java.io.Serializable,SamlIdpSpSession> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SamlIdpSpSession> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.List<SamlIdpSpSession> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static java.util.List<SamlIdpSpSession> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator)
public static SamlIdpSpSession update(SamlIdpSpSession samlIdpSpSession)
public static SamlIdpSpSession update(SamlIdpSpSession samlIdpSpSession, ServiceContext serviceContext)
public static java.util.List<SamlIdpSpSession> findByCreateDate(java.util.Date createDate)
createDate
- the create datepublic static java.util.List<SamlIdpSpSession> findByCreateDate(java.util.Date createDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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)public static java.util.List<SamlIdpSpSession> findByCreateDate(java.util.Date createDate, int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)public static java.util.List<SamlIdpSpSession> findByCreateDate(java.util.Date createDate, int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SamlIdpSpSession findByCreateDate_First(java.util.Date createDate, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchByCreateDate_First(java.util.Date createDate, OrderByComparator<SamlIdpSpSession> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession findByCreateDate_Last(java.util.Date createDate, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchByCreateDate_Last(java.util.Date createDate, OrderByComparator<SamlIdpSpSession> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession[] findByCreateDate_PrevAndNext(long samlIdpSpSessionId, java.util.Date createDate, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
samlIdpSpSessionId
- the primary key of the current saml idp sp sessioncreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a saml idp sp session with the primary key could not be foundpublic static void removeByCreateDate(java.util.Date createDate)
createDate
- the create datepublic static int countByCreateDate(java.util.Date createDate)
createDate
- the create datepublic static java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDpublic static java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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)public static java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)public static java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static SamlIdpSpSession findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
samlIdpSsoSessionId
- the saml idp sso session IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, OrderByComparator<SamlIdpSpSession> orderByComparator)
samlIdpSsoSessionId
- the saml idp sso session IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
samlIdpSsoSessionId
- the saml idp sso session IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, OrderByComparator<SamlIdpSpSession> orderByComparator)
samlIdpSsoSessionId
- the saml idp sso session IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession[] findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId, long samlIdpSsoSessionId, OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
samlIdpSpSessionId
- the primary key of the current saml idp sp sessionsamlIdpSsoSessionId
- the saml idp sso session IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpSessionException
- if a saml idp sp session with the primary key could not be foundpublic static void removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDpublic static int countBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDpublic static SamlIdpSpSession findBySISSI_SSEI(long samlIdpSsoSessionId, java.lang.String samlSpEntityId) throws NoSuchIdpSpSessionException
NoSuchIdpSpSessionException
if it could not be found.samlIdpSsoSessionId
- the saml idp sso session IDsamlSpEntityId
- the saml sp entity IDNoSuchIdpSpSessionException
- if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchBySISSI_SSEI(long samlIdpSsoSessionId, java.lang.String samlSpEntityId)
null
if it could not be found. Uses the finder cache.samlIdpSsoSessionId
- the saml idp sso session IDsamlSpEntityId
- the saml sp entity IDnull
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession fetchBySISSI_SSEI(long samlIdpSsoSessionId, java.lang.String samlSpEntityId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.samlIdpSsoSessionId
- the saml idp sso session IDsamlSpEntityId
- the saml sp entity IDuseFinderCache
- whether to use the finder cachenull
if a matching saml idp sp session could not be foundpublic static SamlIdpSpSession removeBySISSI_SSEI(long samlIdpSsoSessionId, java.lang.String samlSpEntityId) throws NoSuchIdpSpSessionException
samlIdpSsoSessionId
- the saml idp sso session IDsamlSpEntityId
- the saml sp entity IDNoSuchIdpSpSessionException
public static int countBySISSI_SSEI(long samlIdpSsoSessionId, java.lang.String samlSpEntityId)
samlIdpSsoSessionId
- the saml idp sso session IDsamlSpEntityId
- the saml sp entity IDpublic static void cacheResult(SamlIdpSpSession samlIdpSpSession)
samlIdpSpSession
- the saml idp sp sessionpublic static void cacheResult(java.util.List<SamlIdpSpSession> samlIdpSpSessions)
samlIdpSpSessions
- the saml idp sp sessionspublic static SamlIdpSpSession create(long samlIdpSpSessionId)
samlIdpSpSessionId
- the primary key for the new saml idp sp sessionpublic static SamlIdpSpSession remove(long samlIdpSpSessionId) throws NoSuchIdpSpSessionException
samlIdpSpSessionId
- the primary key of the saml idp sp sessionNoSuchIdpSpSessionException
- if a saml idp sp session with the primary key could not be foundpublic static SamlIdpSpSession updateImpl(SamlIdpSpSession samlIdpSpSession)
public static SamlIdpSpSession findByPrimaryKey(long samlIdpSpSessionId) throws NoSuchIdpSpSessionException
NoSuchIdpSpSessionException
if it could not be found.samlIdpSpSessionId
- the primary key of the saml idp sp sessionNoSuchIdpSpSessionException
- if a saml idp sp session with the primary key could not be foundpublic static SamlIdpSpSession fetchByPrimaryKey(long samlIdpSpSessionId)
null
if it could not be found.samlIdpSpSessionId
- the primary key of the saml idp sp sessionnull
if a saml idp sp session with the primary key could not be foundpublic static java.util.List<SamlIdpSpSession> findAll()
public static java.util.List<SamlIdpSpSession> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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)public static java.util.List<SamlIdpSpSession> findAll(int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)public static java.util.List<SamlIdpSpSession> findAll(int start, int end, OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SamlIdpSpSessionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SamlIdpSpSessionPersistence getPersistence()