@ProviderType public interface SamlIdpSpSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSpSession>
Caching information and settings can be found in portal.properties
SamlIdpSpSessionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SamlIdpSpSession> samlIdpSpSessions)
Caches the saml idp sp sessions in the entity cache if it is enabled.
|
void |
cacheResult(SamlIdpSpSession samlIdpSpSession)
Caches the saml idp sp session in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml idp sp sessions.
|
int |
countByLtCreateDate(java.util.Date createDate)
Returns the number of saml idp sp sessions where createDate < ?.
|
int |
countBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.
|
SamlIdpSpSession |
create(long samlIdpSpSessionId)
Creates a new saml idp sp session with the primary key.
|
SamlIdpSpSession |
fetchByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where createDate < ?.
|
SamlIdpSpSession |
fetchByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where createDate < ?.
|
SamlIdpSpSession |
fetchByPrimaryKey(long samlIdpSpSessionId)
Returns the saml idp sp session with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
java.util.List<SamlIdpSpSession> |
findAll()
Returns all the saml idp sp sessions.
|
java.util.List<SamlIdpSpSession> |
findAll(int start,
int end)
Returns a range of all the saml idp sp sessions.
|
java.util.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.
|
java.util.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.
|
SamlIdpSpSession |
findByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the first saml idp sp session in the ordered set where createDate < ?.
|
SamlIdpSpSession |
findByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
Returns the last saml idp sp session in the ordered set where createDate < ?.
|
SamlIdpSpSession[] |
findByLtCreateDate_PrevAndNext(long samlIdpSpSessionId,
java.util.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 < ?.
|
java.util.List<SamlIdpSpSession> |
findByLtCreateDate(java.util.Date createDate)
Returns all the saml idp sp sessions where createDate < ?.
|
java.util.List<SamlIdpSpSession> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end)
Returns a range of all the saml idp sp sessions where createDate < ?.
|
java.util.List<SamlIdpSpSession> |
findByLtCreateDate(java.util.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 < ?.
|
java.util.List<SamlIdpSpSession> |
findByLtCreateDate(java.util.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 < ?.
|
SamlIdpSpSession |
findByPrimaryKey(long samlIdpSpSessionId)
Returns the saml idp sp session with the primary key or throws a
NoSuchIdpSpSessionException if it could not be found. |
SamlIdpSpSession |
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 = ?.
|
SamlIdpSpSession |
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 = ?.
|
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 = ?.
|
java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
java.util.List<SamlIdpSpSession> |
findBySamlIdpSsoSessionId(long samlIdpSsoSessionId,
int start,
int end)
Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
SamlIdpSpSession |
remove(long samlIdpSpSessionId)
Removes the saml idp sp session with the primary key from the database.
|
void |
removeAll()
Removes all the saml idp sp sessions from the database.
|
void |
removeByLtCreateDate(java.util.Date createDate)
Removes all the saml idp sp sessions where createDate < ? from the database.
|
void |
removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.
|
SamlIdpSpSession |
updateImpl(SamlIdpSpSession samlIdpSpSession) |
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, setDataSource, unregisterListener, update, update
java.util.List<SamlIdpSpSession> findByLtCreateDate(java.util.Date createDate)
createDate
- the create datejava.util.List<SamlIdpSpSession> findByLtCreateDate(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)java.util.List<SamlIdpSpSession> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.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
)java.util.List<SamlIdpSpSession> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.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 cacheSamlIdpSpSession findByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession fetchByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession findByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession fetchByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession[] findByLtCreateDate_PrevAndNext(long samlIdpSpSessionId, java.util.Date createDate, com.liferay.portal.kernel.util.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 foundvoid removeByLtCreateDate(java.util.Date createDate)
createDate
- the create dateint countByLtCreateDate(java.util.Date createDate)
createDate
- the create datejava.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDjava.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)java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.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
)java.util.List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.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 cacheSamlIdpSpSession findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.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 foundSamlIdpSpSession[] findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId, long samlIdpSsoSessionId, com.liferay.portal.kernel.util.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 foundvoid removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDint countBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
samlIdpSsoSessionId
- the saml idp sso session IDvoid cacheResult(SamlIdpSpSession samlIdpSpSession)
samlIdpSpSession
- the saml idp sp sessionvoid cacheResult(java.util.List<SamlIdpSpSession> samlIdpSpSessions)
samlIdpSpSessions
- the saml idp sp sessionsSamlIdpSpSession create(long samlIdpSpSessionId)
samlIdpSpSessionId
- the primary key for the new saml idp sp sessionSamlIdpSpSession 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 foundSamlIdpSpSession updateImpl(SamlIdpSpSession samlIdpSpSession)
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 foundSamlIdpSpSession 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 foundjava.util.List<SamlIdpSpSession> findAll()
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)java.util.List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.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
)java.util.List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.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 cachevoid removeAll()
int countAll()