Interface OAuthClientEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OAuthClientEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(OAuthClientEntry oAuthClientEntry) Caches the o auth client entry in the entity cache if it is enabled.voidcacheResult(List<OAuthClientEntry> oAuthClientEntries) Caches the o auth client entries in the entity cache if it is enabled.intcountAll()Returns the number of o auth client entries.intcountByC_A(long companyId, String authServerWellKnownURI) Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.intcountByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.intcountByCompanyId(long companyId) Returns the number of o auth client entries where companyId = ?.intcountByUserId(long userId) Returns the number of o auth client entries where userId = ?.create(long oAuthClientEntryId) Creates a new o auth client entry with the primary key.fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found.fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.fetchByC_A_Last(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ?.fetchByPrimaryKey(long oAuthClientEntryId) Returns the o auth client entry with the primary key or returnsnullif it could not be found.fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where userId = ?.intfilterCountByC_A(long companyId, String authServerWellKnownURI) Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.intfilterCountByCompanyId(long companyId) Returns the number of o auth client entries that the user has permission to view where companyId = ?.intfilterCountByUserId(long userId) Returns the number of o auth client entries that the user has permission to view where userId = ?.filterFindByC_A(long companyId, String authServerWellKnownURI) Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.filterFindByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.filterFindByCompanyId(long companyId) Returns all the o auth client entries 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 entries that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ?.filterFindByUserId(long userId) Returns all the o auth client entries 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 entries that the user has permission to view where userId = ?.filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.filterFindByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where userId = ?.findAll()Returns all the o auth client entries.findAll(int start, int end) Returns a range of all the o auth client entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries.Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.findByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.findByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.findByC_A_Last(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.findByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.findByCompanyId(long companyId) Returns all the o auth client entries where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth client entries where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ?.findByPrimaryKey(long oAuthClientEntryId) Returns the o auth client entry with the primary key or throws aNoSuchOAuthClientEntryExceptionif it could not be found.findByUserId(long userId) Returns all the o auth client entries where userId = ?.findByUserId(long userId, int start, int end) Returns a range of all the o auth client entries where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where userId = ?.findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where userId = ?.findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where userId = ?.findByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the o auth client entries before and after the current o auth client entry in the ordered set where userId = ?.remove(long oAuthClientEntryId) Removes the o auth client entry with the primary key from the database.voidRemoves all the o auth client entries from the database.voidremoveByC_A(long companyId, String authServerWellKnownURI) Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId) Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the o auth client entries where companyId = ? from the database.voidremoveByUserId(long userId) Removes all the o auth client entries where userId = ? from the database.updateImpl(OAuthClientEntry oAuthClientEntry) 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 entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching o auth client entries
-
findByCompanyId
Returns a range of all the o auth client entries 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByCompanyId
List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByCompanyId
List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (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 entries
-
findByCompanyId_First
OAuthClientEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByCompanyId_First
OAuthClientEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByCompanyId_Last
OAuthClientEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the last o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByCompanyId_Last
OAuthClientEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByCompanyId_PrevAndNext
OAuthClientEntry[] findByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
filterFindByCompanyId
Returns all the o auth client entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the o auth client entries that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByCompanyId
List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
OAuthClientEntry[] filterFindByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the o auth client entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of o auth client entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching o auth client entries
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of o auth client entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByUserId
Returns all the o auth client entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching o auth client entries
-
findByUserId
Returns a range of all the o auth client entries 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 fromOAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByUserId
List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where userId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByUserId
List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where userId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (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 entries
-
findByUserId_First
OAuthClientEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByUserId_First
OAuthClientEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByUserId_Last
OAuthClientEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the last o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByUserId_Last
OAuthClientEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where userId = ?.- Parameters:
userId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByUserId_PrevAndNext
OAuthClientEntry[] findByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set where userId = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entryuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
filterFindByUserId
Returns all the o auth client entries that the user has permission to view where userId = ?.- Parameters:
userId- the user ID- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByUserId
Returns a range of all the o auth client entries that the user has permission to view where userId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByUserId
List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
userId- the user IDstart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
filterFindByUserId_PrevAndNext
OAuthClientEntry[] filterFindByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where userId = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entryuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
removeByUserId
void removeByUserId(long userId) Removes all the o auth client entries where userId = ? from the database.- Parameters:
userId- the user ID
-
countByUserId
int countByUserId(long userId) Returns the number of o auth client entries where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching o auth client entries
-
filterCountByUserId
int filterCountByUserId(long userId) Returns the number of o auth client entries that the user has permission to view where userId = ?.- Parameters:
userId- the user ID- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByC_A
Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the matching o auth client entries
-
findByC_A
Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries
-
findByC_A
List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries
-
findByC_A
List<OAuthClientEntry> findByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (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 entries
-
findByC_A_First
OAuthClientEntry findByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByC_A_First
OAuthClientEntry fetchByC_A_First(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByC_A_Last
OAuthClientEntry findByC_A_Last(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByC_A_Last
OAuthClientEntry fetchByC_A_Last(long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
findByC_A_PrevAndNext
OAuthClientEntry[] findByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entrycompanyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
filterFindByC_A
Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the matching o auth client entries that the user has permission to view
-
filterFindByC_A
List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end) Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of matching o auth client entries that the user has permission to view
-
filterFindByC_A
List<OAuthClientEntry> filterFindByC_A(long companyId, String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uristart- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth client entries that the user has permission to view
-
filterFindByC_A_PrevAndNext
OAuthClientEntry[] filterFindByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.- Parameters:
oAuthClientEntryId- the primary key of the current o auth client entrycompanyId- the company IDauthServerWellKnownURI- the auth server well known uriorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
removeByC_A
Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri
-
countByC_A
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the number of matching o auth client entries
-
filterCountByC_A
Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uri- Returns:
- the number of matching o auth client entries that the user has permission to view
-
findByC_A_C
OAuthClientEntry findByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws aNoSuchOAuthClientEntryExceptionif it could not be found.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a matching o auth client entry could not be found
-
fetchByC_A_C
Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
fetchByC_A_C
OAuthClientEntry fetchByC_A_C(long companyId, String authServerWellKnownURI, String clientId, boolean useFinderCache) Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client IDuseFinderCache- whether to use the finder cache- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
removeByC_A_C
OAuthClientEntry removeByC_A_C(long companyId, String authServerWellKnownURI, String clientId) throws NoSuchOAuthClientEntryException Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the o auth client entry that was removed
- Throws:
NoSuchOAuthClientEntryException
-
countByC_A_C
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.- Parameters:
companyId- the company IDauthServerWellKnownURI- the auth server well known uriclientId- the client ID- Returns:
- the number of matching o auth client entries
-
cacheResult
Caches the o auth client entry in the entity cache if it is enabled.- Parameters:
oAuthClientEntry- the o auth client entry
-
cacheResult
Caches the o auth client entries in the entity cache if it is enabled.- Parameters:
oAuthClientEntries- the o auth client entries
-
create
Creates a new o auth client entry with the primary key. Does not add the o auth client entry to the database.- Parameters:
oAuthClientEntryId- the primary key for the new o auth client entry- Returns:
- the new o auth client entry
-
remove
Removes the o auth client entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry that was removed
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the o auth client entry with the primary key or throws aNoSuchOAuthClientEntryExceptionif it could not be found.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry
- Throws:
NoSuchOAuthClientEntryException- if a o auth client entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the o auth client entry with the primary key or returnsnullif it could not be found.- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry, or
nullif a o auth client entry with the primary key could not be found
-
findAll
List<OAuthClientEntry> findAll()Returns all the o auth client entries.- Returns:
- the o auth client entries
-
findAll
Returns a range of all the o auth client entries.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 fromOAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of o auth client entries
-
findAll
List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) Returns an ordered range of all the o auth client entries.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of o auth client entries
-
findAll
List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth client entries.Useful when paginating results. Returns a maximum of
end - 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 fromOAuthClientEntryModelImpl.- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (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 entries
-
removeAll
void removeAll()Removes all the o auth client entries from the database. -
countAll
int countAll()Returns the number of o auth client entries.- Returns:
- the number of o auth client entries
-