public class RememberMeTokenLocalServiceWrapper extends Object implements RememberMeTokenLocalService, ServiceWrapper<RememberMeTokenLocalService>
RememberMeTokenLocalService.RememberMeTokenLocalService| Constructor and Description |
|---|
RememberMeTokenLocalServiceWrapper() |
RememberMeTokenLocalServiceWrapper(RememberMeTokenLocalService rememberMeTokenLocalService) |
| Modifier and Type | Method and Description |
|---|---|
RememberMeToken |
addRememberMeToken(long companyId,
long userId,
Date expirationDate,
Consumer<String> valueConsumer) |
RememberMeToken |
addRememberMeToken(RememberMeToken rememberMeToken)
Adds the remember me token to the database.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
RememberMeToken |
createRememberMeToken(long rememberMeTokenId)
Creates a new remember me token with the primary key.
|
void |
deleteExpiredRememberMeTokens(long userId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
RememberMeToken |
deleteRememberMeToken(long rememberMeTokenId)
Deletes the remember me token with the primary key from the database.
|
RememberMeToken |
deleteRememberMeToken(RememberMeToken rememberMeToken)
Deletes the remember me token from the database.
|
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
RememberMeToken |
fetchRememberMeToken(long rememberMeTokenId) |
RememberMeToken |
fetchRememberMeToken(long rememberMeTokenId,
String value) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
BasePersistence<?> |
getBasePersistence() |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
RememberMeToken |
getRememberMeToken(long rememberMeTokenId)
Returns the remember me token with the primary key.
|
List<RememberMeToken> |
getRememberMeTokens(int start,
int end)
Returns a range of all the remember me tokens.
|
int |
getRememberMeTokensCount()
Returns the number of remember me tokens.
|
RememberMeTokenLocalService |
getWrappedService() |
void |
setWrappedService(RememberMeTokenLocalService rememberMeTokenLocalService) |
RememberMeToken |
updateRememberMeToken(RememberMeToken rememberMeToken)
Updates the remember me token in the database or adds it if it does not yet exist.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchPersistedModelpublic RememberMeTokenLocalServiceWrapper()
public RememberMeTokenLocalServiceWrapper(RememberMeTokenLocalService rememberMeTokenLocalService)
public RememberMeToken addRememberMeToken(long companyId, long userId, Date expirationDate, Consumer<String> valueConsumer) throws PwdEncryptorException
addRememberMeToken in interface RememberMeTokenLocalServicePwdEncryptorExceptionpublic RememberMeToken addRememberMeToken(RememberMeToken rememberMeToken)
Important: Inspect RememberMeTokenLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addRememberMeToken in interface RememberMeTokenLocalServicerememberMeToken - the remember me tokenpublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface RememberMeTokenLocalServicePortalExceptionpublic RememberMeToken createRememberMeToken(long rememberMeTokenId)
createRememberMeToken in interface RememberMeTokenLocalServicerememberMeTokenId - the primary key for the new remember me tokenpublic void deleteExpiredRememberMeTokens(long userId)
deleteExpiredRememberMeTokens in interface RememberMeTokenLocalServicepublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface RememberMeTokenLocalServicePortalExceptionpublic RememberMeToken deleteRememberMeToken(long rememberMeTokenId) throws PortalException
Important: Inspect RememberMeTokenLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteRememberMeToken in interface RememberMeTokenLocalServicerememberMeTokenId - the primary key of the remember me tokenPortalException - if a remember me token with the primary key could not be foundpublic RememberMeToken deleteRememberMeToken(RememberMeToken rememberMeToken)
Important: Inspect RememberMeTokenLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteRememberMeToken in interface RememberMeTokenLocalServicerememberMeToken - the remember me tokenpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface PersistedModelLocalServicedslQuery in interface RememberMeTokenLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface PersistedModelLocalServicedslQueryCount in interface RememberMeTokenLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface RememberMeTokenLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface RememberMeTokenLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.model.impl.RememberMeTokenModelImpl.
dynamicQuery in interface RememberMeTokenLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.model.impl.RememberMeTokenModelImpl.
dynamicQuery in interface RememberMeTokenLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface RememberMeTokenLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface RememberMeTokenLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic RememberMeToken fetchRememberMeToken(long rememberMeTokenId)
fetchRememberMeToken in interface RememberMeTokenLocalServicepublic RememberMeToken fetchRememberMeToken(long rememberMeTokenId, String value) throws PwdEncryptorException
fetchRememberMeToken in interface RememberMeTokenLocalServicePwdEncryptorExceptionpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface RememberMeTokenLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface RememberMeTokenLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface RememberMeTokenLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface RememberMeTokenLocalServicePortalExceptionpublic RememberMeToken getRememberMeToken(long rememberMeTokenId) throws PortalException
getRememberMeToken in interface RememberMeTokenLocalServicerememberMeTokenId - the primary key of the remember me tokenPortalException - if a remember me token with the primary key could not be foundpublic List<RememberMeToken> getRememberMeTokens(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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.model.impl.RememberMeTokenModelImpl.
getRememberMeTokens in interface RememberMeTokenLocalServicestart - the lower bound of the range of remember me tokensend - the upper bound of the range of remember me tokens (not inclusive)public int getRememberMeTokensCount()
getRememberMeTokensCount in interface RememberMeTokenLocalServicepublic RememberMeToken updateRememberMeToken(RememberMeToken rememberMeToken)
Important: Inspect RememberMeTokenLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateRememberMeToken in interface RememberMeTokenLocalServicerememberMeToken - the remember me tokenpublic BasePersistence<?> getBasePersistence()
getBasePersistence in interface PersistedModelLocalServicepublic RememberMeTokenLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<RememberMeTokenLocalService>public void setWrappedService(RememberMeTokenLocalService rememberMeTokenLocalService)
setWrappedService in interface ServiceWrapper<RememberMeTokenLocalService>