Class OAuth2ApplicationScopeAliasesLocalServiceWrapper

java.lang.Object
com.liferay.oauth2.provider.service.OAuth2ApplicationScopeAliasesLocalServiceWrapper
All Implemented Interfaces:
OAuth2ApplicationScopeAliasesLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<OAuth2ApplicationScopeAliasesLocalService>

public class OAuth2ApplicationScopeAliasesLocalServiceWrapper extends Object implements OAuth2ApplicationScopeAliasesLocalService, com.liferay.portal.kernel.service.ServiceWrapper<OAuth2ApplicationScopeAliasesLocalService>
See Also:
Generated:
  • Constructor Details

    • OAuth2ApplicationScopeAliasesLocalServiceWrapper

      public OAuth2ApplicationScopeAliasesLocalServiceWrapper()
    • OAuth2ApplicationScopeAliasesLocalServiceWrapper

      public OAuth2ApplicationScopeAliasesLocalServiceWrapper(OAuth2ApplicationScopeAliasesLocalService oAuth2ApplicationScopeAliasesLocalService)
  • Method Details

    • addOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, Consumer<OAuth2ScopeBuilder> builderConsumer) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, List<String> scopeAliasesList) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      Adds the o auth2 application scope aliases to the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
      addOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliases - the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases that was added
    • createOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases createOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId)
      Creates a new o auth2 application scope aliases with the primary key. Does not add the o auth2 application scope aliases to the database.
      Specified by:
      createOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key for the new o auth2 application scope aliases
      Returns:
      the new o auth2 application scope aliases
    • createPersistedModel

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

      public OAuth2ApplicationScopeAliases deleteOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the o auth2 application scope aliases with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
      deleteOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases that was removed
    • deleteOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases deleteOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      Deletes the o auth2 application scope aliases from the database. Also notifies the appropriate model listeners.

      Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
      deleteOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliases - the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases 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 OAuth2ApplicationScopeAliasesLocalService
      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 OAuth2ApplicationScopeAliasesLocalService
      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 OAuth2ApplicationScopeAliasesLocalService
      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 OAuth2ApplicationScopeAliasesLocalService
    • 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 OAuth2ApplicationScopeAliasesLocalService
      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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Specified by:
      dynamicQuery in interface OAuth2ApplicationScopeAliasesLocalService
      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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

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

      public OAuth2ApplicationScopeAliases fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId)
      Specified by:
      fetchOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
    • fetchOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationId, List<String> scopeAliasesList)
      Specified by:
      fetchOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
    • getActionableDynamicQuery

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

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

      public OAuth2ApplicationScopeAliases getOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the o auth2 application scope aliases with the primary key.
      Specified by:
      getOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliasesId - the primary key of the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases
    • getOAuth2ApplicationScopeAliaseses

      public List<OAuth2ApplicationScopeAliases> getOAuth2ApplicationScopeAliaseses(int start, int end)
      Returns a range of all the o auth2 application scope aliaseses.

      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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.

      Specified by:
      getOAuth2ApplicationScopeAliaseses in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      start - the lower bound of the range of o auth2 application scope aliaseses
      end - the upper bound of the range of o auth2 application scope aliaseses (not inclusive)
      Returns:
      the range of o auth2 application scope aliaseses
    • getOAuth2ApplicationScopeAliaseses

      public List<OAuth2ApplicationScopeAliases> getOAuth2ApplicationScopeAliaseses(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator)
      Specified by:
      getOAuth2ApplicationScopeAliaseses in interface OAuth2ApplicationScopeAliasesLocalService
    • getOAuth2ApplicationScopeAliasesesCount

      public int getOAuth2ApplicationScopeAliasesesCount()
      Returns the number of o auth2 application scope aliaseses.
      Specified by:
      getOAuth2ApplicationScopeAliasesesCount in interface OAuth2ApplicationScopeAliasesLocalService
      Returns:
      the number of o auth2 application scope aliaseses
    • getOSGiServiceIdentifier

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

      public List<String> getScopeAliasesList(long oAuth2ApplicationScopeAliasesId)
      Specified by:
      getScopeAliasesList in interface OAuth2ApplicationScopeAliasesLocalService
    • updateOAuth2ApplicationScopeAliases

      public OAuth2ApplicationScopeAliases updateOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases)
      Updates the o auth2 application scope aliases in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
      updateOAuth2ApplicationScopeAliases in interface OAuth2ApplicationScopeAliasesLocalService
      Parameters:
      oAuth2ApplicationScopeAliases - the o auth2 application scope aliases
      Returns:
      the o auth2 application scope aliases 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 OAuth2ApplicationScopeAliasesLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<OAuth2ApplicationScopeAliasesLocalService>
    • setWrappedService

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