@ProviderType
public class OAuth2ApplicationScopeAliasesUtil
extends java.lang.Object
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
OAuth2ApplicationScopeAliasesPersistence
,
com.liferay.oauth2.provider.service.persistence.impl.OAuth2ApplicationScopeAliasesPersistenceImpl
Constructor and Description |
---|
OAuth2ApplicationScopeAliasesUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses)
Caches the o auth2 application scope aliaseses in the entity cache if it is enabled.
|
static void |
cacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
Caches the o auth2 application scope aliases in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) |
static int |
countAll()
Returns the number of o auth2 application scope aliaseses.
|
static int |
countByC(long companyId)
Returns the number of o auth2 application scope aliaseses where companyId = ?.
|
static int |
countByO_S(long oAuth2ApplicationId,
long scopeAliasesHash)
Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static int |
countByOAuth2ApplicationId(long oAuth2ApplicationId)
Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static OAuth2ApplicationScopeAliases |
create(long oAuth2ApplicationScopeAliasesId)
Creates a new o auth2 application scope aliases with the primary key.
|
static OAuth2ApplicationScopeAliases |
fetchByC_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 = ?.
|
static OAuth2ApplicationScopeAliases |
fetchByC_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 |
fetchByO_S_First(long oAuth2ApplicationId,
long scopeAliasesHash,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static OAuth2ApplicationScopeAliases |
fetchByO_S_Last(long oAuth2ApplicationId,
long scopeAliasesHash,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Returns the last o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
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 = ?.
|
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 = ?.
|
static OAuth2ApplicationScopeAliases |
fetchByPrimaryKey(long oAuth2ApplicationScopeAliasesId)
Returns the o auth2 application scope aliases with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,OAuth2ApplicationScopeAliases> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<OAuth2ApplicationScopeAliases> |
findAll()
Returns all the o auth2 application scope aliaseses.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findAll(int start,
int end)
Returns a range of all the o auth2 application scope aliaseses.
|
static java.util.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 java.util.List<OAuth2ApplicationScopeAliases> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the o auth2 application scope aliaseses.
|
static OAuth2ApplicationScopeAliases |
findByC_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 = ?.
|
static OAuth2ApplicationScopeAliases |
findByC_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[] |
findByC_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 java.util.List<OAuth2ApplicationScopeAliases> |
findByC(long companyId)
Returns all the o auth2 application scope aliaseses where companyId = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByC(long companyId,
int start,
int end)
Returns a range of all the o auth2 application scope aliaseses where companyId = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByC(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 java.util.List<OAuth2ApplicationScopeAliases> |
findByC(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the o auth2 application scope aliaseses where companyId = ?.
|
static OAuth2ApplicationScopeAliases |
findByO_S_First(long oAuth2ApplicationId,
long scopeAliasesHash,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Returns the first o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static OAuth2ApplicationScopeAliases |
findByO_S_Last(long oAuth2ApplicationId,
long scopeAliasesHash,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Returns the last o auth2 application scope aliases in the ordered set where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static OAuth2ApplicationScopeAliases[] |
findByO_S_PrevAndNext(long oAuth2ApplicationScopeAliasesId,
long oAuth2ApplicationId,
long scopeAliasesHash,
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 = ? and scopeAliasesHash = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByO_S(long oAuth2ApplicationId,
long scopeAliasesHash)
Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByO_S(long oAuth2ApplicationId,
long scopeAliasesHash,
int start,
int end)
Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByO_S(long oAuth2ApplicationId,
long scopeAliasesHash,
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 = ? and scopeAliasesHash = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByO_S(long oAuth2ApplicationId,
long scopeAliasesHash,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? and scopeAliasesHash = ?.
|
static OAuth2ApplicationScopeAliases |
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 = ?.
|
static OAuth2ApplicationScopeAliases |
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 = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByOAuth2ApplicationId(long oAuth2ApplicationId)
Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
static java.util.List<OAuth2ApplicationScopeAliases> |
findByOAuth2ApplicationId(long oAuth2ApplicationId,
int start,
int end)
Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
static java.util.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 java.util.List<OAuth2ApplicationScopeAliases> |
findByOAuth2ApplicationId(long oAuth2ApplicationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
static OAuth2ApplicationScopeAliases |
findByPrimaryKey(long oAuth2ApplicationScopeAliasesId)
Returns the o auth2 application scope aliases with the primary key or throws a
NoSuchOAuth2ApplicationScopeAliasesException if it could not be found. |
static java.util.List<OAuth2ApplicationScopeAliases> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<OAuth2ApplicationScopeAliases> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<OAuth2ApplicationScopeAliases> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static OAuth2ApplicationScopeAliasesPersistence |
getPersistence() |
static OAuth2ApplicationScopeAliases |
remove(long oAuth2ApplicationScopeAliasesId)
Removes the o auth2 application scope aliases with the primary key from the database.
|
static void |
removeAll()
Removes all the o auth2 application scope aliaseses from the database.
|
static void |
removeByC(long companyId)
Removes all the o auth2 application scope aliaseses where companyId = ? from the database.
|
static void |
removeByO_S(long oAuth2ApplicationId,
long scopeAliasesHash)
Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? and scopeAliasesHash = ? from the database.
|
static void |
removeByOAuth2ApplicationId(long oAuth2ApplicationId)
Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.
|
static OAuth2ApplicationScopeAliases |
update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) |
static OAuth2ApplicationScopeAliases |
update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static OAuth2ApplicationScopeAliases |
updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<OAuth2ApplicationScopeAliases> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static OAuth2ApplicationScopeAliases update(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId)
companyId
- the company IDpublic static java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static OAuth2ApplicationScopeAliases findByC_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByC_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases findByC_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByC_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases[] findByC_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationScopeAliasesId
- the primary key of the current o auth2 application scope aliasescompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a o auth2 application scope aliases with the primary key could not be foundpublic static void removeByC(long companyId)
companyId
- the company IDpublic static int countByC(long companyId)
companyId
- the company IDpublic static java.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDpublic static java.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationId
- the o auth2 application IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_First(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
oAuth2ApplicationId
- the o auth2 application IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases findByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationId
- the o auth2 application IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByOAuth2ApplicationId_Last(long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
oAuth2ApplicationId
- the o auth2 application IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases[] findByOAuth2ApplicationId_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long oAuth2ApplicationId, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationScopeAliasesId
- the primary key of the current o auth2 application scope aliasesoAuth2ApplicationId
- the o auth2 application IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a o auth2 application scope aliases with the primary key could not be foundpublic static void removeByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDpublic static int countByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDpublic static java.util.List<OAuth2ApplicationScopeAliases> findByO_S(long oAuth2ApplicationId, long scopeAliasesHash)
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashpublic static java.util.List<OAuth2ApplicationScopeAliases> findByO_S(long oAuth2ApplicationId, long scopeAliasesHash, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashstart
- 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)public static java.util.List<OAuth2ApplicationScopeAliases> findByO_S(long oAuth2ApplicationId, long scopeAliasesHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashstart
- 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 (optionally null
)public static java.util.List<OAuth2ApplicationScopeAliases> findByO_S(long oAuth2ApplicationId, long scopeAliasesHash, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashstart
- 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static OAuth2ApplicationScopeAliases findByO_S_First(long oAuth2ApplicationId, long scopeAliasesHash, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByO_S_First(long oAuth2ApplicationId, long scopeAliasesHash, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases findByO_S_Last(long oAuth2ApplicationId, long scopeAliasesHash, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases fetchByO_S_Last(long oAuth2ApplicationId, long scopeAliasesHash, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth2 application scope aliases could not be foundpublic static OAuth2ApplicationScopeAliases[] findByO_S_PrevAndNext(long oAuth2ApplicationScopeAliasesId, long oAuth2ApplicationId, long scopeAliasesHash, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationScopeAliasesId
- the primary key of the current o auth2 application scope aliasesoAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuth2ApplicationScopeAliasesException
- if a o auth2 application scope aliases with the primary key could not be foundpublic static void removeByO_S(long oAuth2ApplicationId, long scopeAliasesHash)
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashpublic static int countByO_S(long oAuth2ApplicationId, long scopeAliasesHash)
oAuth2ApplicationId
- the o auth2 application IDscopeAliasesHash
- the scope aliases hashpublic static void cacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
oAuth2ApplicationScopeAliases
- the o auth2 application scope aliasespublic static void cacheResult(java.util.List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses)
oAuth2ApplicationScopeAliaseses
- the o auth2 application scope aliasesespublic static OAuth2ApplicationScopeAliases create(long oAuth2ApplicationScopeAliasesId)
oAuth2ApplicationScopeAliasesId
- the primary key for the new o auth2 application scope aliasespublic static OAuth2ApplicationScopeAliases remove(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException
oAuth2ApplicationScopeAliasesId
- the primary key of the o auth2 application scope aliasesNoSuchOAuth2ApplicationScopeAliasesException
- if a o auth2 application scope aliases with the primary key could not be foundpublic static OAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
public static OAuth2ApplicationScopeAliases findByPrimaryKey(long oAuth2ApplicationScopeAliasesId) throws NoSuchOAuth2ApplicationScopeAliasesException
NoSuchOAuth2ApplicationScopeAliasesException
if it could not be found.oAuth2ApplicationScopeAliasesId
- the primary key of the o auth2 application scope aliasesNoSuchOAuth2ApplicationScopeAliasesException
- if a o auth2 application scope aliases with the primary key could not be foundpublic static OAuth2ApplicationScopeAliases fetchByPrimaryKey(long oAuth2ApplicationScopeAliasesId)
null
if it could not be found.oAuth2ApplicationScopeAliasesId
- the primary key of the o auth2 application scope aliasesnull
if a o auth2 application scope aliases with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,OAuth2ApplicationScopeAliases> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<OAuth2ApplicationScopeAliases> findAll()
public static java.util.List<OAuth2ApplicationScopeAliases> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<OAuth2ApplicationScopeAliases> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<OAuth2ApplicationScopeAliases> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static OAuth2ApplicationScopeAliasesPersistence getPersistence()