Class SamlPeerBindingUtil

java.lang.Object
com.liferay.saml.persistence.service.persistence.SamlPeerBindingUtil

public class SamlPeerBindingUtil extends Object
The persistence utility for the saml peer binding service. This utility wraps com.liferay.saml.persistence.service.persistence.impl.SamlPeerBindingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(SamlPeerBinding samlPeerBinding)
    Caches the saml peer binding in the entity cache if it is enabled.
    static void
    cacheResult(List<SamlPeerBinding> samlPeerBindings)
    Caches the saml peer bindings in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(SamlPeerBinding samlPeerBinding)
     
    static int
    Returns the number of saml peer bindings.
    static int
    countByC_D_SNIV(long companyId, boolean deleted, String samlNameIdValue)
    Returns the number of saml peer bindings where companyId = ? and deleted = ? and samlNameIdValue = ?.
    static 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 = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    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.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
     
     
    remove(long samlPeerBindingId)
    Removes the saml peer binding with the primary key from the database.
    static void
    Removes all the saml peer bindings from the database.
    static 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.
    static 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.
    static void
     
    update(SamlPeerBinding samlPeerBinding)
     
    update(SamlPeerBinding samlPeerBinding, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(SamlPeerBinding samlPeerBinding)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SamlPeerBindingUtil

      public SamlPeerBindingUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(SamlPeerBinding samlPeerBinding)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,SamlPeerBinding> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<SamlPeerBinding> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlPeerBinding> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static SamlPeerBinding update(SamlPeerBinding samlPeerBinding)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static SamlPeerBinding update(SamlPeerBinding samlPeerBinding, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByC_D_SNIV

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPeerBindingException
    • fetchByC_D_SNIV_First

      public static 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

      public static 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
      NoSuchPeerBindingException
    • fetchByC_D_SNIV_Last

      public static 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

      public static 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
      NoSuchPeerBindingException
    • removeByC_D_SNIV

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchPeerBindingException
    • fetchByC_U_D_SPEI_First

      public static 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

      public static 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
      NoSuchPeerBindingException
    • fetchByC_U_D_SPEI_Last

      public static 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

      public static 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
      NoSuchPeerBindingException
    • removeByC_U_D_SPEI

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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
      NoSuchPeerBindingException
    • updateImpl

      public static SamlPeerBinding updateImpl(SamlPeerBinding samlPeerBinding)
    • findByPrimaryKey

      public static 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
      NoSuchPeerBindingException
    • fetchByPrimaryKey

      public static 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

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

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of saml peer bindings.
      Returns:
      the number of saml peer bindings
    • getPersistence

      public static SamlPeerBindingPersistence getPersistence()
    • setPersistence

      public static void setPersistence(SamlPeerBindingPersistence persistence)