Interface SamlSpAuthRequestPersistence

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

@ProviderType public interface SamlSpAuthRequestPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpAuthRequest>
The persistence interface for the saml sp auth request service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of saml sp auth requests where createDate < ?.
    int
    countBySIEI_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 < ?.
    fetchByPrimaryKey(long samlSpAuthnRequestId)
    Returns the saml sp auth request with the primary key or returns null if it could not be found.
    fetchBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey)
    Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returns null if it could not be found.
    fetchBySIEI_SSARK(String samlIdpEntityId, 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.
    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 < ?.
    findByPrimaryKey(long samlSpAuthnRequestId)
    Returns the saml sp auth request with the primary key or throws a NoSuchSpAuthRequestException if it could not be found.
    findBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey)
    Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or throws a NoSuchSpAuthRequestException if it could not be found.
    remove(long samlSpAuthnRequestId)
    Removes the saml sp auth request with the primary key from the database.
    void
    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

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByLtCreateDate

      List<SamlSpAuthRequest> findByLtCreateDate(Date createDate)
      Returns all the saml sp auth requests where createDate < ?.
      Parameters:
      createDate - the create date
      Returns:
      the matching saml sp auth requests
    • findByLtCreateDate

      List<SamlSpAuthRequest> findByLtCreateDate(Date createDate, int start, int end)
      Returns a range of all the saml sp auth requests where createDate < ?.

      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.SamlSpAuthRequestModelImpl.

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml sp auth requests
      end - 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 - 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.SamlSpAuthRequestModelImpl.

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml sp auth requests
      end - the upper bound of the range of saml sp auth requests (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 - 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.SamlSpAuthRequestModelImpl.

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml sp auth requests
      end - 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 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 date
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp auth request, or null if a matching saml sp auth request could not be found
    • removeByLtCreateDate

      void removeByLtCreateDate(Date createDate)
      Removes all the saml sp auth requests where createDate < ? from the database.
      Parameters:
      createDate - the create date
    • countByLtCreateDate

      int countByLtCreateDate(Date createDate)
      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 a NoSuchSpAuthRequestException if it could not be found.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlSpAuthRequestKey - 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

      SamlSpAuthRequest fetchBySIEI_SSARK(String samlIdpEntityId, 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.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlSpAuthRequestKey - the saml sp auth request key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml sp auth request, or null if 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 ID
      samlSpAuthRequestKey - the saml sp auth request key
      Returns:
      the saml sp auth request that was removed
      Throws:
      NoSuchSpAuthRequestException
    • countBySIEI_SSARK

      int countBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey)
      Returns the number of saml sp auth requests where samlIdpEntityId = ? and samlSpAuthRequestKey = ?.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlSpAuthRequestKey - the saml sp auth request key
      Returns:
      the number of matching saml sp auth requests
    • create

      SamlSpAuthRequest create(long samlSpAuthnRequestId)
      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

      SamlSpAuthRequest remove(long samlSpAuthnRequestId) throws NoSuchSpAuthRequestException
      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

      SamlSpAuthRequest updateImpl(SamlSpAuthRequest samlSpAuthRequest)
    • findByPrimaryKey

      SamlSpAuthRequest findByPrimaryKey(long samlSpAuthnRequestId) throws NoSuchSpAuthRequestException
      Returns the saml sp auth request with the primary key or throws a NoSuchSpAuthRequestException if 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

      SamlSpAuthRequest fetchByPrimaryKey(long samlSpAuthnRequestId)
      Returns the saml sp auth request with the primary key or returns null if it could not be found.
      Parameters:
      samlSpAuthnRequestId - the primary key of the saml sp auth request
      Returns:
      the saml sp auth request, or null if a saml sp auth request with the primary key could not be found
    • fetchBySIEI_SSARK

      default SamlSpAuthRequest fetchBySIEI_SSARK(String samlIdpEntityId, String samlSpAuthRequestKey)
      Returns the saml sp auth request where samlIdpEntityId = ? and samlSpAuthRequestKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      samlIdpEntityId - the saml idp entity ID
      samlSpAuthRequestKey - the saml sp auth request key
      Returns:
      the matching saml sp auth request, or null if a matching saml sp auth request could not be found