Interface SamlSpMessagePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpMessage>

@ProviderType public interface SamlSpMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpMessage>
The persistence interface for the saml sp message service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SamlSpMessage samlSpMessage)
    Caches the saml sp message in the entity cache if it is enabled.
    void
    cacheResult(List<SamlSpMessage> samlSpMessages)
    Caches the saml sp messages in the entity cache if it is enabled.
    int
    Returns the number of saml sp messages.
    int
    countByLtExpirationDate(Date expirationDate)
    Returns the number of saml sp messages where expirationDate < ?.
    int
    countBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
    Returns the number of saml sp messages where samlIdpEntityId = ? and samlIdpResponseKey = ?.
    create(long samlSpMessageId)
    Creates a new saml sp message with the primary key.
    fetchByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
    Returns the first saml sp message in the ordered set where expirationDate < ?.
    fetchByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
    Returns the last saml sp message in the ordered set where expirationDate < ?.
    fetchByPrimaryKey(long samlSpMessageId)
    Returns the saml sp message with the primary key or returns null if it could not be found.
    fetchBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
    Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or returns null if it could not be found.
    fetchBySIEI_SIRK(String samlIdpEntityId, 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.
    Returns all the saml sp messages.
    findAll(int start, int end)
    Returns a range of all the saml sp messages.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
    Returns an ordered range of all the saml sp messages.
    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.
    findByLtExpirationDate(Date expirationDate)
    Returns all the saml sp messages where expirationDate < ?.
    findByLtExpirationDate(Date expirationDate, int start, int end)
    Returns a range of all the saml sp messages where expirationDate < ?.
    findByLtExpirationDate(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 < ?.
    findByLtExpirationDate(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 < ?.
    findByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
    Returns the first saml sp message in the ordered set where expirationDate < ?.
    findByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
    Returns the last saml sp message in the ordered set where expirationDate < ?.
    findByLtExpirationDate_PrevAndNext(long samlSpMessageId, 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 < ?.
    findByPrimaryKey(long samlSpMessageId)
    Returns the saml sp message with the primary key or throws a NoSuchSpMessageException if it could not be found.
    findBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
    Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or throws a NoSuchSpMessageException if it could not be found.
    remove(long samlSpMessageId)
    Removes the saml sp message with the primary key from the database.
    void
    Removes all the saml sp messages from the database.
    void
    Removes all the saml sp messages where expirationDate < ? from the database.
    removeBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
    Removes the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? from the database.
    updateImpl(SamlSpMessage samlSpMessage)
     

    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

    • findByLtExpirationDate

      List<SamlSpMessage> findByLtExpirationDate(Date expirationDate)
      Returns all the saml sp messages where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      Returns:
      the matching saml sp messages
    • findByLtExpirationDate

      List<SamlSpMessage> findByLtExpirationDate(Date expirationDate, int start, int end)
      Returns a range of all the saml sp messages where expirationDate < ?.

      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.

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of saml sp messages
      end - the upper bound of the range of saml sp messages (not inclusive)
      Returns:
      the range of matching saml sp messages
    • findByLtExpirationDate

      List<SamlSpMessage> findByLtExpirationDate(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 < ?.

      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.

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of saml sp messages
      end - the upper bound of the range of saml sp messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml sp messages
    • findByLtExpirationDate

      List<SamlSpMessage> findByLtExpirationDate(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 < ?.

      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.

      Parameters:
      expirationDate - the expiration date
      start - the lower bound of the range of saml sp messages
      end - 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 cache
      Returns:
      the ordered range of matching saml sp messages
    • findByLtExpirationDate_First

      SamlSpMessage findByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
      Returns the first saml sp message in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp message
      Throws:
      NoSuchSpMessageException - if a matching saml sp message could not be found
    • fetchByLtExpirationDate_First

      SamlSpMessage fetchByLtExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
      Returns the first saml sp message in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp message, or null if a matching saml sp message could not be found
    • findByLtExpirationDate_Last

      SamlSpMessage findByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
      Returns the last saml sp message in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml sp message
      Throws:
      NoSuchSpMessageException - if a matching saml sp message could not be found
    • fetchByLtExpirationDate_Last

      SamlSpMessage fetchByLtExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator)
      Returns the last saml sp message in the ordered set where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml sp message, or null if a matching saml sp message could not be found
    • findByLtExpirationDate_PrevAndNext

      SamlSpMessage[] findByLtExpirationDate_PrevAndNext(long samlSpMessageId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SamlSpMessage> orderByComparator) throws NoSuchSpMessageException
      Returns the saml sp messages before and after the current saml sp message in the ordered set where expirationDate < ?.
      Parameters:
      samlSpMessageId - the primary key of the current saml sp message
      expirationDate - the expiration date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml sp message
      Throws:
      NoSuchSpMessageException - if a saml sp message with the primary key could not be found
    • removeByLtExpirationDate

      void removeByLtExpirationDate(Date expirationDate)
      Removes all the saml sp messages where expirationDate < ? from the database.
      Parameters:
      expirationDate - the expiration date
    • countByLtExpirationDate

      int countByLtExpirationDate(Date expirationDate)
      Returns the number of saml sp messages where expirationDate < ?.
      Parameters:
      expirationDate - the expiration date
      Returns:
      the number of matching saml sp messages
    • findBySIEI_SIRK

      SamlSpMessage findBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey) throws NoSuchSpMessageException
      Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or throws a NoSuchSpMessageException if it could not be found.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlIdpResponseKey - the saml idp response key
      Returns:
      the matching saml sp message
      Throws:
      NoSuchSpMessageException - if a matching saml sp message could not be found
    • fetchBySIEI_SIRK

      SamlSpMessage fetchBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
      Returns the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlIdpResponseKey - the saml idp response key
      Returns:
      the matching saml sp message, or null if a matching saml sp message could not be found
    • fetchBySIEI_SIRK

      SamlSpMessage fetchBySIEI_SIRK(String samlIdpEntityId, 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.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlIdpResponseKey - the saml idp response key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml sp message, or null if a matching saml sp message could not be found
    • removeBySIEI_SIRK

      SamlSpMessage removeBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey) throws NoSuchSpMessageException
      Removes the saml sp message where samlIdpEntityId = ? and samlIdpResponseKey = ? from the database.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlIdpResponseKey - the saml idp response key
      Returns:
      the saml sp message that was removed
      Throws:
      NoSuchSpMessageException
    • countBySIEI_SIRK

      int countBySIEI_SIRK(String samlIdpEntityId, String samlIdpResponseKey)
      Returns the number of saml sp messages where samlIdpEntityId = ? and samlIdpResponseKey = ?.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlIdpResponseKey - the saml idp response key
      Returns:
      the number of matching saml sp messages
    • cacheResult

      void cacheResult(SamlSpMessage samlSpMessage)
      Caches the saml sp message in the entity cache if it is enabled.
      Parameters:
      samlSpMessage - the saml sp message
    • cacheResult

      void cacheResult(List<SamlSpMessage> samlSpMessages)
      Caches the saml sp messages in the entity cache if it is enabled.
      Parameters:
      samlSpMessages - the saml sp messages
    • create

      SamlSpMessage create(long samlSpMessageId)
      Creates a new saml sp message with the primary key. Does not add the saml sp message to the database.
      Parameters:
      samlSpMessageId - the primary key for the new saml sp message
      Returns:
      the new saml sp message
    • remove

      SamlSpMessage remove(long samlSpMessageId) throws NoSuchSpMessageException
      Removes the saml sp message with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      samlSpMessageId - the primary key of the saml sp message
      Returns:
      the saml sp message that was removed
      Throws:
      NoSuchSpMessageException - if a saml sp message with the primary key could not be found
    • updateImpl

      SamlSpMessage updateImpl(SamlSpMessage samlSpMessage)
    • findByPrimaryKey

      SamlSpMessage findByPrimaryKey(long samlSpMessageId) throws NoSuchSpMessageException
      Returns the saml sp message with the primary key or throws a NoSuchSpMessageException if it could not be found.
      Parameters:
      samlSpMessageId - the primary key of the saml sp message
      Returns:
      the saml sp message
      Throws:
      NoSuchSpMessageException - if a saml sp message with the primary key could not be found
    • fetchByPrimaryKey

      SamlSpMessage fetchByPrimaryKey(long samlSpMessageId)
      Returns the saml sp message with the primary key or returns null if it could not be found.
      Parameters:
      samlSpMessageId - the primary key of the saml sp message
      Returns:
      the saml sp message, or null if a saml sp message with the primary key could not be found
    • findAll

      List<SamlSpMessage> findAll()
      Returns all the saml sp messages.
      Returns:
      the saml sp messages
    • findAll

      List<SamlSpMessage> findAll(int start, int end)
      Returns a range of all the saml sp messages.

      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.

      Parameters:
      start - the lower bound of the range of saml sp messages
      end - the upper bound of the range of saml sp messages (not inclusive)
      Returns:
      the range of saml sp messages
    • findAll

      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.

      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.

      Parameters:
      start - the lower bound of the range of saml sp messages
      end - the upper bound of the range of saml sp messages (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of saml sp messages
    • findAll

      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.

      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.

      Parameters:
      start - the lower bound of the range of saml sp messages
      end - 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 cache
      Returns:
      the ordered range of saml sp messages
    • removeAll

      void removeAll()
      Removes all the saml sp messages from the database.
    • countAll

      int countAll()
      Returns the number of saml sp messages.
      Returns:
      the number of saml sp messages