public class OAuthClientASLocalMetadataUtil
extends java.lang.Object
com.liferay.oauth.client.persistence.service.persistence.impl.OAuthClientASLocalMetadataPersistenceImpl
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
OAuthClientASLocalMetadataPersistence
Constructor and Description |
---|
OAuthClientASLocalMetadataUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas)
Caches the o auth client as local metadatas in the entity cache if it is enabled.
|
static void |
cacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
Caches the o auth client as local metadata in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) |
static int |
countAll()
Returns the number of o auth client as local metadatas.
|
static int |
countByCompanyId(long companyId)
Returns the number of o auth client as local metadatas where companyId = ?.
|
static int |
countByLocalWellKnownURI(java.lang.String localWellKnownURI)
Returns the number of o auth client as local metadatas where localWellKnownURI = ?.
|
static int |
countByUserId(long userId)
Returns the number of o auth client as local metadatas where userId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static OAuthClientASLocalMetadata |
create(long oAuthClientASLocalMetadataId)
Creates a new o auth client as local metadata with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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. |
static java.util.Map<java.io.Serializable,OAuthClientASLocalMetadata> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of o auth client as local metadatas that the user has permission to view where companyId = ?.
|
static int |
filterCountByUserId(long userId)
Returns the number of o auth client as local metadatas that the user has permission to view where userId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<OAuthClientASLocalMetadata> |
findAll()
Returns all the o auth client as local metadatas.
|
static java.util.List<OAuthClientASLocalMetadata> |
findAll(int start,
int end)
Returns a range of all the o auth client as local metadatas.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<OAuthClientASLocalMetadata> |
findByCompanyId(long companyId)
Returns all the o auth client as local metadatas where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<OAuthClientASLocalMetadata> |
findByUserId(long userId)
Returns all the o auth client as local metadatas where userId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<OAuthClientASLocalMetadata> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<OAuthClientASLocalMetadata> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<OAuthClientASLocalMetadata> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator) |
static OAuthClientASLocalMetadataPersistence |
getPersistence() |
static OAuthClientASLocalMetadata |
remove(long oAuthClientASLocalMetadataId)
Removes the o auth client as local metadata with the primary key from the database.
|
static void |
removeAll()
Removes all the o auth client as local metadatas from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the o auth client as local metadatas where companyId = ? from the database.
|
static OAuthClientASLocalMetadata |
removeByLocalWellKnownURI(java.lang.String localWellKnownURI)
Removes the o auth client as local metadata where localWellKnownURI = ? from the database.
|
static void |
removeByUserId(long userId)
Removes all the o auth client as local metadatas where userId = ? from the database.
|
static void |
setPersistence(OAuthClientASLocalMetadataPersistence persistence) |
static OAuthClientASLocalMetadata |
update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) |
static OAuthClientASLocalMetadata |
update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static OAuthClientASLocalMetadata |
updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
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.Map<java.io.Serializable,OAuthClientASLocalMetadata> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<OAuthClientASLocalMetadata> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientASLocalMetadata> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static OAuthClientASLocalMetadata update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static OAuthClientASLocalMetadata update(OAuthClientASLocalMetadata oAuthClientASLocalMetadata, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<OAuthClientASLocalMetadata> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata[] 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 foundpublic static java.util.List<OAuthClientASLocalMetadata> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<OAuthClientASLocalMetadata> findByUserId(long userId)
userId
- the user IDpublic static java.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)public static 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
)public static 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 cachepublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata[] 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 foundpublic static java.util.List<OAuthClientASLocalMetadata> filterFindByUserId(long userId)
userId
- the user IDpublic static java.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)public static 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
)public static 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 foundpublic static void removeByUserId(long userId)
userId
- the user IDpublic static int countByUserId(long userId)
userId
- the user IDpublic static int filterCountByUserId(long userId)
userId
- the user IDpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata removeByLocalWellKnownURI(java.lang.String localWellKnownURI) throws NoSuchOAuthClientASLocalMetadataException
localWellKnownURI
- the local well known uriNoSuchOAuthClientASLocalMetadataException
public static int countByLocalWellKnownURI(java.lang.String localWellKnownURI)
localWellKnownURI
- the local well known uripublic static void cacheResult(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
oAuthClientASLocalMetadata
- the o auth client as local metadatapublic static void cacheResult(java.util.List<OAuthClientASLocalMetadata> oAuthClientASLocalMetadatas)
oAuthClientASLocalMetadatas
- the o auth client as local metadataspublic static OAuthClientASLocalMetadata create(long oAuthClientASLocalMetadataId)
oAuthClientASLocalMetadataId
- the primary key for the new o auth client as local metadatapublic static OAuthClientASLocalMetadata 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 foundpublic static OAuthClientASLocalMetadata updateImpl(OAuthClientASLocalMetadata oAuthClientASLocalMetadata)
public static 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 foundpublic static OAuthClientASLocalMetadata 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 foundpublic static java.util.List<OAuthClientASLocalMetadata> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static OAuthClientASLocalMetadataPersistence getPersistence()
public static void setPersistence(OAuthClientASLocalMetadataPersistence persistence)