Interface SamlPeerBindingPersistence

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

@ProviderType public interface SamlPeerBindingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlPeerBinding>
The persistence interface for the saml peer binding service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SamlPeerBinding samlPeerBinding)
    Caches the saml peer binding in the entity cache if it is enabled.
    void
    cacheResult(List<SamlPeerBinding> samlPeerBindings)
    Caches the saml peer bindings in the entity cache if it is enabled.
    int
    Returns the number of saml peer bindings.
    int
    countByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
    Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    int
    countByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
    Returns the number of saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    create(long samlPeerBindingId)
    Creates a new saml peer binding with the primary key.
    fetchByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
    fetchByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
    fetchByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    fetchByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    fetchByPrimaryKey(long samlPeerBindingId)
    Returns the saml peer binding with the primary key or returns null if it could not be found.
    Returns all the saml peer bindings.
    findAll(int start, int end)
    Returns a range of all the saml peer bindings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns an ordered range of all the saml peer bindings.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml peer bindings.
    findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
    Returns all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end)
    Returns a range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_D_SNIV_PrevAndNext(long samlPeerBindingId, long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
    findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
    Returns all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end)
    Returns a range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByC_U_D_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
    findByPrimaryKey(long samlPeerBindingId)
    Returns the saml peer binding with the primary key or throws a NoSuchPeerBindingException if it could not be found.
    remove(long samlPeerBindingId)
    Removes the saml peer binding with the primary key from the database.
    void
    Removes all the saml peer bindings from the database.
    void
    removeByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
    Removes all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ? from the database.
    void
    removeByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
    Removes all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ? from the database.
    updateImpl(SamlPeerBinding samlPeerBinding)
     

    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

    • findByC_D_SNIV

      List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
      Returns all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      Returns:
      the matching saml peer bindings
    • findByC_D_SNIV

      List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end)
      Returns a range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.

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

      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (not inclusive)
      Returns:
      the range of matching saml peer bindings
    • findByC_D_SNIV

      List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.

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

      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml peer bindings
    • findByC_D_SNIV

      List<SamlPeerBinding> findByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.

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

      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (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 peer bindings
    • findByC_D_SNIV_First

      SamlPeerBinding findByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml peer binding
      Throws:
      NoSuchPeerBindingException - if a matching saml peer binding could not be found
    • fetchByC_D_SNIV_First

      SamlPeerBinding fetchByC_D_SNIV_First(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns the first saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml peer binding, or null if a matching saml peer binding could not be found
    • findByC_D_SNIV_Last

      SamlPeerBinding findByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml peer binding
      Throws:
      NoSuchPeerBindingException - if a matching saml peer binding could not be found
    • fetchByC_D_SNIV_Last

      SamlPeerBinding fetchByC_D_SNIV_Last(long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns the last saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml peer binding, or null if a matching saml peer binding could not be found
    • findByC_D_SNIV_PrevAndNext

      SamlPeerBinding[] findByC_D_SNIV_PrevAndNext(long samlPeerBindingId, long companyId, boolean deleted, String samlNameIdValue, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      samlPeerBindingId - the primary key of the current saml peer binding
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml peer binding
      Throws:
      NoSuchPeerBindingException - if a saml peer binding with the primary key could not be found
    • removeByC_D_SNIV

      void removeByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
      Removes all the saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ? from the database.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
    • countByC_D_SNIV

      int countByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
      Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
      Parameters:
      companyId - the company ID
      deleted - the deleted
      samlNameIdValue - the saml name ID value
      Returns:
      the number of matching saml peer bindings
    • findByC_U_D_SPEI

      List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
      Returns all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      Returns:
      the matching saml peer bindings
    • findByC_U_D_SPEI

      List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end)
      Returns a range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (not inclusive)
      Returns:
      the range of matching saml peer bindings
    • findByC_U_D_SPEI

      List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml peer bindings
    • findByC_U_D_SPEI

      List<SamlPeerBinding> findByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (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 peer bindings
    • findByC_U_D_SPEI_First

      SamlPeerBinding findByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml peer binding
      Throws:
      NoSuchPeerBindingException - if a matching saml peer binding could not be found
    • fetchByC_U_D_SPEI_First

      SamlPeerBinding fetchByC_U_D_SPEI_First(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml peer binding, or null if a matching saml peer binding could not be found
    • findByC_U_D_SPEI_Last

      SamlPeerBinding findByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml peer binding
      Throws:
      NoSuchPeerBindingException - if a matching saml peer binding could not be found
    • fetchByC_U_D_SPEI_Last

      SamlPeerBinding fetchByC_U_D_SPEI_Last(long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns the last saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml peer binding, or null if a matching saml peer binding could not be found
    • findByC_U_D_SPEI_PrevAndNext

      SamlPeerBinding[] findByC_U_D_SPEI_PrevAndNext(long samlPeerBindingId, long companyId, long userId, boolean deleted, String samlPeerEntityId, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator) throws NoSuchPeerBindingException
      Returns the saml peer bindings before and after the current saml peer binding in the ordered set where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      samlPeerBindingId - the primary key of the current saml peer binding
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml peer binding
      Throws:
      NoSuchPeerBindingException - if a saml peer binding with the primary key could not be found
    • removeByC_U_D_SPEI

      void removeByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
      Removes all the saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
    • countByC_U_D_SPEI

      int countByC_U_D_SPEI(long companyId, long userId, boolean deleted, String samlPeerEntityId)
      Returns the number of saml peer bindings where companyId = ? and userId = ? and deleted = ? and samlPeerEntityId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      deleted - the deleted
      samlPeerEntityId - the saml peer entity ID
      Returns:
      the number of matching saml peer bindings
    • cacheResult

      void cacheResult(SamlPeerBinding samlPeerBinding)
      Caches the saml peer binding in the entity cache if it is enabled.
      Parameters:
      samlPeerBinding - the saml peer binding
    • cacheResult

      void cacheResult(List<SamlPeerBinding> samlPeerBindings)
      Caches the saml peer bindings in the entity cache if it is enabled.
      Parameters:
      samlPeerBindings - the saml peer bindings
    • create

      SamlPeerBinding create(long samlPeerBindingId)
      Creates a new saml peer binding with the primary key. Does not add the saml peer binding to the database.
      Parameters:
      samlPeerBindingId - the primary key for the new saml peer binding
      Returns:
      the new saml peer binding
    • remove

      SamlPeerBinding remove(long samlPeerBindingId) throws NoSuchPeerBindingException
      Removes the saml peer binding with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      samlPeerBindingId - the primary key of the saml peer binding
      Returns:
      the saml peer binding that was removed
      Throws:
      NoSuchPeerBindingException - if a saml peer binding with the primary key could not be found
    • updateImpl

      SamlPeerBinding updateImpl(SamlPeerBinding samlPeerBinding)
    • findByPrimaryKey

      SamlPeerBinding findByPrimaryKey(long samlPeerBindingId) throws NoSuchPeerBindingException
      Returns the saml peer binding with the primary key or throws a NoSuchPeerBindingException if it could not be found.
      Parameters:
      samlPeerBindingId - the primary key of the saml peer binding
      Returns:
      the saml peer binding
      Throws:
      NoSuchPeerBindingException - if a saml peer binding with the primary key could not be found
    • fetchByPrimaryKey

      SamlPeerBinding fetchByPrimaryKey(long samlPeerBindingId)
      Returns the saml peer binding with the primary key or returns null if it could not be found.
      Parameters:
      samlPeerBindingId - the primary key of the saml peer binding
      Returns:
      the saml peer binding, or null if a saml peer binding with the primary key could not be found
    • findAll

      List<SamlPeerBinding> findAll()
      Returns all the saml peer bindings.
      Returns:
      the saml peer bindings
    • findAll

      List<SamlPeerBinding> findAll(int start, int end)
      Returns a range of all the saml peer bindings.

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

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

      List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns an ordered range of all the saml peer bindings.

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

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

      List<SamlPeerBinding> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml peer bindings.

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

      Parameters:
      start - the lower bound of the range of saml peer bindings
      end - the upper bound of the range of saml peer bindings (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 peer bindings
    • removeAll

      void removeAll()
      Removes all the saml peer bindings from the database.
    • countAll

      int countAll()
      Returns the number of saml peer bindings.
      Returns:
      the number of saml peer bindings