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

@ProviderType public interface OpenIdConnectUserPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectUser>
The persistence interface for the open ID connect user service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_I_S(long companyId, String issuer, String subject)
    Returns the number of open ID connect users where companyId = ? and issuer = ? and subject = ?.
    int
    countByC_U(long companyId, long userId)
    Returns the number of open ID connect users where companyId = ? and userId = ?.
    create(long openIdConnectUserId)
    Creates a new open ID connect user with the primary key.
    fetchByC_I_S(long companyId, String issuer, String subject)
    Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returns null if it could not be found.
    fetchByC_I_S(long companyId, String issuer, String subject, boolean useFinderCache)
    Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator)
    Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.
    fetchByPrimaryKey(long openIdConnectUserId)
    Returns the open ID connect user with the primary key or returns null if it could not be found.
    findByC_I_S(long companyId, String issuer, String subject)
    Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or throws a NoSuchUserException if it could not be found.
    findByC_U(long companyId, long userId)
    Returns all the open ID connect users where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the open ID connect users where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator)
    Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.
    findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator)
    Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.
    findByPrimaryKey(long openIdConnectUserId)
    Returns the open ID connect user with the primary key or throws a NoSuchUserException if it could not be found.
    remove(long openIdConnectUserId)
    Removes the open ID connect user with the primary key from the database.
    removeByC_I_S(long companyId, String issuer, String subject)
    Removes the open ID connect user where companyId = ? and issuer = ? and subject = ? from the database.
    void
    removeByC_U(long companyId, long userId)
    Removes all the open ID connect users where companyId = ? and userId = ? from the database.
    updateImpl(OpenIdConnectUser openIdConnectUser)
     

    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

    • findByC_U

      List<OpenIdConnectUser> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.

      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.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of open ID connect users
      end - the upper bound of the range of open ID connect users (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 open ID connect users
    • findByC_U_First

      OpenIdConnectUser findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) throws NoSuchUserException
      Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect user
      Throws:
      NoSuchUserException - if a matching open ID connect user could not be found
    • fetchByC_U_First

      OpenIdConnectUser fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator)
      Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching open ID connect user, or null if a matching open ID connect user could not be found
    • removeByC_U

      void removeByC_U(long companyId, long userId)
      Removes all the open ID connect users where companyId = ? and userId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
    • countByC_U

      int countByC_U(long companyId, long userId)
      Returns the number of open ID connect users where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching open ID connect users
    • findByC_I_S

      OpenIdConnectUser findByC_I_S(long companyId, String issuer, String subject) throws NoSuchUserException
      Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or throws a NoSuchUserException if it could not be found.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      subject - the subject
      Returns:
      the matching open ID connect user
      Throws:
      NoSuchUserException - if a matching open ID connect user could not be found
    • fetchByC_I_S

      OpenIdConnectUser fetchByC_I_S(long companyId, String issuer, String subject, boolean useFinderCache)
      Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      subject - the subject
      useFinderCache - whether to use the finder cache
      Returns:
      the matching open ID connect user, or null if a matching open ID connect user could not be found
    • removeByC_I_S

      OpenIdConnectUser removeByC_I_S(long companyId, String issuer, String subject) throws NoSuchUserException
      Removes the open ID connect user where companyId = ? and issuer = ? and subject = ? from the database.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      subject - the subject
      Returns:
      the open ID connect user that was removed
      Throws:
      NoSuchUserException
    • countByC_I_S

      int countByC_I_S(long companyId, String issuer, String subject)
      Returns the number of open ID connect users where companyId = ? and issuer = ? and subject = ?.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      subject - the subject
      Returns:
      the number of matching open ID connect users
    • create

      OpenIdConnectUser create(long openIdConnectUserId)
      Creates a new open ID connect user with the primary key. Does not add the open ID connect user to the database.
      Parameters:
      openIdConnectUserId - the primary key for the new open ID connect user
      Returns:
      the new open ID connect user
    • remove

      OpenIdConnectUser remove(long openIdConnectUserId) throws NoSuchUserException
      Removes the open ID connect user with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      openIdConnectUserId - the primary key of the open ID connect user
      Returns:
      the open ID connect user that was removed
      Throws:
      NoSuchUserException - if a open ID connect user with the primary key could not be found
    • updateImpl

      OpenIdConnectUser updateImpl(OpenIdConnectUser openIdConnectUser)
    • findByPrimaryKey

      OpenIdConnectUser findByPrimaryKey(long openIdConnectUserId) throws NoSuchUserException
      Returns the open ID connect user with the primary key or throws a NoSuchUserException if it could not be found.
      Parameters:
      openIdConnectUserId - the primary key of the open ID connect user
      Returns:
      the open ID connect user
      Throws:
      NoSuchUserException - if a open ID connect user with the primary key could not be found
    • fetchByPrimaryKey

      OpenIdConnectUser fetchByPrimaryKey(long openIdConnectUserId)
      Returns the open ID connect user with the primary key or returns null if it could not be found.
      Parameters:
      openIdConnectUserId - the primary key of the open ID connect user
      Returns:
      the open ID connect user, or null if a open ID connect user with the primary key could not be found
    • fetchByC_I_S

      default OpenIdConnectUser fetchByC_I_S(long companyId, String issuer, String subject)
      Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      subject - the subject
      Returns:
      the matching open ID connect user, or null if a matching open ID connect user could not be found
    • findByC_U

      default List<OpenIdConnectUser> findByC_U(long companyId, long userId)
      Returns all the open ID connect users where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching open ID connect users
    • findByC_U

      default List<OpenIdConnectUser> findByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the open ID connect users where companyId = ? and userId = ?.

      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.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of open ID connect users
      end - the upper bound of the range of open ID connect users (not inclusive)
      Returns:
      the range of matching open ID connect users
    • findByC_U

      default List<OpenIdConnectUser> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator)
      Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.

      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.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of open ID connect users
      end - the upper bound of the range of open ID connect users (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching open ID connect users