Class OAuthClientEntryLocalServiceWrapper

java.lang.Object
com.liferay.oauth.client.persistence.service.OAuthClientEntryLocalServiceWrapper
All Implemented Interfaces:
OAuthClientEntryLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>

public class OAuthClientEntryLocalServiceWrapper extends Object implements OAuthClientEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>
Provides a wrapper for OAuthClientEntryLocalService.
See Also:
Generated:
  • Constructor Details

    • OAuthClientEntryLocalServiceWrapper

      public OAuthClientEntryLocalServiceWrapper()
    • OAuthClientEntryLocalServiceWrapper

      public OAuthClientEntryLocalServiceWrapper(OAuthClientEntryLocalService oAuthClientEntryLocalService)
  • Method Details

    • addOAuthClientEntry

      public OAuthClientEntry addOAuthClientEntry(long userId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOAuthClientEntry in interface OAuthClientEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOAuthClientEntry

      public OAuthClientEntry addOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
      Adds the o auth client entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuthClientEntryLocalServiceImpl 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:
      addOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntry - the o auth client entry
      Returns:
      the o auth client entry that was added
    • createOAuthClientEntry

      public OAuthClientEntry createOAuthClientEntry(long oAuthClientEntryId)
      Creates a new o auth client entry with the primary key. Does not add the o auth client entry to the database.
      Specified by:
      createOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntryId - the primary key for the new o auth client entry
      Returns:
      the new o auth client entry
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface OAuthClientEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • deleteOAuthClientEntry

      public OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the o auth client entry with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuthClientEntryLocalServiceImpl 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:
      deleteOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntryId - the primary key of the o auth client entry
      Returns:
      the o auth client entry that was removed
    • deleteOAuthClientEntry

      public OAuthClientEntry deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteOAuthClientEntry in interface OAuthClientEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteOAuthClientEntry

      public OAuthClientEntry deleteOAuthClientEntry(OAuthClientEntry oAuthClientEntry) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the o auth client entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuthClientEntryLocalServiceImpl 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:
      deleteOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntry - the o auth client entry
      Returns:
      the o auth client 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 OAuthClientEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface OAuthClientEntryLocalService
      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 OAuthClientEntryLocalService
      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 OAuthClientEntryLocalService
    • 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 OAuthClientEntryLocalService
      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Specified by:
      dynamicQuery in interface OAuthClientEntryLocalService
      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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Specified by:
      dynamicQuery in interface OAuthClientEntryLocalService
      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 OAuthClientEntryLocalService
      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 OAuthClientEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchOAuthClientEntry

      public OAuthClientEntry fetchOAuthClientEntry(long oAuthClientEntryId)
      Specified by:
      fetchOAuthClientEntry in interface OAuthClientEntryLocalService
    • fetchOAuthClientEntry

      public OAuthClientEntry fetchOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId)
      Specified by:
      fetchOAuthClientEntry in interface OAuthClientEntryLocalService
    • getActionableDynamicQuery

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

      public List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix)
      Specified by:
      getAuthServerWellKnownURISuffixOAuthClientEntries in interface OAuthClientEntryLocalService
    • getCompanyOAuthClientEntries

      public List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId)
      Specified by:
      getCompanyOAuthClientEntries in interface OAuthClientEntryLocalService
    • getIndexableActionableDynamicQuery

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

      public List<OAuthClientEntry> getOAuthClientEntries(int start, int end)
      Returns a range of all the o auth client 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.

      Specified by:
      getOAuthClientEntries in interface OAuthClientEntryLocalService
      Parameters:
      start - the lower bound of the range of o auth client entries
      end - the upper bound of the range of o auth client entries (not inclusive)
      Returns:
      the range of o auth client entries
    • getOAuthClientEntriesCount

      public int getOAuthClientEntriesCount()
      Returns the number of o auth client entries.
      Specified by:
      getOAuthClientEntriesCount in interface OAuthClientEntryLocalService
      Returns:
      the number of o auth client entries
    • getOAuthClientEntry

      public OAuthClientEntry getOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the o auth client entry with the primary key.
      Specified by:
      getOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntryId - the primary key of the o auth client entry
      Returns:
      the o auth client entry
    • getOAuthClientEntry

      public OAuthClientEntry getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getOAuthClientEntry in interface OAuthClientEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public List<OAuthClientEntry> getUserOAuthClientEntries(long userId)
      Specified by:
      getUserOAuthClientEntries in interface OAuthClientEntryLocalService
    • updateOAuthClientEntry

      public OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String infoJSON, long metadataCacheTime, String oidcUserInfoMapperJSON, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateOAuthClientEntry in interface OAuthClientEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateOAuthClientEntry

      public OAuthClientEntry updateOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
      Updates the o auth client entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect OAuthClientEntryLocalServiceImpl 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:
      updateOAuthClientEntry in interface OAuthClientEntryLocalService
      Parameters:
      oAuthClientEntry - the o auth client entry
      Returns:
      the o auth client 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 OAuthClientEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>
    • setWrappedService

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