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
    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_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted)
    Returns the number of saml peer bindings where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
    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_U_SPEI_D_First(long companyId, long userId, String samlPeerEntityId, boolean deleted, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
    fetchByPrimaryKey(long samlPeerBindingId)
    Returns the saml peer binding with the primary key or returns null if it could not be found.
    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_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted)
    Returns all the saml peer bindings where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
    findByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted, int start, int end)
    Returns a range of all the saml peer bindings where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
    findByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted, 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 samlPeerEntityId = ? and deleted = ?.
    findByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted, 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 samlPeerEntityId = ? and deleted = ?.
    findByC_U_SPEI_D_First(long companyId, long userId, String samlPeerEntityId, boolean deleted, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
    Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
    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
    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_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted)
    Removes all the saml peer bindings where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ? from the database.
    updateImpl(SamlPeerBinding samlPeerBinding)
     

    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

    • 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 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.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
    • 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_SPEI_D

      List<SamlPeerBinding> findByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted, 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 samlPeerEntityId = ? and deleted = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      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_SPEI_D_First

      SamlPeerBinding findByC_U_SPEI_D_First(long companyId, long userId, String samlPeerEntityId, boolean deleted, 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 samlPeerEntityId = ? and deleted = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      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_SPEI_D_First

      SamlPeerBinding fetchByC_U_SPEI_D_First(long companyId, long userId, String samlPeerEntityId, boolean deleted, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      Returns the first saml peer binding in the ordered set where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      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
    • removeByC_U_SPEI_D

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

      int countByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted)
      Returns the number of saml peer bindings where companyId = ? and userId = ? and samlPeerEntityId = ? and deleted = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      Returns:
      the number of matching 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
    • findByC_D_SNIV

      default 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

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

      default 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 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.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_U_SPEI_D

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

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

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      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_SPEI_D

      default List<SamlPeerBinding> findByC_U_SPEI_D(long companyId, long userId, String samlPeerEntityId, boolean deleted, 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 samlPeerEntityId = ? and deleted = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      samlPeerEntityId - the saml peer entity ID
      deleted - the deleted
      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