@ProviderType public interface WeDeployAuthTokenPersistence extends BasePersistence<WeDeployAuthToken>
Caching information and settings can be found in portal.properties
WeDeployAuthTokenUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(java.util.List<WeDeployAuthToken> weDeployAuthTokens)
Caches the we deploy auth tokens in the entity cache if it is enabled.
|
void |
cacheResult(WeDeployAuthToken weDeployAuthToken)
Caches the we deploy auth token in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of we deploy auth tokens.
|
int |
countByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type)
Returns the number of we deploy auth tokens where clientId = ? and token = ? and type = ?.
|
int |
countByT_T(java.lang.String token,
int type)
Returns the number of we deploy auth tokens where token = ? and type = ?.
|
WeDeployAuthToken |
create(long weDeployAuthTokenId)
Creates a new we deploy auth token with the primary key.
|
WeDeployAuthToken |
fetchByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type)
Returns the we deploy auth token where clientId = ? and token = ? and type = ? or returns
null if it could not be found. |
WeDeployAuthToken |
fetchByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type,
boolean useFinderCache)
Returns the we deploy auth token where clientId = ? and token = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
WeDeployAuthToken |
fetchByPrimaryKey(long weDeployAuthTokenId)
Returns the we deploy auth token with the primary key or returns
null if it could not be found. |
WeDeployAuthToken |
fetchByT_T(java.lang.String token,
int type)
Returns the we deploy auth token where token = ? and type = ? or returns
null if it could not be found. |
WeDeployAuthToken |
fetchByT_T(java.lang.String token,
int type,
boolean useFinderCache)
Returns the we deploy auth token where token = ? and type = ? or returns
null if it could not be found, optionally using the finder cache. |
java.util.List<WeDeployAuthToken> |
findAll()
Returns all the we deploy auth tokens.
|
java.util.List<WeDeployAuthToken> |
findAll(int start,
int end)
Returns a range of all the we deploy auth tokens.
|
java.util.List<WeDeployAuthToken> |
findAll(int start,
int end,
OrderByComparator<WeDeployAuthToken> orderByComparator)
Returns an ordered range of all the we deploy auth tokens.
|
java.util.List<WeDeployAuthToken> |
findAll(int start,
int end,
OrderByComparator<WeDeployAuthToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the we deploy auth tokens.
|
WeDeployAuthToken |
findByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type)
Returns the we deploy auth token where clientId = ? and token = ? and type = ? or throws a
NoSuchTokenException if it could not be found. |
WeDeployAuthToken |
findByPrimaryKey(long weDeployAuthTokenId)
Returns the we deploy auth token with the primary key or throws a
NoSuchTokenException if it could not be found. |
WeDeployAuthToken |
findByT_T(java.lang.String token,
int type)
Returns the we deploy auth token where token = ? and type = ? or throws a
NoSuchTokenException if it could not be found. |
WeDeployAuthToken |
remove(long weDeployAuthTokenId)
Removes the we deploy auth token with the primary key from the database.
|
void |
removeAll()
Removes all the we deploy auth tokens from the database.
|
WeDeployAuthToken |
removeByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type)
Removes the we deploy auth token where clientId = ? and token = ? and type = ? from the database.
|
WeDeployAuthToken |
removeByT_T(java.lang.String token,
int type)
Removes the we deploy auth token where token = ? and type = ? from the database.
|
WeDeployAuthToken |
updateImpl(WeDeployAuthToken weDeployAuthToken) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updateWeDeployAuthToken findByT_T(java.lang.String token, int type) throws NoSuchTokenException
NoSuchTokenException if it could not be found.token - the tokentype - the typeNoSuchTokenException - if a matching we deploy auth token could not be foundWeDeployAuthToken fetchByT_T(java.lang.String token, int type)
null if it could not be found. Uses the finder cache.token - the tokentype - the typenull if a matching we deploy auth token could not be foundWeDeployAuthToken fetchByT_T(java.lang.String token, int type, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.token - the tokentype - the typeuseFinderCache - whether to use the finder cachenull if a matching we deploy auth token could not be foundWeDeployAuthToken removeByT_T(java.lang.String token, int type) throws NoSuchTokenException
token - the tokentype - the typeNoSuchTokenExceptionint countByT_T(java.lang.String token,
int type)
token - the tokentype - the typeWeDeployAuthToken findByCI_T_T(java.lang.String clientId, java.lang.String token, int type) throws NoSuchTokenException
NoSuchTokenException if it could not be found.clientId - the client IDtoken - the tokentype - the typeNoSuchTokenException - if a matching we deploy auth token could not be foundWeDeployAuthToken fetchByCI_T_T(java.lang.String clientId, java.lang.String token, int type)
null if it could not be found. Uses the finder cache.clientId - the client IDtoken - the tokentype - the typenull if a matching we deploy auth token could not be foundWeDeployAuthToken fetchByCI_T_T(java.lang.String clientId, java.lang.String token, int type, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.clientId - the client IDtoken - the tokentype - the typeuseFinderCache - whether to use the finder cachenull if a matching we deploy auth token could not be foundWeDeployAuthToken removeByCI_T_T(java.lang.String clientId, java.lang.String token, int type) throws NoSuchTokenException
clientId - the client IDtoken - the tokentype - the typeNoSuchTokenExceptionint countByCI_T_T(java.lang.String clientId,
java.lang.String token,
int type)
clientId - the client IDtoken - the tokentype - the typevoid cacheResult(WeDeployAuthToken weDeployAuthToken)
weDeployAuthToken - the we deploy auth tokenvoid cacheResult(java.util.List<WeDeployAuthToken> weDeployAuthTokens)
weDeployAuthTokens - the we deploy auth tokensWeDeployAuthToken create(long weDeployAuthTokenId)
weDeployAuthTokenId - the primary key for the new we deploy auth tokenWeDeployAuthToken remove(long weDeployAuthTokenId) throws NoSuchTokenException
weDeployAuthTokenId - the primary key of the we deploy auth tokenNoSuchTokenException - if a we deploy auth token with the primary key could not be foundWeDeployAuthToken updateImpl(WeDeployAuthToken weDeployAuthToken)
WeDeployAuthToken findByPrimaryKey(long weDeployAuthTokenId) throws NoSuchTokenException
NoSuchTokenException if it could not be found.weDeployAuthTokenId - the primary key of the we deploy auth tokenNoSuchTokenException - if a we deploy auth token with the primary key could not be foundWeDeployAuthToken fetchByPrimaryKey(long weDeployAuthTokenId)
null if it could not be found.weDeployAuthTokenId - the primary key of the we deploy auth tokennull if a we deploy auth token with the primary key could not be foundjava.util.List<WeDeployAuthToken> findAll()
java.util.List<WeDeployAuthToken> 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 WeDeployAuthTokenModelImpl.
start - the lower bound of the range of we deploy auth tokensend - the upper bound of the range of we deploy auth tokens (not inclusive)java.util.List<WeDeployAuthToken> findAll(int start, int end, OrderByComparator<WeDeployAuthToken> 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 WeDeployAuthTokenModelImpl.
start - the lower bound of the range of we deploy auth tokensend - the upper bound of the range of we deploy auth tokens (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<WeDeployAuthToken> findAll(int start, int end, OrderByComparator<WeDeployAuthToken> 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 WeDeployAuthTokenModelImpl.
start - the lower bound of the range of we deploy auth tokensend - the upper bound of the range of we deploy auth tokens (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()