@ProviderType public interface OAuthClientEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<OAuthClientEntry>
Caching information and settings can be found in portal.properties
OAuthClientEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<OAuthClientEntry> oAuthClientEntries)
Caches the o auth client entries in the entity cache if it is enabled.
|
void |
cacheResult(OAuthClientEntry oAuthClientEntry)
Caches the o auth client entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of o auth client entries.
|
int |
countByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ? and clientId = ?.
|
int |
countByC_A(long companyId,
java.lang.String authServerWellKnownURI)
Returns the number of o auth client entries where companyId = ? and authServerWellKnownURI = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of o auth client entries where companyId = ?.
|
int |
countByUserId(long userId)
Returns the number of o auth client entries where userId = ?.
|
OAuthClientEntry |
create(long oAuthClientEntryId)
Creates a new o auth client entry with the primary key.
|
OAuthClientEntry |
fetchByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns
null if it could not be found. |
OAuthClientEntry |
fetchByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId,
boolean useFinderCache)
Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or returns
null if it could not be found, optionally using the finder cache. |
OAuthClientEntry |
fetchByC_A_First(long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry |
fetchByC_A_Last(long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where companyId = ?.
|
OAuthClientEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where companyId = ?.
|
OAuthClientEntry |
fetchByPrimaryKey(long oAuthClientEntryId)
Returns the o auth client entry with the primary key or returns
null if it could not be found. |
OAuthClientEntry |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where userId = ?.
|
OAuthClientEntry |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where userId = ?.
|
int |
filterCountByC_A(long companyId,
java.lang.String authServerWellKnownURI)
Returns the number of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of o auth client entries that the user has permission to view where companyId = ?.
|
int |
filterCountByUserId(long userId)
Returns the number of o auth client entries that the user has permission to view where userId = ?.
|
OAuthClientEntry[] |
filterFindByC_A_PrevAndNext(long oAuthClientEntryId,
long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByC_A(long companyId,
java.lang.String authServerWellKnownURI)
Returns all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByC_A(long companyId,
java.lang.String authServerWellKnownURI,
int start,
int end)
Returns a range of all the o auth client entries that the user has permission to view where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByC_A(long companyId,
java.lang.String authServerWellKnownURI,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry[] |
filterFindByCompanyId_PrevAndNext(long oAuthClientEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByCompanyId(long companyId)
Returns all the o auth client entries that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the o auth client entries that the user has permission to view where companyId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries that the user has permissions to view where companyId = ?.
|
OAuthClientEntry[] |
filterFindByUserId_PrevAndNext(long oAuthClientEntryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set of o auth client entries that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByUserId(long userId)
Returns all the o auth client entries that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByUserId(long userId,
int start,
int end)
Returns a range of all the o auth client entries that the user has permission to view where userId = ?.
|
java.util.List<OAuthClientEntry> |
filterFindByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries that the user has permissions to view where userId = ?.
|
java.util.List<OAuthClientEntry> |
findAll()
Returns all the o auth client entries.
|
java.util.List<OAuthClientEntry> |
findAll(int start,
int end)
Returns a range of all the o auth client entries.
|
java.util.List<OAuthClientEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries.
|
java.util.List<OAuthClientEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client entries.
|
OAuthClientEntry |
findByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Returns the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? or throws a
NoSuchOAuthClientEntryException if it could not be found. |
OAuthClientEntry |
findByC_A_First(long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry |
findByC_A_Last(long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry[] |
findByC_A_PrevAndNext(long oAuthClientEntryId,
long companyId,
java.lang.String authServerWellKnownURI,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
findByC_A(long companyId,
java.lang.String authServerWellKnownURI)
Returns all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
findByC_A(long companyId,
java.lang.String authServerWellKnownURI,
int start,
int end)
Returns a range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
findByC_A(long companyId,
java.lang.String authServerWellKnownURI,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
|
java.util.List<OAuthClientEntry> |
findByC_A(long companyId,
java.lang.String authServerWellKnownURI,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client entries where companyId = ? and authServerWellKnownURI = ?.
|
OAuthClientEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where companyId = ?.
|
OAuthClientEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where companyId = ?.
|
OAuthClientEntry[] |
findByCompanyId_PrevAndNext(long oAuthClientEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set where companyId = ?.
|
java.util.List<OAuthClientEntry> |
findByCompanyId(long companyId)
Returns all the o auth client entries where companyId = ?.
|
java.util.List<OAuthClientEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the o auth client entries where companyId = ?.
|
java.util.List<OAuthClientEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries where companyId = ?.
|
java.util.List<OAuthClientEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client entries where companyId = ?.
|
OAuthClientEntry |
findByPrimaryKey(long oAuthClientEntryId)
Returns the o auth client entry with the primary key or throws a
NoSuchOAuthClientEntryException if it could not be found. |
OAuthClientEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the first o auth client entry in the ordered set where userId = ?.
|
OAuthClientEntry |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the last o auth client entry in the ordered set where userId = ?.
|
OAuthClientEntry[] |
findByUserId_PrevAndNext(long oAuthClientEntryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns the o auth client entries before and after the current o auth client entry in the ordered set where userId = ?.
|
java.util.List<OAuthClientEntry> |
findByUserId(long userId)
Returns all the o auth client entries where userId = ?.
|
java.util.List<OAuthClientEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the o auth client entries where userId = ?.
|
java.util.List<OAuthClientEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
Returns an ordered range of all the o auth client entries where userId = ?.
|
java.util.List<OAuthClientEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the o auth client entries where userId = ?.
|
OAuthClientEntry |
remove(long oAuthClientEntryId)
Removes the o auth client entry with the primary key from the database.
|
void |
removeAll()
Removes all the o auth client entries from the database.
|
OAuthClientEntry |
removeByC_A_C(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId)
Removes the o auth client entry where companyId = ? and authServerWellKnownURI = ? and clientId = ? from the database.
|
void |
removeByC_A(long companyId,
java.lang.String authServerWellKnownURI)
Removes all the o auth client entries where companyId = ? and authServerWellKnownURI = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the o auth client entries where companyId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the o auth client entries where userId = ? from the database.
|
OAuthClientEntry |
updateImpl(OAuthClientEntry oAuthClientEntry) |
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<OAuthClientEntry> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheOAuthClientEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry[] findByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundjava.util.List<OAuthClientEntry> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)OAuthClientEntry[] filterFindByCompanyId_PrevAndNext(long oAuthClientEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry 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<OAuthClientEntry> findByUserId(long userId)
userId
- the user IDjava.util.List<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheOAuthClientEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry[] findByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entryuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundjava.util.List<OAuthClientEntry> filterFindByUserId(long userId)
userId
- the user IDjava.util.List<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> filterFindByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
userId
- the user IDstart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)OAuthClientEntry[] filterFindByUserId_PrevAndNext(long oAuthClientEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entryuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry 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 IDjava.util.List<OAuthClientEntry> findByC_A(long companyId, java.lang.String authServerWellKnownURI)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known urijava.util.List<OAuthClientEntry> findByC_A(long companyId, java.lang.String authServerWellKnownURI, 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 OAuthClientEntryModelImpl
.
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uristart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> findByC_A(long companyId, java.lang.String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uristart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientEntry> findByC_A(long companyId, java.lang.String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uristart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheOAuthClientEntry findByC_A_First(long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByC_A_First(long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry findByC_A_Last(long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByC_A_Last(long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching o auth client entry could not be foundOAuthClientEntry[] findByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entrycompanyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundjava.util.List<OAuthClientEntry> filterFindByC_A(long companyId, java.lang.String authServerWellKnownURI)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known urijava.util.List<OAuthClientEntry> filterFindByC_A(long companyId, java.lang.String authServerWellKnownURI, 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 OAuthClientEntryModelImpl
.
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uristart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> filterFindByC_A(long companyId, java.lang.String authServerWellKnownURI, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uristart
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)OAuthClientEntry[] filterFindByC_A_PrevAndNext(long oAuthClientEntryId, long companyId, java.lang.String authServerWellKnownURI, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> orderByComparator) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the current o auth client entrycompanyId
- the company IDauthServerWellKnownURI
- the auth server well known uriorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundvoid removeByC_A(long companyId, java.lang.String authServerWellKnownURI)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriint countByC_A(long companyId, java.lang.String authServerWellKnownURI)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriint filterCountByC_A(long companyId, java.lang.String authServerWellKnownURI)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriOAuthClientEntry findByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws NoSuchOAuthClientEntryException
NoSuchOAuthClientEntryException
if it could not be found.companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDNoSuchOAuthClientEntryException
- if a matching o auth client entry could not be foundOAuthClientEntry fetchByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDnull
if a matching o auth client entry could not be foundOAuthClientEntry fetchByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDuseFinderCache
- whether to use the finder cachenull
if a matching o auth client entry could not be foundOAuthClientEntry removeByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws NoSuchOAuthClientEntryException
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDNoSuchOAuthClientEntryException
int countByC_A_C(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
companyId
- the company IDauthServerWellKnownURI
- the auth server well known uriclientId
- the client IDvoid cacheResult(OAuthClientEntry oAuthClientEntry)
oAuthClientEntry
- the o auth client entryvoid cacheResult(java.util.List<OAuthClientEntry> oAuthClientEntries)
oAuthClientEntries
- the o auth client entriesOAuthClientEntry create(long oAuthClientEntryId)
oAuthClientEntryId
- the primary key for the new o auth client entryOAuthClientEntry remove(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException
oAuthClientEntryId
- the primary key of the o auth client entryNoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundOAuthClientEntry updateImpl(OAuthClientEntry oAuthClientEntry)
OAuthClientEntry findByPrimaryKey(long oAuthClientEntryId) throws NoSuchOAuthClientEntryException
NoSuchOAuthClientEntryException
if it could not be found.oAuthClientEntryId
- the primary key of the o auth client entryNoSuchOAuthClientEntryException
- if a o auth client entry with the primary key could not be foundOAuthClientEntry fetchByPrimaryKey(long oAuthClientEntryId)
null
if it could not be found.oAuthClientEntryId
- the primary key of the o auth client entrynull
if a o auth client entry with the primary key could not be foundjava.util.List<OAuthClientEntry> findAll()
java.util.List<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
start
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)java.util.List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
start
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<OAuthClientEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientEntry> 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 OAuthClientEntryModelImpl
.
start
- the lower bound of the range of o auth client entriesend
- the upper bound of the range of o auth client entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()