Interface OAuthClientEntryPersistence

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

@ProviderType public interface OAuthClientEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuthClientEntry>
The persistence interface for the o auth client entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_A(long companyId, String authServerWellKnownURI)
    Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.
    int
    countByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
    Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of o auth client entries where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of o auth client entries where externalReferenceCode = ? and companyId = ?.
    int
    countByUserId(long userId)
    Returns the number of o auth client entries where userId = ?.
    int
    Returns the number of o auth client entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of o auth client entries where uuid = ? and companyId = ?.
    create(long oAuthClientEntryId)
    Creates a new o auth client entry with the primary key.
    fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
    Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found.
    fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache)
    Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long oAuthClientEntryId)
    Returns the o auth client entry with the primary key or returns null if it could not be found.
    fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where userId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where uuid = ?.
    int
    filterCountByC_A(long companyId, String authServerWellKnownURI)
    Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of o auth client entries that the user has permission to view where companyId = ?.
    int
    filterCountByUserId(long userId)
    Returns the number of o auth client entries that the user has permission to view where userId = ?.
    int
    Returns the number of o auth client entries that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of o auth client entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_A(long companyId, String authServerWellKnownURI)
    Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
    filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end)
    Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
    filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.
    filterFindByCompanyId(long companyId)
    Returns all the o auth client entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the o auth client entries that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.
    filterFindByUserId(long userId)
    Returns all the o auth client entries that the user has permission to view where userId = ?.
    filterFindByUserId(long userId, int start, int end)
    Returns a range of all the o auth client entries that the user has permission to view where userId = ?.
    filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.
    Returns all the o auth client entries that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the o auth client entries that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ? and companyId = ?.
    findByC_A(long companyId, String authServerWellKnownURI)
    Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
    findByC_A(long companyId, String authServerWellKnownURI, int start, int end)
    Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
    findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
    findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
    findByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
    Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws a NoSuchOAuthClientEntryException if it could not be found.
    findByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
    findByCompanyId(long companyId)
    Returns all the o auth client entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the o auth client entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth client entries where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchOAuthClientEntryException if it could not be found.
    findByPrimaryKey(long oAuthClientEntryId)
    Returns the o auth client entry with the primary key or throws a NoSuchOAuthClientEntryException if it could not be found.
    findByUserId(long userId)
    Returns all the o auth client entries where userId = ?.
    findByUserId(long userId, int start, int end)
    Returns a range of all the o auth client entries where userId = ?.
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries where userId = ?.
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth client entries where userId = ?.
    findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where userId = ?.
    Returns all the o auth client entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the o auth client entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth client entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the o auth client entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the o auth client entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth client entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
    Returns the first o auth client entry in the ordered set where uuid = ?.
    remove(long oAuthClientEntryId)
    Removes the o auth client entry with the primary key from the database.
    void
    removeByC_A(long companyId, String authServerWellKnownURI)
    Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.
    removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
    Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the o auth client entries where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the o auth client entry where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByUserId(long userId)
    Removes all the o auth client entries where userId = ? from the database.
    void
    Removes all the o auth client entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the o auth client entries where uuid = ? and companyId = ? from the database.
    updateImpl(OAuthClientEntry oAuthClientEntry)
     

    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

    • findByUuid

      List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client entries where uuid = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (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 o auth client entries
    • findByUuid_First

      OAuthClientEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the first o auth client entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByUuid_First

      OAuthClientEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the first o auth client entry in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry, or null if a matching o auth client entry could not be found
    • filterFindByUuid

      List<OAuthClientEntry> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries that the user has permission to view
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the o auth client entries where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of o auth client entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching o auth client entries
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      Returns the number of o auth client entries that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching o auth client entries that the user has permission to view
    • findByUuid_C

      List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client entries where uuid = ? and 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (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 o auth client entries
    • findByUuid_C_First

      OAuthClientEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByUuid_C_First

      OAuthClientEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the first o auth client entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry, or null if a matching o auth client entry could not be found
    • filterFindByUuid_C

      List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries that the user has permissions to view where uuid = ? and 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries that the user has permission to view
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the o auth client entries where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of o auth client entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching o auth client entries
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of o auth client entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching o auth client entries that the user has permission to view
    • findByCompanyId

      List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client entries 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (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 o auth client entries
    • findByCompanyId_First

      OAuthClientEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the first o auth client entry 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 o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByCompanyId_First

      OAuthClientEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the first o auth client entry 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 o auth client entry, or null if a matching o auth client entry could not be found
    • filterFindByCompanyId

      List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries that the user has permissions to view 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries that the user has permission to view
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the o auth client entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of o auth client entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching o auth client entries
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of o auth client entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching o auth client entries that the user has permission to view
    • findByUserId

      List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client entries where 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (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 o auth client entries
    • findByUserId_First

      OAuthClientEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the first o auth client entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByUserId_First

      OAuthClientEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the first o auth client entry in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry, or null if a matching o auth client entry could not be found
    • filterFindByUserId

      List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries that the user has permissions to view where 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries that the user has permission to view
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the o auth client entries where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      int countByUserId(long userId)
      Returns the number of o auth client entries where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching o auth client entries
    • filterCountByUserId

      int filterCountByUserId(long userId)
      Returns the number of o auth client entries that the user has permission to view where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching o auth client entries that the user has permission to view
    • findByC_A

      List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (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 o auth client entries
    • findByC_A_First

      OAuthClientEntry findByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByC_A_First

      OAuthClientEntry fetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client entry, or null if a matching o auth client entry could not be found
    • filterFindByC_A

      List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries that the user has permission to view
    • removeByC_A

      void removeByC_A(long companyId, String authServerWellKnownURI)
      Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
    • countByC_A

      int countByC_A(long companyId, String authServerWellKnownURI)
      Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      Returns:
      the number of matching o auth client entries
    • filterCountByC_A

      int filterCountByC_A(long companyId, String authServerWellKnownURI)
      Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      Returns:
      the number of matching o auth client entries that the user has permission to view
    • findByC_A_C

      OAuthClientEntry findByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException
      Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws a NoSuchOAuthClientEntryException if it could not be found.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByC_A_C

      OAuthClientEntry fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache)
      Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth client entry, or null if a matching o auth client entry could not be found
    • removeByC_A_C

      OAuthClientEntry removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException
      Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the o auth client entry that was removed
      Throws:
      NoSuchOAuthClientEntryException
    • countByC_A_C

      int countByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
      Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the number of matching o auth client entries
    • findByERC_C

      OAuthClientEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientEntryException
      Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchOAuthClientEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
    • fetchByERC_C

      OAuthClientEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth client entry, or null if a matching o auth client entry could not be found
    • removeByERC_C

      OAuthClientEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientEntryException
      Removes the o auth client entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the o auth client entry that was removed
      Throws:
      NoSuchOAuthClientEntryException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of o auth client entries where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching o auth client entries
    • create

      OAuthClientEntry create(long oAuthClientEntryId)
      Creates a new o auth client entry with the primary key. Does not add the o auth client entry to the database.
      Parameters:
      oAuthClientEntryId - the primary key for the new o auth client entry
      Returns:
      the new o auth client entry
    • remove

      OAuthClientEntry remove(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException
      Removes the o auth client entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      oAuthClientEntryId - the primary key of the o auth client entry
      Returns:
      the o auth client entry that was removed
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
    • updateImpl

      OAuthClientEntry updateImpl(OAuthClientEntry oAuthClientEntry)
    • findByPrimaryKey

      OAuthClientEntry findByPrimaryKey(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException
      Returns the o auth client entry with the primary key or throws a NoSuchOAuthClientEntryException if it could not be found.
      Parameters:
      oAuthClientEntryId - the primary key of the o auth client entry
      Returns:
      the o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
    • fetchByPrimaryKey

      OAuthClientEntry fetchByPrimaryKey(long oAuthClientEntryId)
      Returns the o auth client entry with the primary key or returns null if it could not be found.
      Parameters:
      oAuthClientEntryId - the primary key of the o auth client entry
      Returns:
      the o auth client entry, or null if a o auth client entry with the primary key could not be found
    • fetchByC_A_C

      default OAuthClientEntry fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId)
      Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      clientId - the client ID
      Returns:
      the matching o auth client entry, or null if a matching o auth client entry could not be found
    • fetchByERC_C

      default OAuthClientEntry fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the o auth client entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching o auth client entry, or null if a matching o auth client entry could not be found
    • findByUuid

      default List<OAuthClientEntry> findByUuid(String uuid)
      Returns all the o auth client entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth client entries
    • findByUuid

      default List<OAuthClientEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the o auth client entries where uuid = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries
    • findByUuid

      default List<OAuthClientEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries where uuid = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries
    • filterFindByUuid

      default List<OAuthClientEntry> filterFindByUuid(String uuid)
      Returns all the o auth client entries that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth client entries that the user has permission to view
    • filterFindByUuid

      default List<OAuthClientEntry> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the o auth client entries that the user has permission to view where uuid = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries that the user has permission to view
    • findByUuid_C

      default List<OAuthClientEntry> findByUuid_C(String uuid, long companyId)
      Returns all the o auth client entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching o auth client entries
    • findByUuid_C

      default List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth client entries where uuid = ? and 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries
    • findByUuid_C

      default List<OAuthClientEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries where uuid = ? and 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries
    • filterFindByUuid_C

      default List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId)
      Returns all the o auth client entries that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching o auth client entries that the user has permission to view
    • filterFindByUuid_C

      default List<OAuthClientEntry> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth client entries that the user has permission to view where uuid = ? and 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries that the user has permission to view
    • findByCompanyId

      default List<OAuthClientEntry> findByCompanyId(long companyId)
      Returns all the o auth client entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth client entries
    • findByCompanyId

      default List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth client entries 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries
    • findByCompanyId

      default List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries
    • filterFindByCompanyId

      default List<OAuthClientEntry> filterFindByCompanyId(long companyId)
      Returns all the o auth client entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth client entries that the user has permission to view
    • filterFindByCompanyId

      default List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth client entries that the user has permission to view 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 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries that the user has permission to view
    • findByUserId

      default List<OAuthClientEntry> findByUserId(long userId)
      Returns all the o auth client entries where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching o auth client entries
    • findByUserId

      default List<OAuthClientEntry> findByUserId(long userId, int start, int end)
      Returns a range of all the o auth client entries where 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries
    • findByUserId

      default List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries where 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries
    • filterFindByUserId

      default List<OAuthClientEntry> filterFindByUserId(long userId)
      Returns all the o auth client entries that the user has permission to view where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching o auth client entries that the user has permission to view
    • filterFindByUserId

      default List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end)
      Returns a range of all the o auth client entries that the user has permission to view where 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries that the user has permission to view
    • findByC_A

      default List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI)
      Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      Returns:
      the matching o auth client entries
    • findByC_A

      default List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end)
      Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries
    • findByC_A

      default List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client entries
    • filterFindByC_A

      default List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI)
      Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      Returns:
      the matching o auth client entries that the user has permission to view
    • filterFindByC_A

      default List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end)
      Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.

      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Parameters:
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of matching o auth client entries that the user has permission to view