Class OAuthClientASLocalMetadataUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) Caches the o auth client as local metadata in the entity cache if it is enabled.static voidcacheResult(List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas) Caches the o auth client as local metadatas in the entity cache if it is enabled.static voidstatic voidclearCache(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) static intcountAll()Returns the number of o auth client as local metadatas.static intcountByCompanyId(long companyId) Returns the number of o auth client as local metadatas where companyId = ?.static intcountByLocalWellKnownURI(String localWellKnownURI) Returns the number of o auth client as local metadatas where localWellKnownURI = ?.static intcountByUserId(long userId) Returns the number of o auth client as local metadatas where userId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static OAuthClientASLocalMetadatacreate(long oAuthClientASLocalMetadataId) Creates a new o auth client as local metadata with the primary key.static OAuthClientASLocalMetadatafetchByCompanyId_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 = ?.static OAuthClientASLocalMetadatafetchByCompanyId_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 = ?.static OAuthClientASLocalMetadatafetchByLocalWellKnownURI(String localWellKnownURI) Returns the o auth client as local metadata where localWellKnownURI = ? or returnsnullif it could not be found.static OAuthClientASLocalMetadatafetchByLocalWellKnownURI(String localWellKnownURI, boolean useFinderCache) Returns the o auth client as local metadata where localWellKnownURI = ? or returnsnullif it could not be found, optionally using the finder cache.static OAuthClientASLocalMetadatafetchByPrimaryKey(long oAuthClientASLocalMetadataId) Returns the o auth client as local metadata with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static OAuthClientASLocalMetadatafetchByUserId_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 = ?.static OAuthClientASLocalMetadatafetchByUserId_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 = ?.static intfilterCountByCompanyId(long companyId) Returns the number of o auth client as local metadatas that the user has permission to view where companyId = ?.static intfilterCountByUserId(long userId) Returns the number of o auth client as local metadatas that the user has permission to view where userId = ?.static List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId) Returns all the o auth client as local metadatas that the user has permission to view where companyId = ?.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 = ?.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 = ?.static OAuthClientASLocalMetadata[]filterFindByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) 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 = ?.static List<OAuthClientASLocalMetadata> filterFindByUserId(long userId) Returns all the o auth client as local metadatas that the user has permission to view where userId = ?.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 = ?.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 = ?.static OAuthClientASLocalMetadata[]filterFindByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) 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 = ?.static List<OAuthClientASLocalMetadata> findAll()Returns all the o auth client as local metadatas.static List<OAuthClientASLocalMetadata> findAll(int start, int end) Returns a range of all the o auth client as local metadatas.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.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.static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId) Returns all the o auth client as local metadatas where companyId = ?.static List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth client as local metadatas where companyId = ?.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 = ?.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 = ?.static OAuthClientASLocalMetadatafindByCompanyId_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 = ?.static OAuthClientASLocalMetadatafindByCompanyId_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 = ?.static OAuthClientASLocalMetadata[]findByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) 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 = ?.static OAuthClientASLocalMetadatafindByLocalWellKnownURI(String localWellKnownURI) Returns the o auth client as local metadata where localWellKnownURI = ? or throws aNoSuchOAuthClientASLocalMetadataExceptionif it could not be found.static OAuthClientASLocalMetadatafindByPrimaryKey(long oAuthClientASLocalMetadataId) Returns the o auth client as local metadata with the primary key or throws aNoSuchOAuthClientASLocalMetadataExceptionif it could not be found.static List<OAuthClientASLocalMetadata> findByUserId(long userId) Returns all the o auth client as local metadatas where userId = ?.static List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end) Returns a range of all the o auth client as local metadatas where userId = ?.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 = ?.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 = ?.static OAuthClientASLocalMetadatafindByUserId_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 = ?.static OAuthClientASLocalMetadatafindByUserId_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 = ?.static OAuthClientASLocalMetadata[]findByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) 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 = ?.static List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) static OAuthClientASLocalMetadataremove(long oAuthClientASLocalMetadataId) Removes the o auth client as local metadata with the primary key from the database.static voidRemoves all the o auth client as local metadatas from the database.static voidremoveByCompanyId(long companyId) Removes all the o auth client as local metadatas where companyId = ? from the database.static OAuthClientASLocalMetadataremoveByLocalWellKnownURI(String localWellKnownURI) Removes the o auth client as local metadata where localWellKnownURI = ? from the database.static voidremoveByUserId(long userId) Removes all the o auth client as local metadatas where userId = ? from the database.static voidsetPersistence(OAuthClientASLocalMetadataPersistence persistence) static OAuthClientASLocalMetadataupdate(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) static OAuthClientASLocalMetadataupdate(OAuthClientASLocalMetadata oAuthClientASLocalMetadata, com.liferay.portal.kernel.service.ServiceContext serviceContext) static OAuthClientASLocalMetadataupdateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
-
Constructor Details
-
OAuthClientASLocalMetadataUtil
public OAuthClientASLocalMetadataUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,OAuthClientASLocalMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
public static OAuthClientASLocalMetadata update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) - See Also:
-
update
public static OAuthClientASLocalMetadata update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCompanyId
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
Returns a range of all the o auth client as local metadatas where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client as local metadatasend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client as local metadata, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client as local metadata, or
nullif 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 metadatacompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client as local metadata
-
filterFindByCompanyId
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client as local metadatasend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 metadatacompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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
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
Returns a range of all the o auth client as local metadatas where userId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client as local metadatasend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client as local metadata, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client as local metadata, or
nullif 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 metadatauserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client as local metadata
-
filterFindByUserId
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client as local metadatasend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 metadatauserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- 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 aNoSuchOAuthClientASLocalMetadataExceptionif it could not be found.- Parameters:
localWellKnownURI- the local well known uri- Returns:
- the matching o auth client as local metadata
-
fetchByLocalWellKnownURI
Returns the o auth client as local metadata where localWellKnownURI = ? or returnsnullif 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
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
localWellKnownURI- the local well known uriuseFinderCache- whether to use the finder cache- Returns:
- the matching o auth client as local metadata, or
nullif 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
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
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
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
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 aNoSuchOAuthClientASLocalMetadataExceptionif 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
Returns the o auth client as local metadata with the primary key or returnsnullif 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
nullif a o auth client as local metadata with the primary key could not be found
-
findAll
Returns all the o auth client as local metadatas.- Returns:
- the o auth client as local metadatas
-
findAll
Returns a range of all the o auth client as local metadatas.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
start- the lower bound of the range of o auth client as local metadatasend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
start- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOAuthClientASLocalMetadataModelImpl.- Parameters:
start- the lower bound of the range of o auth client as local metadatasend- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-