@ProviderType public interface OAuthClientASLocalMetadataPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuthClientASLocalMetadata>
Caching information and settings can be found in portal.properties
OAuthClientASLocalMetadataUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas)
Caches the o auth client as local metadatas in the entity cache if it is enabled.
|
void |
cacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
Caches the o auth client as local metadata in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of o auth client as local metadatas.
|
int |
countByCompanyId(long companyId)
Returns the number of o auth client as local metadatas where companyId = ?.
|
int |
countByLocalWellKnownURI(java.lang.String localWellKnownURI)
Returns the number of o auth client as local metadatas where localWellKnownURI = ?.
|
int |
countByUserId(long userId)
Returns the number of o auth client as local metadatas where userId = ?.
|
OAuthClientASLocalMetadata |
create(long oAuthClientASLocalMetadataId)
Creates a new o auth client as local metadata with the primary key.
|
OAuthClientASLocalMetadata |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the first o auth client as local metadata in the ordered set where companyId = ?.
|
OAuthClientASLocalMetadata |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the last o auth client as local metadata in the ordered set where companyId = ?.
|
OAuthClientASLocalMetadata |
fetchByLocalWellKnownURI(java.lang.String localWellKnownURI)
Returns the o auth client as local metadata where localWellKnownURI = ? or returns
null if it could not be found. |
OAuthClientASLocalMetadata |
fetchByLocalWellKnownURI(java.lang.String localWellKnownURI,
boolean useFinderCache)
Returns the o auth client as local metadata where localWellKnownURI = ? or returns
null if it could not be found, optionally using the finder cache. |
OAuthClientASLocalMetadata |
fetchByPrimaryKey(long oAuthClientASLocalMetadataId)
Returns the o auth client as local metadata with the primary key or returns
null if it could not be found. |
OAuthClientASLocalMetadata |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the first o auth client as local metadata in the ordered set where userId = ?.
|
OAuthClientASLocalMetadata |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the last o auth client as local metadata in the ordered set where userId = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of o auth client as local metadatas that the user has permission to view where companyId = ?.
|
int |
filterCountByUserId(long userId)
Returns the number of o auth client as local metadatas that the user has permission to view where userId = ?.
|
OAuthClientASLocalMetadata[] |
filterFindByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set of o auth client as local metadatas that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByCompanyId(long companyId)
Returns all the o auth client as local metadatas that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the o auth client as local metadatas that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where companyId = ?.
|
OAuthClientASLocalMetadata[] |
filterFindByUserId_PrevAndNext(long oAuthClientASLocalMetadataId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set of o auth client as local metadatas that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByUserId(long userId)
Returns all the o auth client as local metadatas that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByUserId(long userId,
int start,
int end)
Returns a range of all the o auth client as local metadatas that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
filterFindByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns an ordered range of all the o auth client as local metadatas that the user has permissions to view where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findAll()
Returns all the o auth client as local metadatas.
|
java.util.List<OAuthClientASLocalMetadata> |
findAll(int start,
int end)
Returns a range of all the o auth client as local metadatas.
|
java.util.List<OAuthClientASLocalMetadata> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns an ordered range of all the o auth client as local metadatas.
|
java.util.List<OAuthClientASLocalMetadata> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client as local metadatas.
|
OAuthClientASLocalMetadata |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the first o auth client as local metadata in the ordered set where companyId = ?.
|
OAuthClientASLocalMetadata |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the last o auth client as local metadata in the ordered set where companyId = ?.
|
OAuthClientASLocalMetadata[] |
findByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByCompanyId(long companyId)
Returns all the o auth client as local metadatas where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the o auth client as local metadatas where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns an ordered range of all the o auth client as local metadatas where companyId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client as local metadatas where companyId = ?.
|
OAuthClientASLocalMetadata |
findByLocalWellKnownURI(java.lang.String localWellKnownURI)
Returns the o auth client as local metadata where localWellKnownURI = ? or throws a
NoSuchOAuthClientASLocalMetadataException if it could not be found. |
OAuthClientASLocalMetadata |
findByPrimaryKey(long oAuthClientASLocalMetadataId)
Returns the o auth client as local metadata with the primary key or throws a
NoSuchOAuthClientASLocalMetadataException if it could not be found. |
OAuthClientASLocalMetadata |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the first o auth client as local metadata in the ordered set where userId = ?.
|
OAuthClientASLocalMetadata |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the last o auth client as local metadata in the ordered set where userId = ?.
|
OAuthClientASLocalMetadata[] |
findByUserId_PrevAndNext(long oAuthClientASLocalMetadataId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns the o auth client as local metadatas before and after the current o auth client as local metadata in the ordered set where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByUserId(long userId)
Returns all the o auth client as local metadatas where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the o auth client as local metadatas where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
Returns an ordered range of all the o auth client as local metadatas where userId = ?.
|
java.util.List<OAuthClientASLocalMetadata> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client as local metadatas where userId = ?.
|
OAuthClientASLocalMetadata |
remove(long oAuthClientASLocalMetadataId)
Removes the o auth client as local metadata with the primary key from the database.
|
void |
removeAll()
Removes all the o auth client as local metadatas from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the o auth client as local metadatas where companyId = ? from the database.
|
OAuthClientASLocalMetadata |
removeByLocalWellKnownURI(java.lang.String localWellKnownURI)
Removes the o auth client as local metadata where localWellKnownURI = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the o auth client as local metadatas where userId = ? from the database.
|
OAuthClientASLocalMetadata |
updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<OAuthClientASLocalMetadata> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<OAuthClientASLocalMetadata> findByCompanyId(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 OAuthClientASLocalMetadataModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)java.util.List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientASLocalMetadata> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheOAuthClientASLocalMetadata findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata[] findByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
oAuthClientASLocalMetadataId
- the primary key of the current o auth client as local metadatacompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundjava.util.List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<OAuthClientASLocalMetadata> filterFindByCompanyId(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 OAuthClientASLocalMetadataModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)java.util.List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)OAuthClientASLocalMetadata[] filterFindByCompanyId_PrevAndNext(long oAuthClientASLocalMetadataId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
oAuthClientASLocalMetadataId
- the primary key of the current o auth client as local metadatacompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<OAuthClientASLocalMetadata> findByUserId(long userId)
userId
- the user IDjava.util.List<OAuthClientASLocalMetadata> findByUserId(long userId, 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 OAuthClientASLocalMetadataModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)java.util.List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientASLocalMetadata> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheOAuthClientASLocalMetadata findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata[] findByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
oAuthClientASLocalMetadataId
- the primary key of the current o auth client as local metadatauserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundjava.util.List<OAuthClientASLocalMetadata> filterFindByUserId(long userId)
userId
- the user IDjava.util.List<OAuthClientASLocalMetadata> filterFindByUserId(long userId, 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 OAuthClientASLocalMetadataModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)java.util.List<OAuthClientASLocalMetadata> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)OAuthClientASLocalMetadata[] filterFindByUserId_PrevAndNext(long oAuthClientASLocalMetadataId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) throws NoSuchOAuthClientASLocalMetadataException
oAuthClientASLocalMetadataId
- the primary key of the current o auth client as local metadatauserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDint filterCountByUserId(long userId)
userId
- the user IDOAuthClientASLocalMetadata findByLocalWellKnownURI(java.lang.String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
NoSuchOAuthClientASLocalMetadataException
if it could not be found.localWellKnownURI
- the local well known uriNoSuchOAuthClientASLocalMetadataException
- if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByLocalWellKnownURI(java.lang.String localWellKnownURI)
null
if it could not be found. Uses the finder cache.localWellKnownURI
- the local well known urinull
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata fetchByLocalWellKnownURI(java.lang.String localWellKnownURI, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.localWellKnownURI
- the local well known uriuseFinderCache
- whether to use the finder cachenull
if a matching o auth client as local metadata could not be foundOAuthClientASLocalMetadata removeByLocalWellKnownURI(java.lang.String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
localWellKnownURI
- the local well known uriNoSuchOAuthClientASLocalMetadataException
int countByLocalWellKnownURI(java.lang.String localWellKnownURI)
localWellKnownURI
- the local well known urivoid cacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
oAuthClientASLocalMetadata
- the o auth client as local metadatavoid cacheResult(java.util.List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas)
oAuthClientASLocalMetadatas
- the o auth client as local metadatasOAuthClientASLocalMetadata create(long oAuthClientASLocalMetadataId)
oAuthClientASLocalMetadataId
- the primary key for the new o auth client as local metadataOAuthClientASLocalMetadata remove(long oAuthClientASLocalMetadataId) throws NoSuchOAuthClientASLocalMetadataException
oAuthClientASLocalMetadataId
- the primary key of the o auth client as local metadataNoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundOAuthClientASLocalMetadata updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
OAuthClientASLocalMetadata findByPrimaryKey(long oAuthClientASLocalMetadataId) throws NoSuchOAuthClientASLocalMetadataException
NoSuchOAuthClientASLocalMetadataException
if it could not be found.oAuthClientASLocalMetadataId
- the primary key of the o auth client as local metadataNoSuchOAuthClientASLocalMetadataException
- if a o auth client as local metadata with the primary key could not be foundOAuthClientASLocalMetadata fetchByPrimaryKey(long oAuthClientASLocalMetadataId)
null
if it could not be found.oAuthClientASLocalMetadataId
- the primary key of the o auth client as local metadatanull
if a o auth client as local metadata with the primary key could not be foundjava.util.List<OAuthClientASLocalMetadata> findAll()
java.util.List<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
start
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)java.util.List<OAuthClientASLocalMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
start
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientASLocalMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> 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 OAuthClientASLocalMetadataModelImpl
.
start
- the lower bound of the range of o auth client as local metadatasend
- the upper bound of the range of o auth client as local metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()