Class OAuthClientASLocalMetadataUtil

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

public class OAuthClientASLocalMetadataUtil extends Object
The persistence utility for the o auth client as local metadata service. This utility wraps com.liferay.oauth.client.persistence.service.persistence.impl.OAuthClientASLocalMetadataPersistenceImpl 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

    • OAuthClientASLocalMetadataUtil

      public OAuthClientASLocalMetadataUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
      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,OAuthClientASLocalMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static OAuthClientASLocalMetadata update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<OAuthClientASLocalMetadata> findByUuid(String uuid)
      Returns all the o auth client as local metadatas where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth client as local metadatas
    • findByUuid

      public static List<OAuthClientASLocalMetadata> findByUuid(String uuid, int start, int end)
      Returns a range of all the o auth client as local metadatas where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static OAuthClientASLocalMetadata findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the first o auth client as local metadata in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client as local metadata
    • fetchByUuid_First

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

      public static List<OAuthClientASLocalMetadata> filterFindByUuid(String uuid)
      Returns all the o auth client as local metadatas that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching o auth client as local metadatas that the user has permission to view
    • filterFindByUuid

      public static List<OAuthClientASLocalMetadata> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the o auth client as local metadatas that the user has permission to view where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static void removeByUuid(String uuid)
      Removes all the o auth client as local metadatas where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of o auth client as local metadatas where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching o auth client as local metadatas
    • filterCountByUuid

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

      public static List<OAuthClientASLocalMetadata> findByUuid_C(String uuid, long companyId)
      Returns all the o auth client as local metadatas where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching o auth client as local metadatas
    • findByUuid_C

      public static List<OAuthClientASLocalMetadata> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth client as local metadatas where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client as local metadatas where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static OAuthClientASLocalMetadata findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the first o auth client as local metadata in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client as local metadata
    • fetchByUuid_C_First

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

      public static List<OAuthClientASLocalMetadata> filterFindByUuid_C(String uuid, long companyId)
      Returns all the o auth client as local metadatas that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching o auth client as local metadatas that the user has permission to view
    • filterFindByUuid_C

      public static List<OAuthClientASLocalMetadata> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the o auth client as local metadatas that the user has permission to view where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

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

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

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

      public static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId)
      Returns all the o auth client as local metadatas where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth client as local metadatas
    • findByCompanyId

      public static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth client as local metadatas where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client as local metadatas where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static OAuthClientASLocalMetadata findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the first o auth client as local metadata 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 as local metadata
    • fetchByCompanyId_First

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

      public static List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId)
      Returns all the o auth client as local metadatas that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching o auth client as local metadatas that the user has permission to view
    • filterFindByCompanyId

      public static List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the o auth client as local metadatas that the user has permission to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

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

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

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

      public static List<OAuthClientASLocalMetadata> findByUserId(long userId)
      Returns all the o auth client as local metadatas where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching o auth client as local metadatas
    • findByUserId

      public static List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end)
      Returns a range of all the o auth client as local metadatas where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client as local metadatas where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static OAuthClientASLocalMetadata findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the first o auth client as local metadata 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 as local metadata
    • fetchByUserId_First

      public static OAuthClientASLocalMetadata fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns the first o auth client as local metadata 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 as local metadata, or null if a matching o auth client as local metadata could not be found
    • filterFindByUserId

      public static List<OAuthClientASLocalMetadata> filterFindByUserId(long userId)
      Returns all the o auth client as local metadatas that the user has permission to view where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching o auth client as local metadatas that the user has permission to view
    • filterFindByUserId

      public static List<OAuthClientASLocalMetadata> filterFindByUserId(long userId, int start, int end)
      Returns a range of all the o auth client as local metadatas that the user has permission to view where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where userId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

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

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

      public static int filterCountByUserId(long userId)
      Returns the number of o auth client as local metadatas that the user has permission to view where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching o auth client as local metadatas that the user has permission to view
    • findByC_I

      public static OAuthClientASLocalMetadata findByC_I(long companyId, String issuer) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata where companyId = ? and issuer = ? or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      Returns:
      the matching o auth client as local metadata
    • fetchByC_I

      public static OAuthClientASLocalMetadata fetchByC_I(long companyId, String issuer)
      Returns the o auth client as local metadata where companyId = ? and issuer = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • fetchByC_I

      public static OAuthClientASLocalMetadata fetchByC_I(long companyId, String issuer, boolean useFinderCache)
      Returns the o auth client as local metadata where companyId = ? and issuer = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • removeByC_I

      public static OAuthClientASLocalMetadata removeByC_I(long companyId, String issuer) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata where companyId = ? and issuer = ? from the database.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      Returns:
      the o auth client as local metadata that was removed
      Throws:
      NoSuchOAuthClientASLocalMetadataException
    • countByC_I

      public static int countByC_I(long companyId, String issuer)
      Returns the number of o auth client as local metadatas where companyId = ? and issuer = ?.
      Parameters:
      companyId - the company ID
      issuer - the issuer
      Returns:
      the number of matching o auth client as local metadatas
    • findByC_L

      public static List<OAuthClientASLocalMetadata> findByC_L(long companyId, boolean localWellKnownEnabled)
      Returns all the o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      Returns:
      the matching o auth client as local metadatas
    • findByC_L

      public static List<OAuthClientASLocalMetadata> findByC_L(long companyId, boolean localWellKnownEnabled, int start, int end)
      Returns a range of all the o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (not inclusive)
      Returns:
      the range of matching o auth client as local metadatas
    • findByC_L

      public static List<OAuthClientASLocalMetadata> findByC_L(long companyId, boolean localWellKnownEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client as local metadatas
    • findByC_L

      public static List<OAuthClientASLocalMetadata> findByC_L(long companyId, boolean localWellKnownEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (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 as local metadatas
    • findByC_L_First

      public static OAuthClientASLocalMetadata findByC_L_First(long companyId, boolean localWellKnownEnabled, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the first o auth client as local metadata in the ordered set where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client as local metadata
    • fetchByC_L_First

      public static OAuthClientASLocalMetadata fetchByC_L_First(long companyId, boolean localWellKnownEnabled, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns the first o auth client as local metadata in the ordered set where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • filterFindByC_L

      public static List<OAuthClientASLocalMetadata> filterFindByC_L(long companyId, boolean localWellKnownEnabled)
      Returns all the o auth client as local metadatas that the user has permission to view where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      Returns:
      the matching o auth client as local metadatas that the user has permission to view
    • filterFindByC_L

      public static List<OAuthClientASLocalMetadata> filterFindByC_L(long companyId, boolean localWellKnownEnabled, int start, int end)
      Returns a range of all the o auth client as local metadatas that the user has permission to view where companyId = ? and localWellKnownEnabled = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (not inclusive)
      Returns:
      the range of matching o auth client as local metadatas that the user has permission to view
    • filterFindByC_L

      public static List<OAuthClientASLocalMetadata> filterFindByC_L(long companyId, boolean localWellKnownEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
      Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where companyId = ? and localWellKnownEnabled = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching o auth client as local metadatas that the user has permission to view
    • removeByC_L

      public static void removeByC_L(long companyId, boolean localWellKnownEnabled)
      Removes all the o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ? from the database.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
    • countByC_L

      public static int countByC_L(long companyId, boolean localWellKnownEnabled)
      Returns the number of o auth client as local metadatas where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      Returns:
      the number of matching o auth client as local metadatas
    • filterCountByC_L

      public static int filterCountByC_L(long companyId, boolean localWellKnownEnabled)
      Returns the number of o auth client as local metadatas that the user has permission to view where companyId = ? and localWellKnownEnabled = ?.
      Parameters:
      companyId - the company ID
      localWellKnownEnabled - the local well known enabled
      Returns:
      the number of matching o auth client as local metadatas that the user has permission to view
    • findByC_LWKURI

      public static OAuthClientASLocalMetadata findByC_LWKURI(long companyId, String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata where companyId = ? and localWellKnownURI = ? or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      companyId - the company ID
      localWellKnownURI - the local well known uri
      Returns:
      the matching o auth client as local metadata
    • fetchByC_LWKURI

      public static OAuthClientASLocalMetadata fetchByC_LWKURI(long companyId, String localWellKnownURI)
      Returns the o auth client as local metadata where companyId = ? and localWellKnownURI = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      localWellKnownURI - the local well known uri
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • fetchByC_LWKURI

      public static OAuthClientASLocalMetadata fetchByC_LWKURI(long companyId, String localWellKnownURI, boolean useFinderCache)
      Returns the o auth client as local metadata where companyId = ? and localWellKnownURI = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      localWellKnownURI - the local well known uri
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • removeByC_LWKURI

      public static OAuthClientASLocalMetadata removeByC_LWKURI(long companyId, String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata where companyId = ? and localWellKnownURI = ? from the database.
      Parameters:
      companyId - the company ID
      localWellKnownURI - the local well known uri
      Returns:
      the o auth client as local metadata that was removed
      Throws:
      NoSuchOAuthClientASLocalMetadataException
    • countByC_LWKURI

      public static int countByC_LWKURI(long companyId, String localWellKnownURI)
      Returns the number of o auth client as local metadatas where companyId = ? and localWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      localWellKnownURI - the local well known uri
      Returns:
      the number of matching o auth client as local metadatas
    • findByC_O

      public static OAuthClientASLocalMetadata findByC_O(long companyId, String oAuthASLocalWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata where companyId = ? and oAuthASLocalWellKnownURI = ? or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      companyId - the company ID
      oAuthASLocalWellKnownURI - the o auth as local well known uri
      Returns:
      the matching o auth client as local metadata
    • fetchByC_O

      public static OAuthClientASLocalMetadata fetchByC_O(long companyId, String oAuthASLocalWellKnownURI)
      Returns the o auth client as local metadata where companyId = ? and oAuthASLocalWellKnownURI = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      oAuthASLocalWellKnownURI - the o auth as local well known uri
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • fetchByC_O

      public static OAuthClientASLocalMetadata fetchByC_O(long companyId, String oAuthASLocalWellKnownURI, boolean useFinderCache)
      Returns the o auth client as local metadata where companyId = ? and oAuthASLocalWellKnownURI = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      oAuthASLocalWellKnownURI - the o auth as local well known uri
      useFinderCache - whether to use the finder cache
      Returns:
      the matching o auth client as local metadata, or null if a matching o auth client as local metadata could not be found
    • removeByC_O

      public static OAuthClientASLocalMetadata removeByC_O(long companyId, String oAuthASLocalWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata where companyId = ? and oAuthASLocalWellKnownURI = ? from the database.
      Parameters:
      companyId - the company ID
      oAuthASLocalWellKnownURI - the o auth as local well known uri
      Returns:
      the o auth client as local metadata that was removed
      Throws:
      NoSuchOAuthClientASLocalMetadataException
    • countByC_O

      public static int countByC_O(long companyId, String oAuthASLocalWellKnownURI)
      Returns the number of o auth client as local metadatas where companyId = ? and oAuthASLocalWellKnownURI = ?.
      Parameters:
      companyId - the company ID
      oAuthASLocalWellKnownURI - the o auth as local well known uri
      Returns:
      the number of matching o auth client as local metadatas
    • findByERC_C

      public static OAuthClientASLocalMetadata findByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata where externalReferenceCode = ? and companyId = ? or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching o auth client as local metadata
    • fetchByERC_C

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

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

      public static OAuthClientASLocalMetadata removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the o auth client as local metadata that was removed
      Throws:
      NoSuchOAuthClientASLocalMetadataException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of o auth client as local metadatas where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching o auth client as local metadatas
    • cacheResult

      public static void cacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
      Caches the o auth client as local metadata in the entity cache if it is enabled.
      Parameters:
      oAuthClientASLocalMetadata - the o auth client as local metadata
    • cacheResult

      public static void cacheResult(List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas)
      Caches the o auth client as local metadatas in the entity cache if it is enabled.
      Parameters:
      oAuthClientASLocalMetadatas - the o auth client as local metadatas
    • create

      public static OAuthClientASLocalMetadata create(long oAuthClientASLocalMetadataId)
      Creates a new o auth client as local metadata with the primary key. Does not add the o auth client as local metadata to the database.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key for the new o auth client as local metadata
      Returns:
      the new o auth client as local metadata
    • remove

      public static OAuthClientASLocalMetadata remove(long oAuthClientASLocalMetadataId) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the o auth client as local metadata
      Returns:
      the o auth client as local metadata that was removed
    • updateImpl

      public static OAuthClientASLocalMetadata updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
    • findByPrimaryKey

      public static OAuthClientASLocalMetadata findByPrimaryKey(long oAuthClientASLocalMetadataId) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata with the primary key or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the o auth client as local metadata
      Returns:
      the o auth client as local metadata
    • fetchByPrimaryKey

      public static OAuthClientASLocalMetadata fetchByPrimaryKey(long oAuthClientASLocalMetadataId)
      Returns the o auth client as local metadata with the primary key or returns null if it could not be found.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the o auth client as local metadata
      Returns:
      the o auth client as local metadata, or null if a o auth client as local metadata with the primary key could not be found
    • findAll

      public static List<OAuthClientASLocalMetadata> findAll()
      Returns all the o auth client as local metadatas.
      Returns:
      the o auth client as local metadatas
    • findAll

      public static List<OAuthClientASLocalMetadata> findAll(int start, int end)
      Returns a range of all the o auth client as local metadatas.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (not inclusive)
      Returns:
      the range of o auth client as local metadatas
    • findAll

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

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

      public static List<OAuthClientASLocalMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the o auth client as local metadatas.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.oauth.client.persistence.model.impl.OAuthClientASLocalMetadataModelImpl.

      Parameters:
      start - the lower bound of the range of o auth client as local metadatas
      end - the upper bound of the range of o auth client as local metadatas (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 as local metadatas
    • removeAll

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

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

      public static OAuthClientASLocalMetadataPersistence getPersistence()
    • setPersistence

      public static void setPersistence(OAuthClientASLocalMetadataPersistence persistence)