Interface SamlIdpSpSessionPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByLtCreateDate

      List<SamlIdpSpSession> findByLtCreateDate(Date createDate)
      Returns all the saml idp sp sessions where createDate < ?.
      Parameters:
      createDate - the create date
      Returns:
      the matching saml idp sp sessions
    • findByLtCreateDate

      List<SamlIdpSpSession> findByLtCreateDate(Date createDate, int start, int end)
      Returns a range of all the saml idp sp sessions where createDate < ?.

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

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp sp sessions (not inclusive)
      Returns:
      the range of matching saml idp sp sessions
    • findByLtCreateDate

      List<SamlIdpSpSession> findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns an ordered range of all the saml idp sp sessions where createDate < ?.

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

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp sp sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml idp sp sessions
    • findByLtCreateDate

      List<SamlIdpSpSession> findByLtCreateDate(Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml idp sp sessions where createDate < ?.

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

      Parameters:
      createDate - the create date
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp 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 idp sp sessions
    • findByLtCreateDate_First

      SamlIdpSpSession findByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the first saml idp sp session in the ordered set where createDate < ?.
      Parameters:
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a matching saml idp sp session could not be found
    • fetchByLtCreateDate_First

      SamlIdpSpSession fetchByLtCreateDate_First(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns the first saml idp sp session in the ordered set where createDate < ?.
      Parameters:
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml idp sp session, or null if a matching saml idp sp session could not be found
    • findByLtCreateDate_Last

      SamlIdpSpSession findByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the last saml idp sp session in the ordered set where createDate < ?.
      Parameters:
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a matching saml idp sp session could not be found
    • fetchByLtCreateDate_Last

      SamlIdpSpSession fetchByLtCreateDate_Last(Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns the last saml idp sp session in the ordered set where createDate < ?.
      Parameters:
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml idp sp session, or null if a matching saml idp sp session could not be found
    • findByLtCreateDate_PrevAndNext

      SamlIdpSpSession[] findByLtCreateDate_PrevAndNext(long samlIdpSpSessionId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where createDate < ?.
      Parameters:
      samlIdpSpSessionId - the primary key of the current saml idp sp session
      createDate - the create date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a saml idp sp session with the primary key could not be found
    • removeByLtCreateDate

      void removeByLtCreateDate(Date createDate)
      Removes all the saml idp sp sessions where createDate < ? from the database.
      Parameters:
      createDate - the create date
    • countByLtCreateDate

      int countByLtCreateDate(Date createDate)
      Returns the number of saml idp sp sessions where createDate < ?.
      Parameters:
      createDate - the create date
      Returns:
      the number of matching saml idp sp sessions
    • findBySamlIdpSsoSessionId

      List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
      Returns all the saml idp sp sessions where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      Returns:
      the matching saml idp sp sessions
    • findBySamlIdpSsoSessionId

      List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end)
      Returns a range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.

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

      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp sp sessions (not inclusive)
      Returns:
      the range of matching saml idp sp sessions
    • findBySamlIdpSsoSessionId

      List<SamlIdpSpSession> findBySamlIdpSsoSessionId(long samlIdpSsoSessionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns an ordered range of all the saml idp sp sessions where samlIdpSsoSessionId = ?.

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

      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp sp sessions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching saml idp sp sessions
    • findBySamlIdpSsoSessionId

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

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

      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      start - the lower bound of the range of saml idp sp sessions
      end - the upper bound of the range of saml idp 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 idp sp sessions
    • findBySamlIdpSsoSessionId_First

      SamlIdpSpSession findBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a matching saml idp sp session could not be found
    • fetchBySamlIdpSsoSessionId_First

      SamlIdpSpSession fetchBySamlIdpSsoSessionId_First(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns the first saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching saml idp sp session, or null if a matching saml idp sp session could not be found
    • findBySamlIdpSsoSessionId_Last

      SamlIdpSpSession findBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a matching saml idp sp session could not be found
    • fetchBySamlIdpSsoSessionId_Last

      SamlIdpSpSession fetchBySamlIdpSsoSessionId_Last(long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns the last saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching saml idp sp session, or null if a matching saml idp sp session could not be found
    • findBySamlIdpSsoSessionId_PrevAndNext

      SamlIdpSpSession[] findBySamlIdpSsoSessionId_PrevAndNext(long samlIdpSpSessionId, long samlIdpSsoSessionId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator) throws NoSuchIdpSpSessionException
      Returns the saml idp sp sessions before and after the current saml idp sp session in the ordered set where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSpSessionId - the primary key of the current saml idp sp session
      samlIdpSsoSessionId - the saml idp sso session ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next saml idp sp session
      Throws:
      NoSuchIdpSpSessionException - if a saml idp sp session with the primary key could not be found
    • removeBySamlIdpSsoSessionId

      void removeBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
      Removes all the saml idp sp sessions where samlIdpSsoSessionId = ? from the database.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
    • countBySamlIdpSsoSessionId

      int countBySamlIdpSsoSessionId(long samlIdpSsoSessionId)
      Returns the number of saml idp sp sessions where samlIdpSsoSessionId = ?.
      Parameters:
      samlIdpSsoSessionId - the saml idp sso session ID
      Returns:
      the number of matching saml idp sp sessions
    • cacheResult

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

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

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

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

      SamlIdpSpSession updateImpl(SamlIdpSpSession samlIdpSpSession)
    • findByPrimaryKey

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

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

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

      List<SamlIdpSpSession> findAll(int start, int end)
      Returns a range of all the saml idp 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 SamlIdpSpSessionModelImpl.

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

      List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator)
      Returns an ordered range of all the saml idp 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 SamlIdpSpSessionModelImpl.

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

      List<SamlIdpSpSession> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpSession> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the saml idp 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 SamlIdpSpSessionModelImpl.

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

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

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