Interface OpenIdConnectUserPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OpenIdConnectUser>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(OpenIdConnectUser openIdConnectUser) Caches the open ID connect user in the entity cache if it is enabled.voidcacheResult(List<OpenIdConnectUser> openIdConnectUsers) Caches the open ID connect users in the entity cache if it is enabled.intcountAll()Returns the number of open ID connect users.intcountByC_I_S(long companyId, String issuer, String subject) Returns the number of open ID connect users where companyId = ? and issuer = ? and subject = ?.intcountByC_U(long companyId, long userId) Returns the number of open ID connect users where companyId = ? and userId = ?.create(long openIdConnectUserId) Creates a new open ID connect user with the primary key.fetchByC_I_S(long companyId, String issuer, String subject) Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returnsnullif it could not be found.fetchByC_I_S(long companyId, String issuer, String subject, boolean useFinderCache) Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.fetchByPrimaryKey(long openIdConnectUserId) Returns the open ID connect user with the primary key or returnsnullif it could not be found.findAll()Returns all the open ID connect users.findAll(int start, int end) Returns a range of all the open ID connect users.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns an ordered range of all the open ID connect users.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache) Returns an ordered range of all the open ID connect users.findByC_I_S(long companyId, String issuer, String subject) Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or throws aNoSuchUserExceptionif it could not be found.findByC_U(long companyId, long userId) Returns all the open ID connect users where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end) Returns a range of all the open ID connect users where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache) Returns an ordered range of all the open ID connect users where companyId = ? and userId = ?.findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.findByPrimaryKey(long openIdConnectUserId) Returns the open ID connect user with the primary key or throws aNoSuchUserExceptionif it could not be found.remove(long openIdConnectUserId) Removes the open ID connect user with the primary key from the database.voidRemoves all the open ID connect users from the database.removeByC_I_S(long companyId, String issuer, String subject) Removes the open ID connect user where companyId = ? and issuer = ? and subject = ? from the database.voidremoveByC_U(long companyId, long userId) Removes all the open ID connect users where companyId = ? and userId = ? from the database.updateImpl(OpenIdConnectUser openIdConnectUser) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, 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
-
findByC_U
Returns all the open ID connect users where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the matching open ID connect users
-
findByC_U
Returns a range of all the open ID connect users where companyId = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)- Returns:
- the range of matching open ID connect users
-
findByC_U
List<OpenIdConnectUser> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns an ordered range of all the open ID connect users where companyId = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching open ID connect users
-
findByC_U
List<OpenIdConnectUser> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache) Returns an ordered range of all the open ID connect users where companyId = ? and 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
companyId- the company IDuserId- the user IDstart- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching open ID connect users
-
findByC_U_First
OpenIdConnectUser findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) throws NoSuchUserException Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching open ID connect user
- Throws:
NoSuchUserException- if a matching open ID connect user could not be found
-
fetchByC_U_First
OpenIdConnectUser fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns the first open ID connect user in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching open ID connect user, or
nullif a matching open ID connect user could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the open ID connect users where companyId = ? and userId = ? from the database.- Parameters:
companyId- the company IDuserId- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of open ID connect users where companyId = ? and userId = ?.- Parameters:
companyId- the company IDuserId- the user ID- Returns:
- the number of matching open ID connect users
-
findByC_I_S
OpenIdConnectUser findByC_I_S(long companyId, String issuer, String subject) throws NoSuchUserException Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or throws aNoSuchUserExceptionif it could not be found.- Parameters:
companyId- the company IDissuer- the issuersubject- the subject- Returns:
- the matching open ID connect user
- Throws:
NoSuchUserException- if a matching open ID connect user could not be found
-
fetchByC_I_S
Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDissuer- the issuersubject- the subject- Returns:
- the matching open ID connect user, or
nullif a matching open ID connect user could not be found
-
fetchByC_I_S
OpenIdConnectUser fetchByC_I_S(long companyId, String issuer, String subject, boolean useFinderCache) Returns the open ID connect user where companyId = ? and issuer = ? and subject = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDissuer- the issuersubject- the subjectuseFinderCache- whether to use the finder cache- Returns:
- the matching open ID connect user, or
nullif a matching open ID connect user could not be found
-
removeByC_I_S
OpenIdConnectUser removeByC_I_S(long companyId, String issuer, String subject) throws NoSuchUserException Removes the open ID connect user where companyId = ? and issuer = ? and subject = ? from the database.- Parameters:
companyId- the company IDissuer- the issuersubject- the subject- Returns:
- the open ID connect user that was removed
- Throws:
NoSuchUserException
-
countByC_I_S
Returns the number of open ID connect users where companyId = ? and issuer = ? and subject = ?.- Parameters:
companyId- the company IDissuer- the issuersubject- the subject- Returns:
- the number of matching open ID connect users
-
cacheResult
Caches the open ID connect user in the entity cache if it is enabled.- Parameters:
openIdConnectUser- the open ID connect user
-
cacheResult
Caches the open ID connect users in the entity cache if it is enabled.- Parameters:
openIdConnectUsers- the open ID connect users
-
create
Creates a new open ID connect user with the primary key. Does not add the open ID connect user to the database.- Parameters:
openIdConnectUserId- the primary key for the new open ID connect user- Returns:
- the new open ID connect user
-
remove
Removes the open ID connect user with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
openIdConnectUserId- the primary key of the open ID connect user- Returns:
- the open ID connect user that was removed
- Throws:
NoSuchUserException- if a open ID connect user with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the open ID connect user with the primary key or throws aNoSuchUserExceptionif it could not be found.- Parameters:
openIdConnectUserId- the primary key of the open ID connect user- Returns:
- the open ID connect user
- Throws:
NoSuchUserException- if a open ID connect user with the primary key could not be found
-
fetchByPrimaryKey
Returns the open ID connect user with the primary key or returnsnullif it could not be found.- Parameters:
openIdConnectUserId- the primary key of the open ID connect user- Returns:
- the open ID connect user, or
nullif a open ID connect user with the primary key could not be found
-
findAll
List<OpenIdConnectUser> findAll()Returns all the open ID connect users.- Returns:
- the open ID connect users
-
findAll
Returns a range of all the open ID connect users.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
start- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)- Returns:
- the range of open ID connect users
-
findAll
List<OpenIdConnectUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator) Returns an ordered range of all the open ID connect users.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
start- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of open ID connect users
-
findAll
List<OpenIdConnectUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OpenIdConnectUser> orderByComparator, boolean useFinderCache) Returns an ordered range of all the open ID connect users.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.security.sso.openid.connect.persistence.model.impl.OpenIdConnectUserModelImpl.- Parameters:
start- the lower bound of the range of open ID connect usersend- the upper bound of the range of open ID connect users (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of open ID connect users
-
removeAll
void removeAll()Removes all the open ID connect users from the database. -
countAll
int countAll()Returns the number of open ID connect users.- Returns:
- the number of open ID connect users
-