Interface OAuth2ApplicationPersistence

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

@ProviderType public interface OAuth2ApplicationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuth2Application>
The persistence interface for the o auth2 application service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(OAuth2Application oAuth2Application)
    Caches the o auth2 application in the entity cache if it is enabled.
    void
    cacheResult(List<OAuth2Application> oAuth2Applications)
    Caches the o auth2 applications in the entity cache if it is enabled.
    int
    Returns the number of o auth2 applications.
    int
    countByC_C(long companyId, String clientId)
    Returns the number of o auth2 applications where companyId = ? and clientId = ?.
    int
    countByC_CP(long companyId, int clientProfile)
    Returns the number of o auth2 applications where companyId = ? and clientProfile = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of o auth2 applications where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of o auth2 applications where externalReferenceCode = ? and companyId = ?.
    int
    Returns the number of o auth2 applications where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of o auth2 applications where uuid = ? and companyId = ?.
    create(long oAuth2ApplicationId)
    Creates a new o auth2 application with the primary key.
    fetchByC_C(long companyId, String clientId)
    Returns the o auth2 application where companyId = ? and clientId = ? or returns null if it could not be found.
    fetchByC_C(long companyId, String clientId, boolean useFinderCache)
    Returns the o auth2 application where companyId = ? and clientId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_CP_First(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
    fetchByC_CP_Last(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the o auth2 application where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the o auth2 application where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long oAuth2ApplicationId)
    Returns the o auth2 application with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where uuid = ?.
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where uuid = ?.
    int
    filterCountByC_CP(long companyId, int clientProfile)
    Returns the number of o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of o auth2 applications that the user has permission to view where companyId = ?.
    int
    Returns the number of o auth2 applications that the user has permission to view where uuid = ?.
    int
    filterCountByUuid_C(String uuid, long companyId)
    Returns the number of o auth2 applications that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByC_CP(long companyId, int clientProfile)
    Returns all the o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
    filterFindByC_CP(long companyId, int clientProfile, int start, int end)
    Returns a range of all the o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
    filterFindByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications that the user has permissions to view where companyId = ? and clientProfile = ?.
    filterFindByC_CP_PrevAndNext(long oAuth2ApplicationId, long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
    filterFindByCompanyId(long companyId)
    Returns all the o auth2 applications that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the o auth2 applications that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long oAuth2ApplicationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where companyId = ?.
    Returns all the o auth2 applications that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the o auth2 applications that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications that the user has permissions to view where uuid = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the o auth2 applications 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 auth2 applications 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<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications that the user has permissions to view where uuid = ? and companyId = ?.
    filterFindByUuid_C_PrevAndNext(long oAuth2ApplicationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where uuid = ? and companyId = ?.
    filterFindByUuid_PrevAndNext(long oAuth2ApplicationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where uuid = ?.
    Returns all the o auth2 applications.
    findAll(int start, int end)
    Returns a range of all the o auth2 applications.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth2 applications.
    findByC_C(long companyId, String clientId)
    Returns the o auth2 application where companyId = ? and clientId = ? or throws a NoSuchOAuth2ApplicationException if it could not be found.
    findByC_CP(long companyId, int clientProfile)
    Returns all the o auth2 applications where companyId = ? and clientProfile = ?.
    findByC_CP(long companyId, int clientProfile, int start, int end)
    Returns a range of all the o auth2 applications where companyId = ? and clientProfile = ?.
    findByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications where companyId = ? and clientProfile = ?.
    findByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth2 applications where companyId = ? and clientProfile = ?.
    findByC_CP_First(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
    findByC_CP_Last(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
    findByC_CP_PrevAndNext(long oAuth2ApplicationId, long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
    findByCompanyId(long companyId)
    Returns all the o auth2 applications where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the o auth2 applications where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth2 applications where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long oAuth2ApplicationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the o auth2 application where externalReferenceCode = ? and companyId = ? or throws a NoSuchOAuth2ApplicationException if it could not be found.
    findByPrimaryKey(long oAuth2ApplicationId)
    Returns the o auth2 application with the primary key or throws a NoSuchOAuth2ApplicationException if it could not be found.
    Returns all the o auth2 applications where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the o auth2 applications where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth2 applications where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the o auth2 applications where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the o auth2 applications where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns an ordered range of all the o auth2 applications where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the o auth2 applications where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long oAuth2ApplicationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the first o auth2 application in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the last o auth2 application in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long oAuth2ApplicationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    Returns the o auth2 applications before and after the current o auth2 application in the ordered set where uuid = ?.
    remove(long oAuth2ApplicationId)
    Removes the o auth2 application with the primary key from the database.
    void
    Removes all the o auth2 applications from the database.
    removeByC_C(long companyId, String clientId)
    Removes the o auth2 application where companyId = ? and clientId = ? from the database.
    void
    removeByC_CP(long companyId, int clientProfile)
    Removes all the o auth2 applications where companyId = ? and clientProfile = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the o auth2 applications where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the o auth2 application where externalReferenceCode = ? and companyId = ? from the database.
    void
    Removes all the o auth2 applications where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the o auth2 applications where uuid = ? and companyId = ? from the database.
    updateImpl(OAuth2Application oAuth2Application)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByUuid

      List<OAuth2Application> findByUuid(String uuid)
      Returns all the o auth2 applications where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth2 applications
    • findByUuid

      List<OAuth2Application> findByUuid(String uuid, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      OAuth2Application findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the first o auth2 application 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 auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByUuid_First

      OAuth2Application fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the first o auth2 application 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 auth2 application, or null if a matching o auth2 application could not be found
    • findByUuid_Last

      OAuth2Application findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the last o auth2 application in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByUuid_Last

      OAuth2Application fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the last o auth2 application in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application, or null if a matching o auth2 application could not be found
    • findByUuid_PrevAndNext

      OAuth2Application[] findByUuid_PrevAndNext(long oAuth2ApplicationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set where uuid = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • filterFindByUuid

      List<OAuth2Application> filterFindByUuid(String uuid)
      Returns all the o auth2 applications that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth2 applications that the user has permission to view
    • filterFindByUuid

      List<OAuth2Application> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      Returns:
      the range of matching o auth2 applications that the user has permission to view
    • filterFindByUuid

      List<OAuth2Application> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      OAuth2Application[] filterFindByUuid_PrevAndNext(long oAuth2ApplicationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where uuid = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • removeByUuid

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

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

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

      List<OAuth2Application> findByUuid_C(String uuid, long companyId)
      Returns all the o auth2 applications where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching o auth2 applications
    • findByUuid_C

      List<OAuth2Application> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      OAuth2Application findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the first o auth2 application 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 auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByUuid_C_First

      OAuth2Application fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the first o auth2 application 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 auth2 application, or null if a matching o auth2 application could not be found
    • findByUuid_C_Last

      OAuth2Application findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the last o auth2 application 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 last matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByUuid_C_Last

      OAuth2Application fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the last o auth2 application 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 last matching o auth2 application, or null if a matching o auth2 application could not be found
    • findByUuid_C_PrevAndNext

      OAuth2Application[] findByUuid_C_PrevAndNext(long oAuth2ApplicationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • filterFindByUuid_C

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

      List<OAuth2Application> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      OAuth2Application[] filterFindByUuid_C_PrevAndNext(long oAuth2ApplicationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the o auth2 applications 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 auth2 applications where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching o auth2 applications
    • filterCountByUuid_C

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of o auth2 applications 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 auth2 applications that the user has permission to view
    • findByCompanyId

      List<OAuth2Application> findByCompanyId(long companyId)
      Returns all the o auth2 applications where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth2 applications
    • findByCompanyId

      List<OAuth2Application> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

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

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

      OAuth2Application findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the last o auth2 application in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByCompanyId_Last

      OAuth2Application fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the last o auth2 application in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application, or null if a matching o auth2 application could not be found
    • findByCompanyId_PrevAndNext

      OAuth2Application[] findByCompanyId_PrevAndNext(long oAuth2ApplicationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set where companyId = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • filterFindByCompanyId

      List<OAuth2Application> filterFindByCompanyId(long companyId)
      Returns all the o auth2 applications that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth2 applications that the user has permission to view
    • filterFindByCompanyId

      List<OAuth2Application> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      List<OAuth2Application> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications 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 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 OAuth2ApplicationModelImpl.

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

      OAuth2Application[] filterFindByCompanyId_PrevAndNext(long oAuth2ApplicationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where companyId = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • removeByCompanyId

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

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

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

      OAuth2Application findByC_C(long companyId, String clientId) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 application where companyId = ? and clientId = ? or throws a NoSuchOAuth2ApplicationException if it could not be found.
      Parameters:
      companyId - the company ID
      clientId - the client ID
      Returns:
      the matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByC_C

      OAuth2Application fetchByC_C(long companyId, String clientId)
      Returns the o auth2 application where companyId = ? and clientId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      clientId - the client ID
      Returns:
      the matching o auth2 application, or null if a matching o auth2 application could not be found
    • fetchByC_C

      OAuth2Application fetchByC_C(long companyId, String clientId, boolean useFinderCache)
      Returns the o auth2 application where companyId = ? and clientId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      clientId - the client ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth2 application, or null if a matching o auth2 application could not be found
    • removeByC_C

      OAuth2Application removeByC_C(long companyId, String clientId) throws NoSuchOAuth2ApplicationException
      Removes the o auth2 application where companyId = ? and clientId = ? from the database.
      Parameters:
      companyId - the company ID
      clientId - the client ID
      Returns:
      the o auth2 application that was removed
      Throws:
      NoSuchOAuth2ApplicationException
    • countByC_C

      int countByC_C(long companyId, String clientId)
      Returns the number of o auth2 applications where companyId = ? and clientId = ?.
      Parameters:
      companyId - the company ID
      clientId - the client ID
      Returns:
      the number of matching o auth2 applications
    • findByC_CP

      List<OAuth2Application> findByC_CP(long companyId, int clientProfile)
      Returns all the o auth2 applications where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      Returns:
      the matching o auth2 applications
    • findByC_CP

      List<OAuth2Application> findByC_CP(long companyId, int clientProfile, int start, int end)
      Returns a range of all the o auth2 applications where companyId = ? and clientProfile = ?.

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

      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      Returns:
      the range of matching o auth2 applications
    • findByC_CP

      List<OAuth2Application> findByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications where companyId = ? and clientProfile = ?.

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

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

      List<OAuth2Application> findByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 applications where companyId = ? and clientProfile = ?.

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

      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (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 auth2 applications
    • findByC_CP_First

      OAuth2Application findByC_CP_First(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the first o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByC_CP_First

      OAuth2Application fetchByC_CP_First(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the first o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth2 application, or null if a matching o auth2 application could not be found
    • findByC_CP_Last

      OAuth2Application findByC_CP_Last(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the last o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a matching o auth2 application could not be found
    • fetchByC_CP_Last

      OAuth2Application fetchByC_CP_Last(long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns the last o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching o auth2 application, or null if a matching o auth2 application could not be found
    • findByC_CP_PrevAndNext

      OAuth2Application[] findByC_CP_PrevAndNext(long oAuth2ApplicationId, long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set where companyId = ? and clientProfile = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • filterFindByC_CP

      List<OAuth2Application> filterFindByC_CP(long companyId, int clientProfile)
      Returns all the o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      Returns:
      the matching o auth2 applications that the user has permission to view
    • filterFindByC_CP

      List<OAuth2Application> filterFindByC_CP(long companyId, int clientProfile, int start, int end)
      Returns a range of all the o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.

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

      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      Returns:
      the range of matching o auth2 applications that the user has permission to view
    • filterFindByC_CP

      List<OAuth2Application> filterFindByC_CP(long companyId, int clientProfile, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications that the user has permissions to view where companyId = ? and clientProfile = ?.

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

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

      OAuth2Application[] filterFindByC_CP_PrevAndNext(long oAuth2ApplicationId, long companyId, int clientProfile, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 applications before and after the current o auth2 application in the ordered set of o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
      Parameters:
      oAuth2ApplicationId - the primary key of the current o auth2 application
      companyId - the company ID
      clientProfile - the client profile
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • removeByC_CP

      void removeByC_CP(long companyId, int clientProfile)
      Removes all the o auth2 applications where companyId = ? and clientProfile = ? from the database.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
    • countByC_CP

      int countByC_CP(long companyId, int clientProfile)
      Returns the number of o auth2 applications where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      Returns:
      the number of matching o auth2 applications
    • filterCountByC_CP

      int filterCountByC_CP(long companyId, int clientProfile)
      Returns the number of o auth2 applications that the user has permission to view where companyId = ? and clientProfile = ?.
      Parameters:
      companyId - the company ID
      clientProfile - the client profile
      Returns:
      the number of matching o auth2 applications that the user has permission to view
    • findByERC_C

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

      OAuth2Application fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the o auth2 application 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 auth2 application, or null if a matching o auth2 application could not be found
    • fetchByERC_C

      OAuth2Application fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the o auth2 application 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 auth2 application, or null if a matching o auth2 application could not be found
    • removeByERC_C

      OAuth2Application removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuth2ApplicationException
      Removes the o auth2 application where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the o auth2 application that was removed
      Throws:
      NoSuchOAuth2ApplicationException
    • countByERC_C

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

      void cacheResult(OAuth2Application oAuth2Application)
      Caches the o auth2 application in the entity cache if it is enabled.
      Parameters:
      oAuth2Application - the o auth2 application
    • cacheResult

      void cacheResult(List<OAuth2Application> oAuth2Applications)
      Caches the o auth2 applications in the entity cache if it is enabled.
      Parameters:
      oAuth2Applications - the o auth2 applications
    • create

      OAuth2Application create(long oAuth2ApplicationId)
      Creates a new o auth2 application with the primary key. Does not add the o auth2 application to the database.
      Parameters:
      oAuth2ApplicationId - the primary key for the new o auth2 application
      Returns:
      the new o auth2 application
    • remove

      OAuth2Application remove(long oAuth2ApplicationId) throws NoSuchOAuth2ApplicationException
      Removes the o auth2 application with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      oAuth2ApplicationId - the primary key of the o auth2 application
      Returns:
      the o auth2 application that was removed
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • updateImpl

      OAuth2Application updateImpl(OAuth2Application oAuth2Application)
    • findByPrimaryKey

      OAuth2Application findByPrimaryKey(long oAuth2ApplicationId) throws NoSuchOAuth2ApplicationException
      Returns the o auth2 application with the primary key or throws a NoSuchOAuth2ApplicationException if it could not be found.
      Parameters:
      oAuth2ApplicationId - the primary key of the o auth2 application
      Returns:
      the o auth2 application
      Throws:
      NoSuchOAuth2ApplicationException - if a o auth2 application with the primary key could not be found
    • fetchByPrimaryKey

      OAuth2Application fetchByPrimaryKey(long oAuth2ApplicationId)
      Returns the o auth2 application with the primary key or returns null if it could not be found.
      Parameters:
      oAuth2ApplicationId - the primary key of the o auth2 application
      Returns:
      the o auth2 application, or null if a o auth2 application with the primary key could not be found
    • findAll

      Returns all the o auth2 applications.
      Returns:
      the o auth2 applications
    • findAll

      List<OAuth2Application> findAll(int start, int end)
      Returns a range of all the o auth2 applications.

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

      Parameters:
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      Returns:
      the range of o auth2 applications
    • findAll

      List<OAuth2Application> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
      Returns an ordered range of all the o auth2 applications.

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

      Parameters:
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of o auth2 applications
    • findAll

      List<OAuth2Application> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth2 applications.

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

      Parameters:
      start - the lower bound of the range of o auth2 applications
      end - the upper bound of the range of o auth2 applications (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of o auth2 applications
    • removeAll

      void removeAll()
      Removes all the o auth2 applications from the database.
    • countAll

      int countAll()
      Returns the number of o auth2 applications.
      Returns:
      the number of o auth2 applications