@ProviderType public interface SamlSpAuthRequestPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpAuthRequest>
Caching information and settings can be found in portal.properties
SamlSpAuthRequestUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SamlSpAuthRequest> samlSpAuthRequests)
Caches the saml sp auth requests in the entity cache if it is enabled.
|
void |
cacheResult(SamlSpAuthRequest samlSpAuthRequest)
Caches the saml sp auth request in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml sp auth requests.
|
int |
countByLtCreateDate(java.util.Date createDate)
Returns the number of saml sp auth requests where createDate < ?.
|
int |
countBySIEI_SSARK(java.lang.String samlIdpEntityId,
java.lang.String samlSpAuthRequestKey)
Returns the number of saml sp auth requests where samlIdpEntityId = ? and samlSpAuthRequestKey = ?.
|
SamlSpAuthRequest |
create(long samlSpAuthnRequestId)
Creates a new saml sp auth request with the primary key.
|
SamlSpAuthRequest |
fetchByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns the first saml sp auth request in the ordered set where createDate < ?.
|
SamlSpAuthRequest |
fetchByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns the last saml sp auth request in the ordered set where createDate < ?.
|
SamlSpAuthRequest |
fetchByPrimaryKey(long samlSpAuthnRequestId)
Returns the saml sp auth request with the primary key or returns
null if it could not be found. |
SamlSpAuthRequest |
fetchBySIEI_SSARK(java.lang.String samlIdpEntityId,
java.lang.String samlSpAuthRequestKey)
Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returns
null if it could not be found. |
SamlSpAuthRequest |
fetchBySIEI_SSARK(java.lang.String samlIdpEntityId,
java.lang.String samlSpAuthRequestKey,
boolean useFinderCache)
Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<SamlSpAuthRequest> |
findAll()
Returns all the saml sp auth requests.
|
java.util.List<SamlSpAuthRequest> |
findAll(int start,
int end)
Returns a range of all the saml sp auth requests.
|
java.util.List<SamlSpAuthRequest> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns an ordered range of all the saml sp auth requests.
|
java.util.List<SamlSpAuthRequest> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp auth requests.
|
SamlSpAuthRequest |
findByLtCreateDate_First(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns the first saml sp auth request in the ordered set where createDate < ?.
|
SamlSpAuthRequest |
findByLtCreateDate_Last(java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns the last saml sp auth request in the ordered set where createDate < ?.
|
SamlSpAuthRequest[] |
findByLtCreateDate_PrevAndNext(long samlSpAuthnRequestId,
java.util.Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns the saml sp auth requests before and after the current saml sp auth request in the ordered set where createDate < ?.
|
java.util.List<SamlSpAuthRequest> |
findByLtCreateDate(java.util.Date createDate)
Returns all the saml sp auth requests where createDate < ?.
|
java.util.List<SamlSpAuthRequest> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end)
Returns a range of all the saml sp auth requests where createDate < ?.
|
java.util.List<SamlSpAuthRequest> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
Returns an ordered range of all the saml sp auth requests where createDate < ?.
|
java.util.List<SamlSpAuthRequest> |
findByLtCreateDate(java.util.Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp auth requests where createDate < ?.
|
SamlSpAuthRequest |
findByPrimaryKey(long samlSpAuthnRequestId)
Returns the saml sp auth request with the primary key or throws a
NoSuchSpAuthRequestException if it could not be found. |
SamlSpAuthRequest |
findBySIEI_SSARK(java.lang.String samlIdpEntityId,
java.lang.String samlSpAuthRequestKey)
Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or throws a
NoSuchSpAuthRequestException if it could not be found. |
SamlSpAuthRequest |
remove(long samlSpAuthnRequestId)
Removes the saml sp auth request with the primary key from the database.
|
void |
removeAll()
Removes all the saml sp auth requests from the database.
|
void |
removeByLtCreateDate(java.util.Date createDate)
Removes all the saml sp auth requests where createDate < ? from the database.
|
SamlSpAuthRequest |
removeBySIEI_SSARK(java.lang.String samlIdpEntityId,
java.lang.String samlSpAuthRequestKey)
Removes the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? from the database.
|
SamlSpAuthRequest |
updateImpl(SamlSpAuthRequest samlSpAuthRequest) |
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<SamlSpAuthRequest> findByLtCreateDate(java.util.Date createDate)
createDate
- the create datejava.util.List<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)java.util.List<SamlSpAuthRequest> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlSpAuthRequest> findByLtCreateDate(java.util.Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
createDate
- the create datestart
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheSamlSpAuthRequest findByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpAuthRequestException
- if a matching saml sp auth request could not be foundSamlSpAuthRequest fetchByLtCreateDate_First(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp auth request could not be foundSamlSpAuthRequest findByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpAuthRequestException
- if a matching saml sp auth request could not be foundSamlSpAuthRequest fetchByLtCreateDate_Last(java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml sp auth request could not be foundSamlSpAuthRequest[] findByLtCreateDate_PrevAndNext(long samlSpAuthnRequestId, java.util.Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException
samlSpAuthnRequestId
- the primary key of the current saml sp auth requestcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSpAuthRequestException
- if a saml sp auth request 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 dateSamlSpAuthRequest findBySIEI_SSARK(java.lang.String samlIdpEntityId, java.lang.String samlSpAuthRequestKey) throws NoSuchSpAuthRequestException
NoSuchSpAuthRequestException
if it could not be found.samlIdpEntityId
- the saml idp entity IDsamlSpAuthRequestKey
- the saml sp auth request keyNoSuchSpAuthRequestException
- if a matching saml sp auth request could not be foundSamlSpAuthRequest fetchBySIEI_SSARK(java.lang.String samlIdpEntityId, java.lang.String samlSpAuthRequestKey)
null
if it could not be found. Uses the finder cache.samlIdpEntityId
- the saml idp entity IDsamlSpAuthRequestKey
- the saml sp auth request keynull
if a matching saml sp auth request could not be foundSamlSpAuthRequest fetchBySIEI_SSARK(java.lang.String samlIdpEntityId, java.lang.String samlSpAuthRequestKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.samlIdpEntityId
- the saml idp entity IDsamlSpAuthRequestKey
- the saml sp auth request keyuseFinderCache
- whether to use the finder cachenull
if a matching saml sp auth request could not be foundSamlSpAuthRequest removeBySIEI_SSARK(java.lang.String samlIdpEntityId, java.lang.String samlSpAuthRequestKey) throws NoSuchSpAuthRequestException
samlIdpEntityId
- the saml idp entity IDsamlSpAuthRequestKey
- the saml sp auth request keyNoSuchSpAuthRequestException
int countBySIEI_SSARK(java.lang.String samlIdpEntityId, java.lang.String samlSpAuthRequestKey)
samlIdpEntityId
- the saml idp entity IDsamlSpAuthRequestKey
- the saml sp auth request keyvoid cacheResult(SamlSpAuthRequest samlSpAuthRequest)
samlSpAuthRequest
- the saml sp auth requestvoid cacheResult(java.util.List<SamlSpAuthRequest> samlSpAuthRequests)
samlSpAuthRequests
- the saml sp auth requestsSamlSpAuthRequest create(long samlSpAuthnRequestId)
samlSpAuthnRequestId
- the primary key for the new saml sp auth requestSamlSpAuthRequest remove(long samlSpAuthnRequestId) throws NoSuchSpAuthRequestException
samlSpAuthnRequestId
- the primary key of the saml sp auth requestNoSuchSpAuthRequestException
- if a saml sp auth request with the primary key could not be foundSamlSpAuthRequest updateImpl(SamlSpAuthRequest samlSpAuthRequest)
SamlSpAuthRequest findByPrimaryKey(long samlSpAuthnRequestId) throws NoSuchSpAuthRequestException
NoSuchSpAuthRequestException
if it could not be found.samlSpAuthnRequestId
- the primary key of the saml sp auth requestNoSuchSpAuthRequestException
- if a saml sp auth request with the primary key could not be foundSamlSpAuthRequest fetchByPrimaryKey(long samlSpAuthnRequestId)
null
if it could not be found.samlSpAuthnRequestId
- the primary key of the saml sp auth requestnull
if a saml sp auth request with the primary key could not be foundjava.util.List<SamlSpAuthRequest> findAll()
java.util.List<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
start
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)java.util.List<SamlSpAuthRequest> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
start
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SamlSpAuthRequest> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> 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 SamlSpAuthRequestModelImpl
.
start
- the lower bound of the range of saml sp auth requestsend
- the upper bound of the range of saml sp auth requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()