@ProviderType public interface OAuth2ApplicationScopeAliasesPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuth2ApplicationScopeAliases>
Caching information and settings can be found in portal.properties
OAuth2ApplicationScopeAliasesUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses)
Caches the o auth2 application scope aliaseses in the entity cache if it is enabled.
|
void |
cacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
Caches the o auth2 application scope aliases in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of o auth2 application scope aliaseses.
|
int |
countByC(long companyId)
Returns the number of o auth2 application scope aliaseses where companyId = ?.
|
int |
countByOAuth2ApplicationId(long oAuth2ApplicationId)
Returns the number of o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
OAuth2ApplicationScopeAliases |
create(long oAuth2ApplicationScopeAliasesId)
Creates a new o auth2 application scope aliases with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
OAuth2ApplicationScopeAliases |
fetchByPrimaryKey(long oAuth2ApplicationScopeAliasesId)
Returns the o auth2 application scope aliases with the primary key or returns
null if it could not be found. |
java.util.List<OAuth2ApplicationScopeAliases> |
findAll()
Returns all the o auth2 application scope aliaseses.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findAll(int start,
int end)
Returns a range of all the o auth2 application scope aliaseses.
|
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.
|
java.util.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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findByC(long companyId)
Returns all the o auth2 application scope aliaseses where companyId = ?.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findByC(long companyId,
int start,
int end)
Returns a range of all the o auth2 application scope aliaseses where companyId = ?.
|
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 = ?.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findByC(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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findByOAuth2ApplicationId(long oAuth2ApplicationId)
Returns all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
java.util.List<OAuth2ApplicationScopeAliases> |
findByOAuth2ApplicationId(long oAuth2ApplicationId,
int start,
int end)
Returns a range of all the o auth2 application scope aliaseses where oAuth2ApplicationId = ?.
|
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 = ?.
|
java.util.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 = ?.
|
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. |
OAuth2ApplicationScopeAliases |
remove(long oAuth2ApplicationScopeAliasesId)
Removes the o auth2 application scope aliases with the primary key from the database.
|
void |
removeAll()
Removes all the o auth2 application scope aliaseses from the database.
|
void |
removeByC(long companyId)
Removes all the o auth2 application scope aliaseses where companyId = ? from the database.
|
void |
removeByOAuth2ApplicationId(long oAuth2ApplicationId)
Removes all the o auth2 application scope aliaseses where oAuth2ApplicationId = ? from the database.
|
OAuth2ApplicationScopeAliases |
updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId)
companyId
- the company IDjava.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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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)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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)java.util.List<OAuth2ApplicationScopeAliases> findByC(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)useFinderCache
- whether to use the finder cacheOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases[] 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 foundvoid removeByC(long companyId)
companyId
- the company IDint countByC(long companyId)
companyId
- the company IDjava.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDjava.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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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)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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)java.util.List<OAuth2ApplicationScopeAliases> findByOAuth2ApplicationId(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)useFinderCache
- whether to use the finder cacheOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases[] 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 foundvoid removeByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDint countByOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application IDvoid cacheResult(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
oAuth2ApplicationScopeAliases
- the o auth2 application scope aliasesvoid cacheResult(java.util.List<OAuth2ApplicationScopeAliases> oAuth2ApplicationScopeAliaseses)
oAuth2ApplicationScopeAliaseses
- the o auth2 application scope aliasesesOAuth2ApplicationScopeAliases create(long oAuth2ApplicationScopeAliasesId)
oAuth2ApplicationScopeAliasesId
- the primary key for the new o auth2 application scope aliasesOAuth2ApplicationScopeAliases 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 foundOAuth2ApplicationScopeAliases updateImpl(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
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 foundOAuth2ApplicationScopeAliases 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 foundjava.util.List<OAuth2ApplicationScopeAliases> findAll()
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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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)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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)java.util.List<OAuth2ApplicationScopeAliases> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from OAuth2ApplicationScopeAliasesModelImpl
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()