Interface SamlSpIdpConnectionPersistence

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

@ProviderType public interface SamlSpIdpConnectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpIdpConnection>
The persistence interface for the saml sp idp connection service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(SamlSpIdpConnection samlSpIdpConnection)
    Caches the saml sp idp connection in the entity cache if it is enabled.
    void
    cacheResult(List<SamlSpIdpConnection> samlSpIdpConnections)
    Caches the saml sp idp connections in the entity cache if it is enabled.
    int
    Returns the number of saml sp idp connections.
    int
    countByC_SIEI(long companyId, String samlIdpEntityId)
    Returns the number of saml sp idp connections where companyId = ? and samlIdpEntityId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of saml sp idp connections where companyId = ?.
    create(long samlSpIdpConnectionId)
    Creates a new saml sp idp connection with the primary key.
    fetchByC_SIEI(long companyId, String samlIdpEntityId)
    Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or returns null if it could not be found.
    fetchByC_SIEI(long companyId, String samlIdpEntityId, boolean useFinderCache)
    Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns the first saml sp idp connection in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns the last saml sp idp connection in the ordered set where companyId = ?.
    fetchByPrimaryKey(long samlSpIdpConnectionId)
    Returns the saml sp idp connection with the primary key or returns null if it could not be found.
    Returns all the saml sp idp connections.
    findAll(int start, int end)
    Returns a range of all the saml sp idp connections.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns an ordered range of all the saml sp idp connections.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml sp idp connections.
    findByC_SIEI(long companyId, String samlIdpEntityId)
    Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or throws a NoSuchSpIdpConnectionException if it could not be found.
    findByCompanyId(long companyId)
    Returns all the saml sp idp connections where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the saml sp idp connections where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns an ordered range of all the saml sp idp connections where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml sp idp connections where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns the first saml sp idp connection in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns the last saml sp idp connection in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long samlSpIdpConnectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
    Returns the saml sp idp connections before and after the current saml sp idp connection in the ordered set where companyId = ?.
    findByPrimaryKey(long samlSpIdpConnectionId)
    Returns the saml sp idp connection with the primary key or throws a NoSuchSpIdpConnectionException if it could not be found.
    remove(long samlSpIdpConnectionId)
    Removes the saml sp idp connection with the primary key from the database.
    void
    Removes all the saml sp idp connections from the database.
    removeByC_SIEI(long companyId, String samlIdpEntityId)
    Removes the saml sp idp connection where companyId = ? and samlIdpEntityId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the saml sp idp connections where companyId = ? from the database.
    updateImpl(SamlSpIdpConnection samlSpIdpConnection)
     

    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

    • findByCompanyId

      List<SamlSpIdpConnection> findByCompanyId(long companyId)
      Returns all the saml sp idp connections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching saml sp idp connections
    • findByCompanyId

      List<SamlSpIdpConnection> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the saml sp idp connections where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of saml sp idp connections
      end - the upper bound of the range of saml sp idp connections (not inclusive)
      Returns:
      the range of matching saml sp idp connections
    • findByCompanyId

      List<SamlSpIdpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
      Returns an ordered range of all the saml sp idp connections where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of saml sp idp connections
      end - the upper bound of the range of saml sp idp connections (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml sp idp connections
    • findByCompanyId

      List<SamlSpIdpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml sp idp connections where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of saml sp idp connections
      end - the upper bound of the range of saml sp idp connections (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 idp connections
    • findByCompanyId_First

      SamlSpIdpConnection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator) throws NoSuchSpIdpConnectionException
      Returns the first saml sp idp connection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp idp connection
      Throws:
      NoSuchSpIdpConnectionException - if a matching saml sp idp connection could not be found
    • fetchByCompanyId_First

      SamlSpIdpConnection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
      Returns the first saml sp idp connection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp idp connection, or null if a matching saml sp idp connection could not be found
    • findByCompanyId_Last

      SamlSpIdpConnection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator) throws NoSuchSpIdpConnectionException
      Returns the last saml sp idp connection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml sp idp connection
      Throws:
      NoSuchSpIdpConnectionException - if a matching saml sp idp connection could not be found
    • fetchByCompanyId_Last

      SamlSpIdpConnection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
      Returns the last saml sp idp connection in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml sp idp connection, or null if a matching saml sp idp connection could not be found
    • findByCompanyId_PrevAndNext

      SamlSpIdpConnection[] findByCompanyId_PrevAndNext(long samlSpIdpConnectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator) throws NoSuchSpIdpConnectionException
      Returns the saml sp idp connections before and after the current saml sp idp connection in the ordered set where companyId = ?.
      Parameters:
      samlSpIdpConnectionId - the primary key of the current saml sp idp connection
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml sp idp connection
      Throws:
      NoSuchSpIdpConnectionException - if a saml sp idp connection with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the saml sp idp connections where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of saml sp idp connections where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching saml sp idp connections
    • findByC_SIEI

      SamlSpIdpConnection findByC_SIEI(long companyId, String samlIdpEntityId) throws NoSuchSpIdpConnectionException
      Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or throws a NoSuchSpIdpConnectionException if it could not be found.
      Parameters:
      companyId - the company ID
      samlIdpEntityId - the saml idp entity ID
      Returns:
      the matching saml sp idp connection
      Throws:
      NoSuchSpIdpConnectionException - if a matching saml sp idp connection could not be found
    • fetchByC_SIEI

      SamlSpIdpConnection fetchByC_SIEI(long companyId, String samlIdpEntityId)
      Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      samlIdpEntityId - the saml idp entity ID
      Returns:
      the matching saml sp idp connection, or null if a matching saml sp idp connection could not be found
    • fetchByC_SIEI

      SamlSpIdpConnection fetchByC_SIEI(long companyId, String samlIdpEntityId, boolean useFinderCache)
      Returns the saml sp idp connection where companyId = ? and samlIdpEntityId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      samlIdpEntityId - the saml idp entity ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml sp idp connection, or null if a matching saml sp idp connection could not be found
    • removeByC_SIEI

      SamlSpIdpConnection removeByC_SIEI(long companyId, String samlIdpEntityId) throws NoSuchSpIdpConnectionException
      Removes the saml sp idp connection where companyId = ? and samlIdpEntityId = ? from the database.
      Parameters:
      companyId - the company ID
      samlIdpEntityId - the saml idp entity ID
      Returns:
      the saml sp idp connection that was removed
      Throws:
      NoSuchSpIdpConnectionException
    • countByC_SIEI

      int countByC_SIEI(long companyId, String samlIdpEntityId)
      Returns the number of saml sp idp connections where companyId = ? and samlIdpEntityId = ?.
      Parameters:
      companyId - the company ID
      samlIdpEntityId - the saml idp entity ID
      Returns:
      the number of matching saml sp idp connections
    • cacheResult

      void cacheResult(SamlSpIdpConnection samlSpIdpConnection)
      Caches the saml sp idp connection in the entity cache if it is enabled.
      Parameters:
      samlSpIdpConnection - the saml sp idp connection
    • cacheResult

      void cacheResult(List<SamlSpIdpConnection> samlSpIdpConnections)
      Caches the saml sp idp connections in the entity cache if it is enabled.
      Parameters:
      samlSpIdpConnections - the saml sp idp connections
    • create

      SamlSpIdpConnection create(long samlSpIdpConnectionId)
      Creates a new saml sp idp connection with the primary key. Does not add the saml sp idp connection to the database.
      Parameters:
      samlSpIdpConnectionId - the primary key for the new saml sp idp connection
      Returns:
      the new saml sp idp connection
    • remove

      SamlSpIdpConnection remove(long samlSpIdpConnectionId) throws NoSuchSpIdpConnectionException
      Removes the saml sp idp connection with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      samlSpIdpConnectionId - the primary key of the saml sp idp connection
      Returns:
      the saml sp idp connection that was removed
      Throws:
      NoSuchSpIdpConnectionException - if a saml sp idp connection with the primary key could not be found
    • updateImpl

      SamlSpIdpConnection updateImpl(SamlSpIdpConnection samlSpIdpConnection)
    • findByPrimaryKey

      SamlSpIdpConnection findByPrimaryKey(long samlSpIdpConnectionId) throws NoSuchSpIdpConnectionException
      Returns the saml sp idp connection with the primary key or throws a NoSuchSpIdpConnectionException if it could not be found.
      Parameters:
      samlSpIdpConnectionId - the primary key of the saml sp idp connection
      Returns:
      the saml sp idp connection
      Throws:
      NoSuchSpIdpConnectionException - if a saml sp idp connection with the primary key could not be found
    • fetchByPrimaryKey

      SamlSpIdpConnection fetchByPrimaryKey(long samlSpIdpConnectionId)
      Returns the saml sp idp connection with the primary key or returns null if it could not be found.
      Parameters:
      samlSpIdpConnectionId - the primary key of the saml sp idp connection
      Returns:
      the saml sp idp connection, or null if a saml sp idp connection with the primary key could not be found
    • findAll

      Returns all the saml sp idp connections.
      Returns:
      the saml sp idp connections
    • findAll

      List<SamlSpIdpConnection> findAll(int start, int end)
      Returns a range of all the saml sp idp connections.

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

      Parameters:
      start - the lower bound of the range of saml sp idp connections
      end - the upper bound of the range of saml sp idp connections (not inclusive)
      Returns:
      the range of saml sp idp connections
    • findAll

      List<SamlSpIdpConnection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpIdpConnection> orderByComparator)
      Returns an ordered range of all the saml sp idp connections.

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

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

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

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

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

      void removeAll()
      Removes all the saml sp idp connections from the database.
    • countAll

      int countAll()
      Returns the number of saml sp idp connections.
      Returns:
      the number of saml sp idp connections