@ProviderType public interface SamlSpMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpMessage>
Caching information and settings can be found in portal.properties
SamlSpMessageUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(java.util.List<SamlSpMessage> samlSpMessages)
Caches the saml sp messages in the entity cache if it is enabled.
|
void |
cacheResult(SamlSpMessage samlSpMessage)
Caches the saml sp message in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml sp messages.
|
int |
countByExpirationDate(java.util.Date expirationDate)
Returns the number of saml sp messages where expirationDate < ?.
|
int |
countBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey)
Returns the number of saml sp messages where samlIdpEntityId = ? and samlIdpResponseKey = ?.
|
SamlSpMessage |
create(long samlSpMessageId)
Creates a new saml sp message with the primary key.
|
SamlSpMessage |
fetchByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns the first saml sp message in the ordered set where expirationDate < ?.
|
SamlSpMessage |
fetchByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns the last saml sp message in the ordered set where expirationDate < ?.
|
SamlSpMessage |
fetchByPrimaryKey(long samlSpMessageId)
Returns the saml sp message with the primary key or returns
null if it could not be found. |
SamlSpMessage |
fetchBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey)
Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or returns
null if it could not be found. |
SamlSpMessage |
fetchBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey,
boolean useFinderCache)
Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<SamlSpMessage> |
findAll()
Returns all the saml sp messages.
|
java.util.List<SamlSpMessage> |
findAll(int start,
int end)
Returns a range of all the saml sp messages.
|
java.util.List<SamlSpMessage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns an ordered range of all the saml sp messages.
|
java.util.List<SamlSpMessage> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp messages.
|
SamlSpMessage |
findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns the first saml sp message in the ordered set where expirationDate < ?.
|
SamlSpMessage |
findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns the last saml sp message in the ordered set where expirationDate < ?.
|
SamlSpMessage[] |
findByExpirationDate_PrevAndNext(long samlSpMessageId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns the saml sp messages before and after the current saml sp message in the ordered set where expirationDate < ?.
|
java.util.List<SamlSpMessage> |
findByExpirationDate(java.util.Date expirationDate)
Returns all the saml sp messages where expirationDate < ?.
|
java.util.List<SamlSpMessage> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the saml sp messages where expirationDate < ?.
|
java.util.List<SamlSpMessage> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
Returns an ordered range of all the saml sp messages where expirationDate < ?.
|
java.util.List<SamlSpMessage> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the saml sp messages where expirationDate < ?.
|
SamlSpMessage |
findByPrimaryKey(long samlSpMessageId)
Returns the saml sp message with the primary key or throws a
NoSuchSpMessageException if it could not be found. |
SamlSpMessage |
findBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey)
Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or throws a
NoSuchSpMessageException if it could not be found. |
SamlSpMessage |
remove(long samlSpMessageId)
Removes the saml sp message with the primary key from the database.
|
void |
removeAll()
Removes all the saml sp messages from the database.
|
void |
removeByExpirationDate(java.util.Date expirationDate)
Removes all the saml sp messages where expirationDate < ? from the database.
|
SamlSpMessage |
removeBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey)
Removes the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? from the database.
|
SamlSpMessage |
updateImpl(SamlSpMessage samlSpMessage) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<SamlSpMessage> findByExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration datejava.util.List<SamlSpMessage> findByExpirationDate(java.util.Date expirationDate, 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 SamlSpMessageModelImpl.
expirationDate - the expiration datestart - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)java.util.List<SamlSpMessage> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> 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 SamlSpMessageModelImpl.
expirationDate - the expiration datestart - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<SamlSpMessage> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> 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 SamlSpMessageModelImpl.
expirationDate - the expiration datestart - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheSamlSpMessage findByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchSpMessageException - if a matching saml sp message could not be foundSamlSpMessage fetchByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching saml sp message could not be foundSamlSpMessage findByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchSpMessageException - if a matching saml sp message could not be foundSamlSpMessage fetchByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
expirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching saml sp message could not be foundSamlSpMessage[] findByExpirationDate_PrevAndNext(long samlSpMessageId, java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
samlSpMessageId - the primary key of the current saml sp messageexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)NoSuchSpMessageException - if a saml sp message with the primary key could not be foundvoid removeByExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration dateint countByExpirationDate(java.util.Date expirationDate)
expirationDate - the expiration dateSamlSpMessage findBySIEI_SIRK(java.lang.String samlIdpEntityId, java.lang.String samlIdpResponseKey) throws NoSuchSpMessageException
NoSuchSpMessageException if it could not be found.samlIdpEntityId - the saml idp entity IDsamlIdpResponseKey - the saml idp response keyNoSuchSpMessageException - if a matching saml sp message could not be foundSamlSpMessage fetchBySIEI_SIRK(java.lang.String samlIdpEntityId, java.lang.String samlIdpResponseKey)
null if it could not be found. Uses the finder cache.samlIdpEntityId - the saml idp entity IDsamlIdpResponseKey - the saml idp response keynull if a matching saml sp message could not be foundSamlSpMessage fetchBySIEI_SIRK(java.lang.String samlIdpEntityId, java.lang.String samlIdpResponseKey, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.samlIdpEntityId - the saml idp entity IDsamlIdpResponseKey - the saml idp response keyuseFinderCache - whether to use the finder cachenull if a matching saml sp message could not be foundSamlSpMessage removeBySIEI_SIRK(java.lang.String samlIdpEntityId, java.lang.String samlIdpResponseKey) throws NoSuchSpMessageException
samlIdpEntityId - the saml idp entity IDsamlIdpResponseKey - the saml idp response keyNoSuchSpMessageExceptionint countBySIEI_SIRK(java.lang.String samlIdpEntityId,
java.lang.String samlIdpResponseKey)
samlIdpEntityId - the saml idp entity IDsamlIdpResponseKey - the saml idp response keyvoid cacheResult(SamlSpMessage samlSpMessage)
samlSpMessage - the saml sp messagevoid cacheResult(java.util.List<SamlSpMessage> samlSpMessages)
samlSpMessages - the saml sp messagesSamlSpMessage create(long samlSpMessageId)
samlSpMessageId - the primary key for the new saml sp messageSamlSpMessage remove(long samlSpMessageId) throws NoSuchSpMessageException
samlSpMessageId - the primary key of the saml sp messageNoSuchSpMessageException - if a saml sp message with the primary key could not be foundSamlSpMessage updateImpl(SamlSpMessage samlSpMessage)
SamlSpMessage findByPrimaryKey(long samlSpMessageId) throws NoSuchSpMessageException
NoSuchSpMessageException if it could not be found.samlSpMessageId - the primary key of the saml sp messageNoSuchSpMessageException - if a saml sp message with the primary key could not be foundSamlSpMessage fetchByPrimaryKey(long samlSpMessageId)
null if it could not be found.samlSpMessageId - the primary key of the saml sp messagenull if a saml sp message with the primary key could not be foundjava.util.List<SamlSpMessage> findAll()
java.util.List<SamlSpMessage> 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 SamlSpMessageModelImpl.
start - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)java.util.List<SamlSpMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> 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 SamlSpMessageModelImpl.
start - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<SamlSpMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> 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 SamlSpMessageModelImpl.
start - the lower bound of the range of saml sp messagesend - the upper bound of the range of saml sp messages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()