Interface SamlIbSloMessagePersistence

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

@ProviderType public interface SamlIbSloMessagePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIbSloMessage>
The persistence interface for the saml ib slo message service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SamlIbSloMessage samlIbSloMessage)
    Caches the saml ib slo message in the entity cache if it is enabled.
    void
    cacheResult(List<SamlIbSloMessage> samlIbSloMessages)
    Caches the saml ib slo messages in the entity cache if it is enabled.
    int
    Returns the number of saml ib slo messages.
    int
    countBySamlIdpSessionIndex(String samlIdpSessionIndex)
    Returns the number of saml ib slo messages where samlIdpSessionIndex = ?.
    create(long samlIbSloMessageId)
    Creates a new saml ib slo message with the primary key.
    fetchByPrimaryKey(long samlIbSloMessageId)
    Returns the saml ib slo message with the primary key or returns null if it could not be found.
    fetchBySamlIdpSessionIndex(String samlIdpSessionIndex)
    Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found.
    fetchBySamlIdpSessionIndex(String samlIdpSessionIndex, boolean useFinderCache)
    Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the saml ib slo messages.
    findAll(int start, int end)
    Returns a range of all the saml ib slo messages.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator)
    Returns an ordered range of all the saml ib slo messages.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml ib slo messages.
    findByPrimaryKey(long samlIbSloMessageId)
    Returns the saml ib slo message with the primary key or throws a NoSuchIbSloMessageException if it could not be found.
    findBySamlIdpSessionIndex(String samlIdpSessionIndex)
    Returns the saml ib slo message where samlIdpSessionIndex = ? or throws a NoSuchIbSloMessageException if it could not be found.
    remove(long samlIbSloMessageId)
    Removes the saml ib slo message with the primary key from the database.
    void
    Removes all the saml ib slo messages from the database.
    removeBySamlIdpSessionIndex(String samlIdpSessionIndex)
    Removes the saml ib slo message where samlIdpSessionIndex = ? from the database.
    updateImpl(SamlIbSloMessage samlIbSloMessage)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, 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

    • findBySamlIdpSessionIndex

      SamlIbSloMessage findBySamlIdpSessionIndex(String samlIdpSessionIndex) throws NoSuchIbSloMessageException
      Returns the saml ib slo message where samlIdpSessionIndex = ? or throws a NoSuchIbSloMessageException if it could not be found.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the matching saml ib slo message
      Throws:
      NoSuchIbSloMessageException - if a matching saml ib slo message could not be found
    • fetchBySamlIdpSessionIndex

      SamlIbSloMessage fetchBySamlIdpSessionIndex(String samlIdpSessionIndex)
      Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the matching saml ib slo message, or null if a matching saml ib slo message could not be found
    • fetchBySamlIdpSessionIndex

      SamlIbSloMessage fetchBySamlIdpSessionIndex(String samlIdpSessionIndex, boolean useFinderCache)
      Returns the saml ib slo message where samlIdpSessionIndex = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml ib slo message, or null if a matching saml ib slo message could not be found
    • removeBySamlIdpSessionIndex

      SamlIbSloMessage removeBySamlIdpSessionIndex(String samlIdpSessionIndex) throws NoSuchIbSloMessageException
      Removes the saml ib slo message where samlIdpSessionIndex = ? from the database.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the saml ib slo message that was removed
      Throws:
      NoSuchIbSloMessageException
    • countBySamlIdpSessionIndex

      int countBySamlIdpSessionIndex(String samlIdpSessionIndex)
      Returns the number of saml ib slo messages where samlIdpSessionIndex = ?.
      Parameters:
      samlIdpSessionIndex - the saml idp session index
      Returns:
      the number of matching saml ib slo messages
    • cacheResult

      void cacheResult(SamlIbSloMessage samlIbSloMessage)
      Caches the saml ib slo message in the entity cache if it is enabled.
      Parameters:
      samlIbSloMessage - the saml ib slo message
    • cacheResult

      void cacheResult(List<SamlIbSloMessage> samlIbSloMessages)
      Caches the saml ib slo messages in the entity cache if it is enabled.
      Parameters:
      samlIbSloMessages - the saml ib slo messages
    • create

      SamlIbSloMessage create(long samlIbSloMessageId)
      Creates a new saml ib slo message with the primary key. Does not add the saml ib slo message to the database.
      Parameters:
      samlIbSloMessageId - the primary key for the new saml ib slo message
      Returns:
      the new saml ib slo message
    • remove

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

      SamlIbSloMessage updateImpl(SamlIbSloMessage samlIbSloMessage)
    • findByPrimaryKey

      SamlIbSloMessage findByPrimaryKey(long samlIbSloMessageId) throws NoSuchIbSloMessageException
      Returns the saml ib slo message with the primary key or throws a NoSuchIbSloMessageException if it could not be found.
      Parameters:
      samlIbSloMessageId - the primary key of the saml ib slo message
      Returns:
      the saml ib slo message
      Throws:
      NoSuchIbSloMessageException - if a saml ib slo message with the primary key could not be found
    • fetchByPrimaryKey

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

      Returns all the saml ib slo messages.
      Returns:
      the saml ib slo messages
    • findAll

      List<SamlIbSloMessage> findAll(int start, int end)
      Returns a range of all the saml ib slo 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.

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

      List<SamlIbSloMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator)
      Returns an ordered range of all the saml ib slo 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.

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

      List<SamlIbSloMessage> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIbSloMessage> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml ib slo 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.SamlIbSloMessageModelImpl.

      Parameters:
      start - the lower bound of the range of saml ib slo messages
      end - the upper bound of the range of saml ib slo 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 ib slo messages
    • removeAll

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

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