Class OAuth2ApplicationScopeAliasesUtil
com.liferay.oauth2.provider.service.persistence.impl.OAuth2ApplicationScopeAliasesPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Caches the o auth2 application scope aliases in the entity cache if it is enabled.static voidcacheResult(List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses) Caches the o auth2 application scope aliaseses in the entity cache if it is enabled.static voidstatic voidclearCache(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) static intcountAll()Returns the number of o auth2 application scope aliaseses.static intcountByCompanyId(long companyId) Returns the number of o auth2 application scope aliaseses where companyId = ?.static intcountByOAuth2ApplicationId(long oAuth2ApplicationId) Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) 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 = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last 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 = ?.fetchByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last 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.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<OAuth2ApplicationScopeAliases>findAll()Returns all the o auth2 application scope aliaseses.static List<OAuth2ApplicationScopeAliases>findAll(int start, int end) Returns a range of all the o auth2 application scope aliaseses.static List<OAuth2ApplicationScopeAliases>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses.static List<OAuth2ApplicationScopeAliases>findAll(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.static List<OAuth2ApplicationScopeAliases>findByCompanyId(long companyId) Returns all the o auth2 application scope aliaseses where companyId = ?.static List<OAuth2ApplicationScopeAliases>findByCompanyId(long companyId, int start, int end) Returns a range of all the o auth2 application scope aliaseses where companyId = ?.static 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 = ?.static 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 = ?.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 = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last o auth2 application scope aliases in the ordered set where companyId = ?.static OAuth2ApplicationScopeAliases[]findByCompanyId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the o auth2 application scope aliaseses before and after the current o auth2 application scope aliases in the ordered set where companyId = ?.static List<OAuth2ApplicationScopeAliases>findByOAuth2ApplicationId(long oAuth2ApplicationId) Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.static List<OAuth2ApplicationScopeAliases>findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end) Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.static 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 = ?.static 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 = ?.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 = ?.findByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.static OAuth2ApplicationScopeAliases[]findByOAuth2ApplicationId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the o auth2 application scope aliaseses before and after the current 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.static List<OAuth2ApplicationScopeAliases>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<OAuth2ApplicationScopeAliases>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<OAuth2ApplicationScopeAliases>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) remove(long oAuth2ApplicationScopeAliasesId) Removes the o auth2 application scope aliases with the primary key from the database.static voidRemoves all the o auth2 application scope aliaseses from the database.static voidremoveByCompanyId(long companyId) Removes all the o auth2 application scope aliaseses where companyId = ? from the database.static voidremoveByOAuth2ApplicationId(long oAuth2ApplicationId) Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.static voidsetPersistence(OAuth2ApplicationScopeAliasesPersistence persistence) update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
-
Constructor Details
-
OAuth2ApplicationScopeAliasesUtil
public OAuth2ApplicationScopeAliasesUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,OAuth2ApplicationScopeAliases> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static List<OAuth2ApplicationScopeAliases> findByCompanyId(long companyId, int start, int end) 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
public static 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
-
findByCompanyId
public static 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
public static 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 foundNoSuchOAuth2ApplicationScopeAliasesException
-
fetchByCompanyId_First
public static 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
-
findByCompanyId_Last
public static OAuth2ApplicationScopeAliases findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the last 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 last matching o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a matching o auth2 application scope aliases could not be foundNoSuchOAuth2ApplicationScopeAliasesException
-
fetchByCompanyId_Last
public static OAuth2ApplicationScopeAliases fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last 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 last matching o auth2 application scope aliases, or
nullif a matching o auth2 application scope aliases could not be found
-
findByCompanyId_PrevAndNext
public static OAuth2ApplicationScopeAliases[] findByCompanyId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the o auth2 application scope aliaseses before and after the current o auth2 application scope aliases in the ordered set where companyId = ?.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the current o auth2 application scope aliasescompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a o auth2 application scope aliases with the primary key could not be foundNoSuchOAuth2ApplicationScopeAliasesException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the o auth2 application scope aliaseses where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId) 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
public static 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
public static 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
-
findByOAuth2ApplicationId
public static 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 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 fromOAuth2ApplicationScopeAliasesModelImpl.- 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
public static 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 foundNoSuchOAuth2ApplicationScopeAliasesException
-
fetchByOAuth2ApplicationId_First
public static 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
-
findByOAuth2ApplicationId_Last
public static OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the last 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 last matching o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a matching o auth2 application scope aliases could not be foundNoSuchOAuth2ApplicationScopeAliasesException
-
fetchByOAuth2ApplicationId_Last
public static OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns the last 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 last matching o auth2 application scope aliases, or
nullif a matching o auth2 application scope aliases could not be found
-
findByOAuth2ApplicationId_PrevAndNext
public static OAuth2ApplicationScopeAliases[] findByOAuth2ApplicationId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException Returns the o auth2 application scope aliaseses before and after the current o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ?.- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the current o auth2 application scope aliasesoAuth2ApplicationId- the o auth2 application IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next o auth2 application scope aliases
- Throws:
NoSuchOAuth2ApplicationScopeAliasesException- if a o auth2 application scope aliases with the primary key could not be foundNoSuchOAuth2ApplicationScopeAliasesException
-
removeByOAuth2ApplicationId
public static 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
public static 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
-
cacheResult
Caches the o auth2 application scope aliases in the entity cache if it is enabled.- Parameters:
oAuth2ApplicationScopeAliases- the o auth2 application scope aliases
-
cacheResult
Caches the o auth2 application scope aliaseses in the entity cache if it is enabled.- Parameters:
oAuth2ApplicationScopeAliaseses- the 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
public static 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 foundNoSuchOAuth2ApplicationScopeAliasesException
-
updateImpl
public static OAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) -
findByPrimaryKey
public static 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 foundNoSuchOAuth2ApplicationScopeAliasesException
-
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
-
findAll
Returns all the o auth2 application scope aliaseses.- Returns:
- the o auth2 application scope aliaseses
-
findAll
Returns a range of all the o auth2 application scope aliaseses.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 fromOAuth2ApplicationScopeAliasesModelImpl.- Parameters:
start- 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 o auth2 application scope aliaseses
-
findAll
public static List<OAuth2ApplicationScopeAliases> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) Returns an ordered range of all the o auth2 application scope aliaseses.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 fromOAuth2ApplicationScopeAliasesModelImpl.- Parameters:
start- 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 o auth2 application scope aliaseses
-
findAll
public static List<OAuth2ApplicationScopeAliases> findAll(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.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 fromOAuth2ApplicationScopeAliasesModelImpl.- Parameters:
start- 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 o auth2 application scope aliaseses
-
removeAll
public static void removeAll()Removes all the o auth2 application scope aliaseses from the database. -
countAll
public static int countAll()Returns the number of o auth2 application scope aliaseses.- Returns:
- the number of o auth2 application scope aliaseses
-
getPersistence
-
setPersistence
-