Interface SamlSpAuthRequestPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpAuthRequest>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SamlSpAuthRequest samlSpAuthRequest) Caches the saml sp auth request in the entity cache if it is enabled.voidcacheResult(List<SamlSpAuthRequest> samlSpAuthRequests) Caches the saml sp auth requests in the entity cache if it is enabled.intcountAll()Returns the number of saml sp auth requests.intcountByLtCreateDate(Date createDate) Returns the number of saml sp auth requests where createDate < ?.intcountBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) Returns the number of saml sp auth requests where samlIdpEntityId = ? and samlSpAuthRequestKey = ?.create(long samlSpAuthnRequestId) Creates a new saml sp auth request with the primary key.fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the first saml sp auth request in the ordered set where createDate < ?.fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the last saml sp auth request in the ordered set where createDate < ?.fetchByPrimaryKey(long samlSpAuthnRequestId) Returns the saml sp auth request with the primary key or returnsnullif it could not be found.fetchBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returnsnullif it could not be found.fetchBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey, boolean useFinderCache) Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returnsnullif it could not be found, optionally using the finder cache.findAll()Returns all the saml sp auth requests.findAll(int start, int end) Returns a range of all the saml sp auth requests.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns an ordered range of all the saml sp auth requests.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.findByLtCreateDate(Date createDate) Returns all the saml sp auth requests where createDate < ?.findByLtCreateDate(Date createDate, int start, int end) Returns a range of all the saml sp auth requests where createDate < ?.findByLtCreateDate(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 < ?.findByLtCreateDate(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 < ?.findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the first saml sp auth request in the ordered set where createDate < ?.findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the last saml sp auth request in the ordered set where createDate < ?.findByLtCreateDate_PrevAndNext(long samlSpAuthnRequestId, 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 < ?.findByPrimaryKey(long samlSpAuthnRequestId) Returns the saml sp auth request with the primary key or throws aNoSuchSpAuthRequestExceptionif it could not be found.findBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or throws aNoSuchSpAuthRequestExceptionif it could not be found.remove(long samlSpAuthnRequestId) Removes the saml sp auth request with the primary key from the database.voidRemoves all the saml sp auth requests from the database.voidremoveByLtCreateDate(Date createDate) Removes all the saml sp auth requests where createDate < ? from the database.removeBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) Removes the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? from the database.updateImpl(SamlSpAuthRequest samlSpAuthRequest) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByLtCreateDate
Returns all the saml sp auth requests where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the matching saml sp auth requests
-
findByLtCreateDate
Returns a range of all the saml sp auth requests 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 fromSamlSpAuthRequestModelImpl.- Parameters:
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)- Returns:
- the range of matching saml sp auth requests
-
findByLtCreateDate
List<SamlSpAuthRequest> findByLtCreateDate(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 < ?.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 fromSamlSpAuthRequestModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching saml sp auth requests
-
findByLtCreateDate
List<SamlSpAuthRequest> findByLtCreateDate(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 < ?.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 fromSamlSpAuthRequestModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml sp auth requests
-
findByLtCreateDate_First
SamlSpAuthRequest findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException Returns the first saml sp auth request in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp auth request
- Throws:
NoSuchSpAuthRequestException- if a matching saml sp auth request could not be found
-
fetchByLtCreateDate_First
SamlSpAuthRequest fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the first saml sp auth request in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml sp auth request, or
nullif a matching saml sp auth request could not be found
-
findByLtCreateDate_Last
SamlSpAuthRequest findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException Returns the last saml sp auth request in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp auth request
- Throws:
NoSuchSpAuthRequestException- if a matching saml sp auth request could not be found
-
fetchByLtCreateDate_Last
SamlSpAuthRequest fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) Returns the last saml sp auth request in the ordered set where createDate < ?.- Parameters:
createDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml sp auth request, or
nullif a matching saml sp auth request could not be found
-
findByLtCreateDate_PrevAndNext
SamlSpAuthRequest[] findByLtCreateDate_PrevAndNext(long samlSpAuthnRequestId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpAuthRequest> orderByComparator) throws NoSuchSpAuthRequestException Returns the saml sp auth requests before and after the current saml sp auth request in the ordered set where createDate < ?.- Parameters:
samlSpAuthnRequestId- the primary key of the current saml sp auth requestcreateDate- the create dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml sp auth request
- Throws:
NoSuchSpAuthRequestException- if a saml sp auth request with the primary key could not be found
-
removeByLtCreateDate
Removes all the saml sp auth requests where createDate < ? from the database.- Parameters:
createDate- the create date
-
countByLtCreateDate
Returns the number of saml sp auth requests where createDate < ?.- Parameters:
createDate- the create date- Returns:
- the number of matching saml sp auth requests
-
findBySIEI_SSARK
SamlSpAuthRequest findBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) throws NoSuchSpAuthRequestException Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or throws aNoSuchSpAuthRequestExceptionif it could not be found.- Parameters:
samlIdpEntityId- the saml idp entity IDsamlSpAuthRequestKey- the saml sp auth request key- Returns:
- the matching saml sp auth request
- Throws:
NoSuchSpAuthRequestException- if a matching saml sp auth request could not be found
-
fetchBySIEI_SSARK
Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
samlIdpEntityId- the saml idp entity IDsamlSpAuthRequestKey- the saml sp auth request key- Returns:
- the matching saml sp auth request, or
nullif a matching saml sp auth request could not be found
-
fetchBySIEI_SSARK
SamlSpAuthRequest fetchBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey, boolean useFinderCache) Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
samlIdpEntityId- the saml idp entity IDsamlSpAuthRequestKey- the saml sp auth request keyuseFinderCache- whether to use the finder cache- Returns:
- the matching saml sp auth request, or
nullif a matching saml sp auth request could not be found
-
removeBySIEI_SSARK
SamlSpAuthRequest removeBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey) throws NoSuchSpAuthRequestException Removes the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? from the database.- Parameters:
samlIdpEntityId- the saml idp entity IDsamlSpAuthRequestKey- the saml sp auth request key- Returns:
- the saml sp auth request that was removed
- Throws:
NoSuchSpAuthRequestException
-
countBySIEI_SSARK
Returns the number of saml sp auth requests where samlIdpEntityId = ? and samlSpAuthRequestKey = ?.- Parameters:
samlIdpEntityId- the saml idp entity IDsamlSpAuthRequestKey- the saml sp auth request key- Returns:
- the number of matching saml sp auth requests
-
cacheResult
Caches the saml sp auth request in the entity cache if it is enabled.- Parameters:
samlSpAuthRequest- the saml sp auth request
-
cacheResult
Caches the saml sp auth requests in the entity cache if it is enabled.- Parameters:
samlSpAuthRequests- the saml sp auth requests
-
create
Creates a new saml sp auth request with the primary key. Does not add the saml sp auth request to the database.- Parameters:
samlSpAuthnRequestId- the primary key for the new saml sp auth request- Returns:
- the new saml sp auth request
-
remove
Removes the saml sp auth request with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlSpAuthnRequestId- the primary key of the saml sp auth request- Returns:
- the saml sp auth request that was removed
- Throws:
NoSuchSpAuthRequestException- if a saml sp auth request with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the saml sp auth request with the primary key or throws aNoSuchSpAuthRequestExceptionif it could not be found.- Parameters:
samlSpAuthnRequestId- the primary key of the saml sp auth request- Returns:
- the saml sp auth request
- Throws:
NoSuchSpAuthRequestException- if a saml sp auth request with the primary key could not be found
-
fetchByPrimaryKey
Returns the saml sp auth request with the primary key or returnsnullif it could not be found.- Parameters:
samlSpAuthnRequestId- the primary key of the saml sp auth request- Returns:
- the saml sp auth request, or
nullif a saml sp auth request with the primary key could not be found
-
findAll
List<SamlSpAuthRequest> findAll()Returns all the saml sp auth requests.- Returns:
- the saml sp auth requests
-
findAll
Returns a range of all the saml sp auth requests.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 fromSamlSpAuthRequestModelImpl.- Parameters:
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)- Returns:
- the range of saml sp auth requests
-
findAll
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.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 fromSamlSpAuthRequestModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of saml sp auth requests
-
findAll
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.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 fromSamlSpAuthRequestModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saml sp auth requests
-
removeAll
void removeAll()Removes all the saml sp auth requests from the database. -
countAll
int countAll()Returns the number of saml sp auth requests.- Returns:
- the number of saml sp auth requests
-