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 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 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 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 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 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 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 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
    • 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 date
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml sp auth request, or null if 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 request
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      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

      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)
      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
    • 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
    • cacheResult

      void cacheResult(SamlSpAuthRequest samlSpAuthRequest)
      Caches the saml sp auth request in the entity cache if it is enabled.
      Parameters:
      samlSpAuthRequest - the saml sp auth request
    • cacheResult

      void cacheResult(List<SamlSpAuthRequest> samlSpAuthRequests)
      Caches the saml sp auth requests in the entity cache if it is enabled.
      Parameters:
      samlSpAuthRequests - the 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
    • findAll

      Returns all the saml sp auth requests.
      Returns:
      the saml sp auth requests
    • findAll

      List<SamlSpAuthRequest> findAll(int start, int end)
      Returns a range of all the saml sp auth requests.

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

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

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

      Parameters:
      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 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