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
    void
    cacheResult(SamlSpSession samlSpSession)
    Caches the saml sp session in the entity cache if it is enabled.
    void
    cacheResult(List<SamlSpSession> samlSpSessions)
    Caches the saml sp sessions in the entity cache if it is enabled.
    int
    Returns the number of saml sp sessions.
    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 = ?.
    fetchByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the last 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 = ?.
    fetchBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the last 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.
    Returns all the saml sp sessions.
    findAll(int start, int end)
    Returns a range of all the saml sp sessions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns an ordered range of all the saml sp sessions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the saml sp sessions.
    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 = ?.
    findByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the last saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
    findByC_SI_PrevAndNext(long samlSpSessionId, long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the saml sp sessions before and after the current 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 = ?.
    findBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the last saml sp session in the ordered set where samlPeerBindingId = ?.
    findBySamlPeerBindingId_PrevAndNext(long samlSpSessionId, long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
    Returns the saml sp sessions before and after the current 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
    Removes all the saml sp sessions 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

    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

    • findBySamlPeerBindingId

      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

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

      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 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 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
    • 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 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 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
    • findBySamlPeerBindingId_Last

      SamlSpSession findBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the last 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 last matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchBySamlPeerBindingId_Last

      SamlSpSession fetchBySamlPeerBindingId_Last(long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns the last 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 last matching saml sp session, or null if a matching saml sp session could not be found
    • findBySamlPeerBindingId_PrevAndNext

      SamlSpSession[] findBySamlPeerBindingId_PrevAndNext(long samlSpSessionId, long samlPeerBindingId, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the saml sp sessions before and after the current saml sp session in the ordered set where samlPeerBindingId = ?.
      Parameters:
      samlSpSessionId - the primary key of the current saml sp session
      samlPeerBindingId - the saml peer binding ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml sp session
      Throws:
      NoSuchSpSessionException - if a saml sp session with the primary key 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)
      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
    • 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)
      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
    • 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)
      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

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

      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 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 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
    • 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 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 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
    • findByC_SI_Last

      SamlSpSession findByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the last 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 last matching saml sp session
      Throws:
      NoSuchSpSessionException - if a matching saml sp session could not be found
    • fetchByC_SI_Last

      SamlSpSession fetchByC_SI_Last(long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator)
      Returns the last 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 last matching saml sp session, or null if a matching saml sp session could not be found
    • findByC_SI_PrevAndNext

      SamlSpSession[] findByC_SI_PrevAndNext(long samlSpSessionId, long companyId, String sessionIndex, com.liferay.portal.kernel.util.OrderByComparator<SamlSpSession> orderByComparator) throws NoSuchSpSessionException
      Returns the saml sp sessions before and after the current saml sp session in the ordered set where companyId = ? and sessionIndex = ?.
      Parameters:
      samlSpSessionId - the primary key of the current saml sp session
      companyId - the company ID
      sessionIndex - the session index
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml sp session
      Throws:
      NoSuchSpSessionException - if a saml sp session with the primary key 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
    • cacheResult

      void cacheResult(SamlSpSession samlSpSession)
      Caches the saml sp session in the entity cache if it is enabled.
      Parameters:
      samlSpSession - the saml sp session
    • cacheResult

      void cacheResult(List<SamlSpSession> samlSpSessions)
      Caches the saml sp sessions in the entity cache if it is enabled.
      Parameters:
      samlSpSessions - the 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
    • findAll

      List<SamlSpSession> findAll()
      Returns all the saml sp sessions.
      Returns:
      the saml sp sessions
    • findAll

      List<SamlSpSession> findAll(int start, int end)
      Returns a range of all the saml sp sessions.

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

      Parameters:
      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 saml sp sessions
    • findAll

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

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

      Parameters:
      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 saml sp sessions
    • findAll

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

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

      Parameters:
      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 saml sp sessions
    • removeAll

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

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