Interface OAuthClientASLocalMetadataPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OAuthClientASLocalMetadata>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) Caches the o auth client as local metadata in the entity cache if it is enabled.voidcacheResult(List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas) Caches the o auth client as local metadatas in the entity cache if it is enabled.intcountAll()Returns the number of o auth client as local metadatas.intcountByCompanyId(long companyId) Returns the number of o auth client as local metadatas where companyId = ?.intcountByLocalWellKnownURI(String localWellKnownURI) Returns the number of o auth client as local metadatas where localWellKnownURI = ?.intcountByUserId(long userId) Returns the number of o auth client as local metadatas where userId = ?.create(long oAuthClientASLocalMetadataId) Creates a new o auth client as local metadata with the primary key.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 = ?.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 = ?.fetchByLocalWellKnownURI(String localWellKnownURI) Returns the o auth client as local metadata where localWellKnownURI = ? or returnsnullif it could not be found.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.fetchByPrimaryKey(long oAuthClientASLocalMetadataId) Returns the o auth client as local metadata with the primary key or returnsnullif it could not be found.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 = ?.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 = ?.intfilterCountByCompanyId(long companyId) Returns the number of o auth client as local metadatas that the user has permission to view where companyId = ?.intfilterCountByUserId(long userId) Returns the number of o auth client as local metadatas that the user has permission to view where userId = ?.filterFindByCompanyId(long companyId) Returns all the o auth client as local metadatas that the user has permission to view where companyId = ?.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 = ?.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 = ?.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 = ?.filterFindByUserId(long userId) Returns all the o auth client as local metadatas that the user has permission to view where userId = ?.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 = ?.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 = ?.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 = ?.findAll()Returns all the o auth client as local metadatas.findAll(int start, int end) Returns a range of all the o auth client as local metadatas.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.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.findByCompanyId(long companyId) Returns all the o auth client as local metadatas where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth client as local metadatas where companyId = ?.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 = ?.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 = ?.findByCompanyId_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 = ?.findByCompanyId_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 = ?.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 = ?.findByLocalWellKnownURI(String localWellKnownURI) Returns the o auth client as local metadata where localWellKnownURI = ? or throws aNoSuchOAuthClientASLocalMetadataExceptionif it could not be found.findByPrimaryKey(long oAuthClientASLocalMetadataId) Returns the o auth client as local metadata with the primary key or throws aNoSuchOAuthClientASLocalMetadataExceptionif it could not be found.findByUserId(long userId) Returns all the o auth client as local metadatas where userId = ?.findByUserId(long userId, int start, int end) Returns a range of all the o auth client as local metadatas where userId = ?.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 = ?.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 = ?.findByUserId_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 = ?.findByUserId_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 = ?.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 = ?.remove(long oAuthClientASLocalMetadataId) Removes the o auth client as local metadata with the primary key from the database.voidRemoves all the o auth client as local metadatas from the database.voidremoveByCompanyId(long companyId) Removes all the o auth client as local metadatas where companyId = ? from the database.removeByLocalWellKnownURI(String localWellKnownURI) Removes the o auth client as local metadata where localWellKnownURI = ? from the database.voidremoveByUserId(long userId) Removes all the o auth client as local metadatas where userId = ? from the database.updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a matching o auth client as local metadata could not be found
-
fetchByCompanyId_First
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a matching o auth client as local metadata could not be found
-
fetchByCompanyId_Last
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
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
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the o auth client as local metadatas where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
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
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
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a matching o auth client as local metadata could not be found
-
fetchByUserId_First
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a matching o auth client as local metadata could not be found
-
fetchByUserId_Last
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the o auth client as local metadatas where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a matching o auth client as local metadata could not be found
-
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
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
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
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
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
- Throws:
NoSuchOAuthClientASLocalMetadataException- if a o auth client as local metadata with the primary key could not be found
-
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
List<OAuthClientASLocalMetadata> 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
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
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
void removeAll()Removes all the o auth client as local metadatas from the database. -
countAll
int countAll()Returns the number of o auth client as local metadatas.- Returns:
- the number of o auth client as local metadatas
-