Class MFAFIDO2CredentialEntryLocalServiceWrapper

java.lang.Object
com.liferay.multi.factor.authentication.fido2.credential.service.MFAFIDO2CredentialEntryLocalServiceWrapper
All Implemented Interfaces:
MFAFIDO2CredentialEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>

public class MFAFIDO2CredentialEntryLocalServiceWrapper extends Object implements MFAFIDO2CredentialEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>
Provides a wrapper for MFAFIDO2CredentialEntryLocalService.
See Also:
Generated:
  • 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:
      addMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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:
      addMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      Parameters:
      mfaFIDO2CredentialEntry - the mfafido2 credential entry
      Returns:
      the mfafido2 credential entry that was added
    • createMFAFIDO2CredentialEntry

      public MFAFIDO2CredentialEntry createMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId)
      Creates a new mfafido2 credential entry with the primary key. Does not add the mfafido2 credential entry to the database.
      Specified by:
      createMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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:
      createPersistedModel in interface MFAFIDO2CredentialEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.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:
      deleteMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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 found
      com.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:
      deleteMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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:
      deletePersistedModel in interface MFAFIDO2CredentialEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface MFAFIDO2CredentialEntryLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface MFAFIDO2CredentialEntryLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface MFAFIDO2CredentialEntryLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface MFAFIDO2CredentialEntryLocalService
      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 - 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.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.

      Specified by:
      dynamicQuery in interface MFAFIDO2CredentialEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - 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 - 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.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.

      Specified by:
      dynamicQuery in interface MFAFIDO2CredentialEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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:
      dynamicQueryCount in interface MFAFIDO2CredentialEntryLocalService
      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:
      dynamicQueryCount in interface MFAFIDO2CredentialEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchMFAFIDO2CredentialEntry

      public MFAFIDO2CredentialEntry fetchMFAFIDO2CredentialEntry(long mfaFIDO2CredentialEntryId)
      Specified by:
      fetchMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
    • fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey

      public MFAFIDO2CredentialEntry fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey(long userId, String credentialKey)
      Specified by:
      fetchMFAFIDO2CredentialEntryByUserIdAndCredentialKey in interface MFAFIDO2CredentialEntryLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface MFAFIDO2CredentialEntryLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface MFAFIDO2CredentialEntryLocalService
    • getMFAFIDO2CredentialEntries

      public List<MFAFIDO2CredentialEntry> getMFAFIDO2CredentialEntries(int start, int end)
      Returns a range of all the mfafido2 credential entries.

      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.multi.factor.authentication.fido2.credential.model.impl.MFAFIDO2CredentialEntryModelImpl.

      Specified by:
      getMFAFIDO2CredentialEntries in interface MFAFIDO2CredentialEntryLocalService
      Parameters:
      start - the lower bound of the range of mfafido2 credential entries
      end - 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:
      getMFAFIDO2CredentialEntriesByCredentialKey in interface MFAFIDO2CredentialEntryLocalService
    • getMFAFIDO2CredentialEntriesByUserId

      public List<MFAFIDO2CredentialEntry> getMFAFIDO2CredentialEntriesByUserId(long userId)
      Specified by:
      getMFAFIDO2CredentialEntriesByUserId in interface MFAFIDO2CredentialEntryLocalService
    • getMFAFIDO2CredentialEntriesCount

      public int getMFAFIDO2CredentialEntriesCount()
      Returns the number of mfafido2 credential entries.
      Specified by:
      getMFAFIDO2CredentialEntriesCount in interface MFAFIDO2CredentialEntryLocalService
      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:
      getMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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 found
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface MFAFIDO2CredentialEntryLocalService
      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:
      getPersistedModel in interface MFAFIDO2CredentialEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateAttempts

      public MFAFIDO2CredentialEntry updateAttempts(long userId, String credentialKey, long signatureCount) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAttempts in interface MFAFIDO2CredentialEntryLocalService
      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:
      updateMFAFIDO2CredentialEntry in interface MFAFIDO2CredentialEntryLocalService
      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:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public MFAFIDO2CredentialEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>
    • setWrappedService

      public void setWrappedService(MFAFIDO2CredentialEntryLocalService mfaFIDO2CredentialEntryLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<MFAFIDO2CredentialEntryLocalService>