Class OAuthClientEntryUtil

java.lang.Object
com.liferay.oauth.client.persistence.service.persistence.OAuthClientEntryUtil

public class OAuthClientEntryUtil extends Object
The persistence utility for the o auth client entry service. This utility wraps com.liferay.oauth.client.persistence.service.persistence.impl.OAuthClientEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • OAuthClientEntryUtil

      public OAuthClientEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(OAuthClientEntry oAuthClientEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,OAuthClientEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<OAuthClientEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static OAuthClientEntry update(OAuthClientEntry oAuthClientEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static OAuthClientEntry update(OAuthClientEntry oAuthClientEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

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

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

      public static 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 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 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
    • findByCompanyId

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

      public static 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
      NoSuchOAuthClientEntryException
    • fetchByCompanyId_First

      public static 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
    • findByCompanyId_Last

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

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

      public static OAuthClientEntry[] findByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ?.
      Parameters:
      oAuthClientEntryId - the primary key of the current o auth client entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
      NoSuchOAuthClientEntryException
    • filterFindByCompanyId

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

      public static 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 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 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
    • filterFindByCompanyId

      public static 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 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 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
    • filterFindByCompanyId_PrevAndNext

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

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

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

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

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

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

      public static 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 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 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
    • findByUserId

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

      public static 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
      NoSuchOAuthClientEntryException
    • fetchByUserId_First

      public static 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
    • findByUserId_Last

      public static OAuthClientEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the last 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 last matching o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a matching o auth client entry could not be found
      NoSuchOAuthClientEntryException
    • fetchByUserId_Last

      public static OAuthClientEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the last 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 last matching o auth client entry, or null if a matching o auth client entry could not be found
    • findByUserId_PrevAndNext

      public static OAuthClientEntry[] findByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the o auth client entries before and after the current o auth client entry in the ordered set where userId = ?.
      Parameters:
      oAuthClientEntryId - the primary key of the current o auth client entry
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
      NoSuchOAuthClientEntryException
    • filterFindByUserId

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

      public static 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 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 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
    • filterFindByUserId

      public static 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 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 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
    • filterFindByUserId_PrevAndNext

      public static OAuthClientEntry[] filterFindByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where userId = ?.
      Parameters:
      oAuthClientEntryId - the primary key of the current o auth client entry
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
      NoSuchOAuthClientEntryException
    • removeByUserId

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

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

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

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

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

      public static 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 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 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
    • findByC_A

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

      public static 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
      NoSuchOAuthClientEntryException
    • fetchByC_A_First

      public static 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
    • findByC_A_Last

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

      public static OAuthClientEntry fetchByC_A_Last(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns the last 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 last matching o auth client entry, or null if a matching o auth client entry could not be found
    • findByC_A_PrevAndNext

      public static OAuthClientEntry[] findByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      oAuthClientEntryId - the primary key of the current o auth client entry
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
      NoSuchOAuthClientEntryException
    • filterFindByC_A

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

      public static 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 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 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
    • filterFindByC_A

      public static 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 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 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
    • filterFindByC_A_PrevAndNext

      public static OAuthClientEntry[] filterFindByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
      Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
      Parameters:
      oAuthClientEntryId - the primary key of the current o auth client entry
      companyId - the company ID
      authServerWellKnownURI - the auth server well known uri
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client entry
      Throws:
      NoSuchOAuthClientEntryException - if a o auth client entry with the primary key could not be found
      NoSuchOAuthClientEntryException
    • removeByC_A

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

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

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

      public static 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
      NoSuchOAuthClientEntryException
    • fetchByC_A_C

      public static 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
    • fetchByC_A_C

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

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

      public static 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
    • cacheResult

      public static void cacheResult(OAuthClientEntry oAuthClientEntry)
      Caches the o auth client entry in the entity cache if it is enabled.
      Parameters:
      oAuthClientEntry - the o auth client entry
    • cacheResult

      public static void cacheResult(List<OAuthClientEntry> oAuthClientEntries)
      Caches the o auth client entries in the entity cache if it is enabled.
      Parameters:
      oAuthClientEntries - the o auth client entries
    • create

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

      public static 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
      NoSuchOAuthClientEntryException
    • updateImpl

      public static OAuthClientEntry updateImpl(OAuthClientEntry oAuthClientEntry)
    • findByPrimaryKey

      public static 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
      NoSuchOAuthClientEntryException
    • fetchByPrimaryKey

      public static 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
    • findAll

      public static List<OAuthClientEntry> findAll()
      Returns all the o auth client entries.
      Returns:
      the o auth client entries
    • findAll

      public static List<OAuthClientEntry> findAll(int start, int end)
      Returns a range of all the o auth client entries.

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

      Parameters:
      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 o auth client entries
    • findAll

      public static List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
      Returns an ordered range of all the o auth client entries.

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

      Parameters:
      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 o auth client entries
    • findAll

      public static List<OAuthClientEntry> findAll(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.

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

      Parameters:
      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 o auth client entries
    • removeAll

      public static void removeAll()
      Removes all the o auth client entries from the database.
    • countAll

      public static int countAll()
      Returns the number of o auth client entries.
      Returns:
      the number of o auth client entries
    • getPersistence

      public static OAuthClientEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(OAuthClientEntryPersistence persistence)