@ProviderType public interface WeDeployAuthAppPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<WeDeployAuthApp>
Caching information and settings can be found in portal.properties
com.liferay.portal.security.wedeploy.auth.service.persistence.impl.WeDeployAuthAppPersistenceImpl
,
WeDeployAuthAppUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<WeDeployAuthApp> weDeployAuthApps)
Caches the we deploy auth apps in the entity cache if it is enabled.
|
void |
cacheResult(WeDeployAuthApp weDeployAuthApp)
Caches the we deploy auth app in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of we deploy auth apps.
|
int |
countByCI_CS(java.lang.String clientId,
java.lang.String clientSecret)
Returns the number of we deploy auth apps where clientId = ? and clientSecret = ?.
|
int |
countByRU_CI(java.lang.String redirectURI,
java.lang.String clientId)
Returns the number of we deploy auth apps where redirectURI = ? and clientId = ?.
|
WeDeployAuthApp |
create(long weDeployAuthAppId)
Creates a new we deploy auth app with the primary key.
|
WeDeployAuthApp |
fetchByCI_CS(java.lang.String clientId,
java.lang.String clientSecret)
Returns the we deploy auth app where clientId = ? and clientSecret = ? or returns
null if it could not be found. |
WeDeployAuthApp |
fetchByCI_CS(java.lang.String clientId,
java.lang.String clientSecret,
boolean retrieveFromCache)
Returns the we deploy auth app where clientId = ? and clientSecret = ? or returns
null if it could not be found, optionally using the finder cache. |
WeDeployAuthApp |
fetchByPrimaryKey(long weDeployAuthAppId)
Returns the we deploy auth app with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,WeDeployAuthApp> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
WeDeployAuthApp |
fetchByRU_CI(java.lang.String redirectURI,
java.lang.String clientId)
Returns the we deploy auth app where redirectURI = ? and clientId = ? or returns
null if it could not be found. |
WeDeployAuthApp |
fetchByRU_CI(java.lang.String redirectURI,
java.lang.String clientId,
boolean retrieveFromCache)
Returns the we deploy auth app where redirectURI = ? and clientId = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<WeDeployAuthApp> |
findAll()
Returns all the we deploy auth apps.
|
java.util.List<WeDeployAuthApp> |
findAll(int start,
int end)
Returns a range of all the we deploy auth apps.
|
java.util.List<WeDeployAuthApp> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WeDeployAuthApp> orderByComparator)
Returns an ordered range of all the we deploy auth apps.
|
java.util.List<WeDeployAuthApp> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WeDeployAuthApp> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the we deploy auth apps.
|
WeDeployAuthApp |
findByCI_CS(java.lang.String clientId,
java.lang.String clientSecret)
Returns the we deploy auth app where clientId = ? and clientSecret = ? or throws a
NoSuchAppException if it could not be found. |
WeDeployAuthApp |
findByPrimaryKey(long weDeployAuthAppId)
Returns the we deploy auth app with the primary key or throws a
NoSuchAppException if it could not be found. |
WeDeployAuthApp |
findByRU_CI(java.lang.String redirectURI,
java.lang.String clientId)
Returns the we deploy auth app where redirectURI = ? and clientId = ? or throws a
NoSuchAppException if it could not be found. |
WeDeployAuthApp |
remove(long weDeployAuthAppId)
Removes the we deploy auth app with the primary key from the database.
|
void |
removeAll()
Removes all the we deploy auth apps from the database.
|
WeDeployAuthApp |
removeByCI_CS(java.lang.String clientId,
java.lang.String clientSecret)
Removes the we deploy auth app where clientId = ? and clientSecret = ? from the database.
|
WeDeployAuthApp |
removeByRU_CI(java.lang.String redirectURI,
java.lang.String clientId)
Removes the we deploy auth app where redirectURI = ? and clientId = ? from the database.
|
WeDeployAuthApp |
updateImpl(WeDeployAuthApp weDeployAuthApp) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
WeDeployAuthApp findByRU_CI(java.lang.String redirectURI, java.lang.String clientId) throws NoSuchAppException
NoSuchAppException
if it could not be found.redirectURI
- the redirect uriclientId
- the client IDNoSuchAppException
- if a matching we deploy auth app could not be foundWeDeployAuthApp fetchByRU_CI(java.lang.String redirectURI, java.lang.String clientId)
null
if it could not be found. Uses the finder cache.redirectURI
- the redirect uriclientId
- the client IDnull
if a matching we deploy auth app could not be foundWeDeployAuthApp fetchByRU_CI(java.lang.String redirectURI, java.lang.String clientId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.redirectURI
- the redirect uriclientId
- the client IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching we deploy auth app could not be foundWeDeployAuthApp removeByRU_CI(java.lang.String redirectURI, java.lang.String clientId) throws NoSuchAppException
redirectURI
- the redirect uriclientId
- the client IDNoSuchAppException
int countByRU_CI(java.lang.String redirectURI, java.lang.String clientId)
redirectURI
- the redirect uriclientId
- the client IDWeDeployAuthApp findByCI_CS(java.lang.String clientId, java.lang.String clientSecret) throws NoSuchAppException
NoSuchAppException
if it could not be found.clientId
- the client IDclientSecret
- the client secretNoSuchAppException
- if a matching we deploy auth app could not be foundWeDeployAuthApp fetchByCI_CS(java.lang.String clientId, java.lang.String clientSecret)
null
if it could not be found. Uses the finder cache.clientId
- the client IDclientSecret
- the client secretnull
if a matching we deploy auth app could not be foundWeDeployAuthApp fetchByCI_CS(java.lang.String clientId, java.lang.String clientSecret, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.clientId
- the client IDclientSecret
- the client secretretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching we deploy auth app could not be foundWeDeployAuthApp removeByCI_CS(java.lang.String clientId, java.lang.String clientSecret) throws NoSuchAppException
clientId
- the client IDclientSecret
- the client secretNoSuchAppException
int countByCI_CS(java.lang.String clientId, java.lang.String clientSecret)
clientId
- the client IDclientSecret
- the client secretvoid cacheResult(WeDeployAuthApp weDeployAuthApp)
weDeployAuthApp
- the we deploy auth appvoid cacheResult(java.util.List<WeDeployAuthApp> weDeployAuthApps)
weDeployAuthApps
- the we deploy auth appsWeDeployAuthApp create(long weDeployAuthAppId)
weDeployAuthAppId
- the primary key for the new we deploy auth appWeDeployAuthApp remove(long weDeployAuthAppId) throws NoSuchAppException
weDeployAuthAppId
- the primary key of the we deploy auth appNoSuchAppException
- if a we deploy auth app with the primary key could not be foundWeDeployAuthApp updateImpl(WeDeployAuthApp weDeployAuthApp)
WeDeployAuthApp findByPrimaryKey(long weDeployAuthAppId) throws NoSuchAppException
NoSuchAppException
if it could not be found.weDeployAuthAppId
- the primary key of the we deploy auth appNoSuchAppException
- if a we deploy auth app with the primary key could not be foundWeDeployAuthApp fetchByPrimaryKey(long weDeployAuthAppId)
null
if it could not be found.weDeployAuthAppId
- the primary key of the we deploy auth appnull
if a we deploy auth app with the primary key could not be foundjava.util.Map<java.io.Serializable,WeDeployAuthApp> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<WeDeployAuthApp>
java.util.List<WeDeployAuthApp> findAll()
java.util.List<WeDeployAuthApp> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WeDeployAuthAppModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of we deploy auth appsend
- the upper bound of the range of we deploy auth apps (not inclusive)java.util.List<WeDeployAuthApp> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WeDeployAuthApp> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WeDeployAuthAppModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of we deploy auth appsend
- the upper bound of the range of we deploy auth apps (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<WeDeployAuthApp> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WeDeployAuthApp> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from WeDeployAuthAppModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of we deploy auth appsend
- the upper bound of the range of we deploy auth apps (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()