Interface SamlSpSessionPersistence

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

@ProviderType public interface SamlSpSessionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlSpSession>
The persistence interface for the saml sp session service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_SI(long companyId, String sessionIndex)
    Returns the number of saml sp sessions where companyId = ? and sessionIndex = ?.
    int
    Returns the number of saml sp sessions where jSessionId = ?.
    int
    countBySamlPeerBindingId(long samlPeerBindingId)
    Returns the number of saml sp sessions where samlPeerBindingId = ?.
    int
    countBySamlSpSessionKey(String samlSpSessionKey)
    Returns the number of saml sp sessions where samlSpSessionKey = ?.
    create(long samlSpSessionId)
    Creates a new saml sp session with the primary key.
    fetchByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
    Returns the saml sp session where jSessionId = ? or returns null if it could not be found.
    fetchByJSessionId(String jSessionId, boolean useFinderCache)
    Returns the saml sp session where jSessionId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long samlSpSessionId)
    Returns the saml sp session with the primary key or returns null if it could not be found.
    fetchBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
    fetchBySamlSpSessionKey(String samlSpSessionKey)
    Returns the saml sp session where samlSpSessionKey = ? or returns null if it could not be found.
    fetchBySamlSpSessionKey(String samlSpSessionKey, boolean useFinderCache)
    Returns the saml sp session where samlSpSessionKey = ? or returns null if it could not be found, optionally using the finder cache.
    findByC_SI(long companyId, String sessionIndex)
    Returns all the saml sp sessions where companyId = ? and sessionIndex = ?.
    findByC_SI(long companyId, String sessionIndex, int start, int end)
    Returns a range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
    findByC_SI(long companyId, String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
    findByC_SI(long companyId, String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.
    findByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
    Returns the saml sp session where jSessionId = ? or throws a NoSuchSpSessionException if it could not be found.
    findByPrimaryKey(long samlSpSessionId)
    Returns the saml sp session with the primary key or throws a NoSuchSpSessionException if it could not be found.
    findBySamlPeerBindingId(long samlPeerBindingId)
    Returns all the saml sp sessions where samlPeerBindingId = ?.
    findBySamlPeerBindingId(long samlPeerBindingId, int start, int end)
    Returns a range of all the saml sp sessions where samlPeerBindingId = ?.
    findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.
    findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.
    findBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
    findBySamlSpSessionKey(String samlSpSessionKey)
    Returns the saml sp session where samlSpSessionKey = ? or throws a NoSuchSpSessionException if it could not be found.
    remove(long samlSpSessionId)
    Removes the saml sp session with the primary key from the database.
    void
    removeByC_SI(long companyId, String sessionIndex)
    Removes all the saml sp sessions where companyId = ? and sessionIndex = ? from the database.
    Removes the saml sp session where jSessionId = ? from the database.
    void
    removeBySamlPeerBindingId(long samlPeerBindingId)
    Removes all the saml sp sessions where samlPeerBindingId = ? from the database.
    removeBySamlSpSessionKey(String samlSpSessionKey)
    Removes the saml sp session where samlSpSessionKey = ? from the database.
    updateImpl(SamlSpSession samlSpSession)
     

    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

    • findBySamlPeerBindingId

      List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.

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

      Parameters:
      samlPeerBindingId - the saml peer binding ID
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (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 sessions
    • findBySamlPeerBindingId_First

      SamlSpSession findBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
      Parameters:
      samlPeerBindingId - the saml peer binding ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchBySamlPeerBindingId_First

      SamlSpSession fetchBySamlPeerBindingId_First(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns the first saml sp session in the ordered set where samlPeerBindingId = ?.
      Parameters:
      samlPeerBindingId - the saml peer binding ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp session, or null if a matching saml sp session could not be found
    • removeBySamlPeerBindingId

      void removeBySamlPeerBindingId(long samlPeerBindingId)
      Removes all the saml sp sessions where samlPeerBindingId = ? from the database.
      Parameters:
      samlPeerBindingId - the saml peer binding ID
    • countBySamlPeerBindingId

      int countBySamlPeerBindingId(long samlPeerBindingId)
      Returns the number of saml sp sessions where samlPeerBindingId = ?.
      Parameters:
      samlPeerBindingId - the saml peer binding ID
      Returns:
      the number of matching saml sp sessions
    • findByJSessionId

      SamlSpSession findByJSessionId(String jSessionId) throws NoSuchSpSessionException
      Returns the saml sp session where jSessionId = ? or throws a NoSuchSpSessionException if it could not be found.
      Parameters:
      jSessionId - the j session ID
      Returns:
      the matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchByJSessionId

      SamlSpSession fetchByJSessionId(String jSessionId, boolean useFinderCache)
      Returns the saml sp session where jSessionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      jSessionId - the j session ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml sp session, or null if a matching saml sp session could not be found
    • removeByJSessionId

      SamlSpSession removeByJSessionId(String jSessionId) throws NoSuchSpSessionException
      Removes the saml sp session where jSessionId = ? from the database.
      Parameters:
      jSessionId - the j session ID
      Returns:
      the saml sp session that was removed
      Throws:
      NoSuchSpSessionException
    • countByJSessionId

      int countByJSessionId(String jSessionId)
      Returns the number of saml sp sessions where jSessionId = ?.
      Parameters:
      jSessionId - the j session ID
      Returns:
      the number of matching saml sp sessions
    • findBySamlSpSessionKey

      SamlSpSession findBySamlSpSessionKey(String samlSpSessionKey) throws NoSuchSpSessionException
      Returns the saml sp session where samlSpSessionKey = ? or throws a NoSuchSpSessionException if it could not be found.
      Parameters:
      samlSpSessionKey - the saml sp session key
      Returns:
      the matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchBySamlSpSessionKey

      SamlSpSession fetchBySamlSpSessionKey(String samlSpSessionKey, boolean useFinderCache)
      Returns the saml sp session where samlSpSessionKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      samlSpSessionKey - the saml sp session key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching saml sp session, or null if a matching saml sp session could not be found
    • removeBySamlSpSessionKey

      SamlSpSession removeBySamlSpSessionKey(String samlSpSessionKey) throws NoSuchSpSessionException
      Removes the saml sp session where samlSpSessionKey = ? from the database.
      Parameters:
      samlSpSessionKey - the saml sp session key
      Returns:
      the saml sp session that was removed
      Throws:
      NoSuchSpSessionException
    • countBySamlSpSessionKey

      int countBySamlSpSessionKey(String samlSpSessionKey)
      Returns the number of saml sp sessions where samlSpSessionKey = ?.
      Parameters:
      samlSpSessionKey - the saml sp session key
      Returns:
      the number of matching saml sp sessions
    • findByC_SI

      List<SamlSpSession> findByC_SI(long companyId, String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.

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

      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (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 sessions
    • findByC_SI_First

      SamlSpSession findByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchByC_SI_First

      SamlSpSession fetchByC_SI_First(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns the first saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml sp session, or null if a matching saml sp session could not be found
    • removeByC_SI

      void removeByC_SI(long companyId, String sessionIndex)
      Removes all the saml sp sessions where companyId = ? and sessionIndex = ? from the database.
      Parameters:
      companyId - the company ID
      sessionIndex - the session index
    • countByC_SI

      int countByC_SI(long companyId, String sessionIndex)
      Returns the number of saml sp sessions where companyId = ? and sessionIndex = ?.
      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      Returns:
      the number of matching saml sp sessions
    • create

      SamlSpSession create(long samlSpSessionId)
      Creates a new saml sp session with the primary key. Does not add the saml sp session to the database.
      Parameters:
      samlSpSessionId - the primary key for the new saml sp session
      Returns:
      the new saml sp session
    • remove

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

      SamlSpSession updateImpl(SamlSpSession samlSpSession)
    • findByPrimaryKey

      SamlSpSession findByPrimaryKey(long samlSpSessionId) throws NoSuchSpSessionException
      Returns the saml sp session with the primary key or throws a NoSuchSpSessionException if it could not be found.
      Parameters:
      samlSpSessionId - the primary key of the saml sp session
      Returns:
      the saml sp session
      Throws:
      NoSuchSpSessionException - if a saml sp session with the primary key could not be found
    • fetchByPrimaryKey

      SamlSpSession fetchByPrimaryKey(long samlSpSessionId)
      Returns the saml sp session with the primary key or returns null if it could not be found.
      Parameters:
      samlSpSessionId - the primary key of the saml sp session
      Returns:
      the saml sp session, or null if a saml sp session with the primary key could not be found
    • fetchByJSessionId

      default SamlSpSession fetchByJSessionId(String jSessionId)
      Returns the saml sp session where jSessionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      jSessionId - the j session ID
      Returns:
      the matching saml sp session, or null if a matching saml sp session could not be found
    • fetchBySamlSpSessionKey

      default SamlSpSession fetchBySamlSpSessionKey(String samlSpSessionKey)
      Returns the saml sp session where samlSpSessionKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      samlSpSessionKey - the saml sp session key
      Returns:
      the matching saml sp session, or null if a matching saml sp session could not be found
    • findBySamlPeerBindingId

      default List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId)
      Returns all the saml sp sessions where samlPeerBindingId = ?.
      Parameters:
      samlPeerBindingId - the saml peer binding ID
      Returns:
      the matching saml sp sessions
    • findBySamlPeerBindingId

      default List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, int start, int end)
      Returns a range of all the saml sp sessions where samlPeerBindingId = ?.

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

      Parameters:
      samlPeerBindingId - the saml peer binding ID
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (not inclusive)
      Returns:
      the range of matching saml sp sessions
    • findBySamlPeerBindingId

      default List<SamlSpSession> findBySamlPeerBindingId(long samlPeerBindingId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns an ordered range of all the saml sp sessions where samlPeerBindingId = ?.

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

      Parameters:
      samlPeerBindingId - the saml peer binding ID
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml sp sessions
    • findByC_SI

      default List<SamlSpSession> findByC_SI(long companyId, String sessionIndex)
      Returns all the saml sp sessions where companyId = ? and sessionIndex = ?.
      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      Returns:
      the matching saml sp sessions
    • findByC_SI

      default List<SamlSpSession> findByC_SI(long companyId, String sessionIndex, int start, int end)
      Returns a range of all the saml sp sessions where companyId = ? and sessionIndex = ?.

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

      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (not inclusive)
      Returns:
      the range of matching saml sp sessions
    • findByC_SI

      default List<SamlSpSession> findByC_SI(long companyId, String sessionIndex, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns an ordered range of all the saml sp sessions where companyId = ? and sessionIndex = ?.

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

      Parameters:
      companyId - the company ID
      sessionIndex - the session index
      start - the lower bound of the range of saml sp sessions
      end - the upper bound of the range of saml sp sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml sp sessions