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)
    • 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 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 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 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 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 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 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
    • findByCompanyId_Last

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

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

      public static OAuthClientASLocalMetadata[] findByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set where companyId = ?.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the current o auth client as local metadata
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client as local metadata
    • 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 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 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 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 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
    • filterFindByCompanyId_PrevAndNext

      public static OAuthClientASLocalMetadata[] filterFindByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set of o auth client as local metadatas that the user has permission to view where companyId = ?.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the current o auth client as local metadata
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client as local metadata
    • 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 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 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 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 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 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 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
    • findByUserId_Last

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

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

      public static OAuthClientASLocalMetadata[] findByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set where userId = ?.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the current o auth client as local metadata
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client as local metadata
    • 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 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 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 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 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
    • filterFindByUserId_PrevAndNext

      public static OAuthClientASLocalMetadata[] filterFindByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set of o auth client as local metadatas that the user has permission to view where userId = ?.
      Parameters:
      oAuthClientASLocalMetadataId - the primary key of the current o auth client as local metadata
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next o auth client as local metadata
    • 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
    • findByLocalWellKnownURI

      public static OAuthClientASLocalMetadata findByLocalWellKnownURI(String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Returns the o auth client as local metadata where localWellKnownURI = ? or throws a NoSuchOAuthClientASLocalMetadataException if it could not be found.
      Parameters:
      localWellKnownURI - the local well known uri
      Returns:
      the matching o auth client as local metadata
    • fetchByLocalWellKnownURI

      public static OAuthClientASLocalMetadata fetchByLocalWellKnownURI(String localWellKnownURI)
      Returns the o auth client as local metadata where localWellKnownURI = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      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
    • fetchByLocalWellKnownURI

      public static OAuthClientASLocalMetadata fetchByLocalWellKnownURI(String localWellKnownURI, boolean useFinderCache)
      Returns the o auth client as local metadata where localWellKnownURI = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      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
    • removeByLocalWellKnownURI

      public static OAuthClientASLocalMetadata removeByLocalWellKnownURI(String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
      Removes the o auth client as local metadata where localWellKnownURI = ? from the database.
      Parameters:
      localWellKnownURI - the local well known uri
      Returns:
      the o auth client as local metadata that was removed
      Throws:
      NoSuchOAuthClientASLocalMetadataException
    • countByLocalWellKnownURI

      public static int countByLocalWellKnownURI(String localWellKnownURI)
      Returns the number of o auth client as local metadatas where localWellKnownURI = ?.
      Parameters:
      localWellKnownURI - the local well known uri
      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 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 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 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 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 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 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)