Interface OAuth2ApplicationScopeAliasesPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<OAuth2ApplicationScopeAliases>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCompanyId(long companyId) Returns the number of o auth2 application scope aliaseses where companyId = ?.intcountByOAuth2ApplicationId(long oAuth2ApplicationId) Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.create(long oAuth2ApplicationScopeAliasesId) Creates a new o auth2 application scope aliases with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.fetchByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.fetchByPrimaryKey(long oAuth2ApplicationScopeAliasesId) Returns the o auth2 application scope aliases with the primary key or returnsnullif it could not be found.default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId) Returns all the o auth2 application scope aliaseses where companyId = ?.default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth2 application scope aliaseses where companyId = ?.default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth2 application scope aliaseses where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId) Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end) Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.findByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.findByPrimaryKey(long oAuth2ApplicationScopeAliasesId) Returns the o auth2 application scope aliases with the primary key or throws aNoSuchOAuth2ApplicationScopeAliasesExceptionif it could not be found.remove(long oAuth2ApplicationScopeAliasesId) Removes the o auth2 application scope aliases with the primary key from the database.voidremoveByCompanyId(long companyId) Removes all the o auth2 application scope aliaseses where companyId = ? from the database.voidremoveByOAuth2ApplicationId(long oAuth2ApplicationId) Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByCompanyId
List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth2 application scope aliaseses 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 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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (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 auth2 application scope aliaseses
-
findByCompanyId_First
OAuth2ApplicationScopeAliases findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a matching o auth2 application scope aliases could not be found
-
fetchByCompanyId_First
OAuth2ApplicationScopeAliases fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth2 application scope aliases, or
nullif a matching o auth2 application scope aliases could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the o auth2 application scope aliaseses where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of o auth2 application scope aliaseses where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching o auth2 application scope aliaseses
-
findByOAuth2ApplicationId
List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache) Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
oAuth2ApplicationId- the o auth2 application IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (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 auth2 application scope aliaseses
-
findByOAuth2ApplicationId_First
OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.- Parameters:
oAuth2ApplicationId- the o auth2 application IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a matching o auth2 application scope aliases could not be found
-
fetchByOAuth2ApplicationId_First
OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.- Parameters:
oAuth2ApplicationId- the o auth2 application IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching o auth2 application scope aliases, or
nullif a matching o auth2 application scope aliases could not be found
-
removeByOAuth2ApplicationId
void removeByOAuth2ApplicationId(long oAuth2ApplicationId) Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.- Parameters:
oAuth2ApplicationId- the o auth2 application ID
-
countByOAuth2ApplicationId
int countByOAuth2ApplicationId(long oAuth2ApplicationId) Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.- Parameters:
oAuth2ApplicationId- the o auth2 application ID- Returns:
- the number of matching o auth2 application scope aliaseses
-
create
Creates a new o auth2 application scope aliases with the primary key. Does not add the o auth2 application scope aliases to the database.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key for the new o auth2 application scope aliases- Returns:
- the new o auth2 application scope aliases
-
remove
OAuth2ApplicationScopeAliases remove(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException Removes the o auth2 application scope aliases with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases that was removed
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a o auth2 application scope aliases with the primary key could not be found
-
updateImpl
OAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) -
findByPrimaryKey
OAuth2ApplicationScopeAliases findByPrimaryKey(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the o auth2 application scope aliases with the primary key or throws aNoSuchOAuth2ApplicationScopeAliasesExceptionif it could not be found.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a o auth2 application scope aliases with the primary key could not be found
-
fetchByPrimaryKey
Returns the o auth2 application scope aliases with the primary key or returnsnullif it could not be found.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases, or
nullif a o auth2 application scope aliases with the primary key could not be found
-
findByCompanyId
Returns all the o auth2 application scope aliaseses where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching o auth2 application scope aliaseses
-
findByCompanyId
Returns a range of all the o auth2 application scope aliaseses 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 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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (not inclusive)- Returns:
- the range of matching o auth2 application scope aliaseses
-
findByCompanyId
default List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses 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 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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth2 application scope aliaseses
-
findByOAuth2ApplicationId
Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.- Parameters:
oAuth2ApplicationId- the o auth2 application ID- Returns:
- the matching o auth2 application scope aliaseses
-
findByOAuth2ApplicationId
default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end) Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
oAuth2ApplicationId- the o auth2 application IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (not inclusive)- Returns:
- the range of matching o auth2 application scope aliaseses
-
findByOAuth2ApplicationId
default List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Parameters:
oAuth2ApplicationId- the o auth2 application IDstart- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching o auth2 application scope aliaseses
-