Class MFAFIDO2CredentialEntryLocalServiceWrapper
- All Implemented Interfaces:
MFAFIDO2CredentialEntryLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>
MFAFIDO2CredentialEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionMFAFIDO2CredentialEntryLocalServiceWrapper(MFAFIDO2CredentialEntryLocalService mfaFIDO2CredentialEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddMFAFIDO2CredentialEntry(long userId, String credentialKey, int credentialType, String publicKeyCOSE) addMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Adds the mfafido2 credential entry to the database.createMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) Creates a new mfafido2 credential entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) Deletes the mfafido2 credential entry with the primary key from the database.deleteMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Deletes the mfafido2 credential entry from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey(long userId, String credentialKey) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetMFAFIDO2CredentialEntries(int start, int end) Returns a range of all the mfafido2 credential entries.getMFAFIDO2CredentialEntriesByCredentialKey(String credentialKey) getMFAFIDO2CredentialEntriesByUserId(long userId) intReturns the number of mfafido2 credential entries.getMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) Returns the mfafido2 credential entry with the primary key.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(MFAFIDO2CredentialEntryLocalService mfaFIDO2CredentialEntryLocalService) updateAttempts(long userId, String credentialKey, long signatureCount) updateMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Updates the mfafido2 credential entry in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
MFAFIDO2CredentialEntryLocalServiceWrapper
public MFAFIDO2CredentialEntryLocalServiceWrapper() -
MFAFIDO2CredentialEntryLocalServiceWrapper
public MFAFIDO2CredentialEntryLocalServiceWrapper(MFAFIDO2CredentialEntryLocalService mfaFIDO2CredentialEntryLocalService)
-
-
Method Details
-
addMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry addMFAFIDO2CredentialEntry(long userId, String credentialKey, int credentialType, String publicKeyCOSE) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry addMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Adds the mfafido2 credential entry to the database. Also notifies the appropriate model listeners.Important: Inspect MFAFIDO2CredentialEntryLocalServiceImpl 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.
- Specified by:
addMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntry- the mfafido2 credential entry- Returns:
- the mfafido2 credential entry that was added
-
createMFAFIDO2CredentialEntry
Creates a new mfafido2 credential entry with the primary key. Does not add the mfafido2 credential entry to the database.- Specified by:
createMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntryId- the primary key for the new mfafido2 credential entry- Returns:
- the new mfafido2 credential entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceMFAFIDO2CredentialEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry deleteMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the mfafido2 credential entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect MFAFIDO2CredentialEntryLocalServiceImpl 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.
- Specified by:
deleteMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntryId- the primary key of the mfafido2 credential entry- Returns:
- the mfafido2 credential entry that was removed
- Throws:
PortalException- if a mfafido2 credential entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry deleteMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Deletes the mfafido2 credential entry from the database. Also notifies the appropriate model listeners.Important: Inspect MFAFIDO2CredentialEntryLocalServiceImpl 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.
- Specified by:
deleteMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntry- the mfafido2 credential entry- Returns:
- the mfafido2 credential entry that was removed
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceMFAFIDO2CredentialEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceMFAFIDO2CredentialEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceMFAFIDO2CredentialEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.- Specified by:
dynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.- Specified by:
dynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
dynamicQuery- 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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchMFAFIDO2CredentialEntry
- Specified by:
fetchMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService
-
fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey
public MFAFIDO2CredentialEntry fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey(long userId, String credentialKey) - Specified by:
fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKeyin interfaceMFAFIDO2CredentialEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceMFAFIDO2CredentialEntryLocalService
-
getMFAFIDO2CredentialEntries
Returns a range of all the mfafido2 credential entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.- Specified by:
getMFAFIDO2CredentialEntriesin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
start- the lower bound of the range of mfafido2 credential entriesend- the upper bound of the range of mfafido2 credential entries (not inclusive)- Returns:
- the range of mfafido2 credential entries
-
getMFAFIDO2CredentialEntriesByCredentialKey
public List<MFAFIDO2CredentialEntry> getMFAFIDO2CredentialEntriesByCredentialKey(String credentialKey) - Specified by:
getMFAFIDO2CredentialEntriesByCredentialKeyin interfaceMFAFIDO2CredentialEntryLocalService
-
getMFAFIDO2CredentialEntriesByUserId
- Specified by:
getMFAFIDO2CredentialEntriesByUserIdin interfaceMFAFIDO2CredentialEntryLocalService
-
getMFAFIDO2CredentialEntriesCount
public int getMFAFIDO2CredentialEntriesCount()Returns the number of mfafido2 credential entries.- Specified by:
getMFAFIDO2CredentialEntriesCountin interfaceMFAFIDO2CredentialEntryLocalService- Returns:
- the number of mfafido2 credential entries
-
getMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry getMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the mfafido2 credential entry with the primary key.- Specified by:
getMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntryId- the primary key of the mfafido2 credential entry- Returns:
- the mfafido2 credential entry
- Throws:
PortalException- if a mfafido2 credential entry with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceMFAFIDO2CredentialEntryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceMFAFIDO2CredentialEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
updateAttempts
public MFAFIDO2CredentialEntry updateAttempts(long userId, String credentialKey, long signatureCount) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAttemptsin interfaceMFAFIDO2CredentialEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateMFAFIDO2CredentialEntry
public MFAFIDO2CredentialEntry updateMFAFIDO2CredentialEntry(MFAFIDO2CredentialEntry mfaFIDO2CredentialEntry) Updates the mfafido2 credential entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect MFAFIDO2CredentialEntryLocalServiceImpl 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.
- Specified by:
updateMFAFIDO2CredentialEntryin interfaceMFAFIDO2CredentialEntryLocalService- Parameters:
mfaFIDO2CredentialEntry- the mfafido2 credential entry- Returns:
- the mfafido2 credential entry that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>
-
setWrappedService
public void setWrappedService(MFAFIDO2CredentialEntryLocalService mfaFIDO2CredentialEntryLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>
-