Interface OAuth2ApplicationService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
OAuth2ApplicationServiceWrapper

@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface OAuth2ApplicationService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for OAuth2Application. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addOAuth2Application

      OAuth2Application addOAuth2Application(List<GrantType> allowedGrantTypesList, String clientAuthenticationMethod, long clientCredentialUserId, String clientId, int clientProfile, String clientSecret, String description, List<String> featuresList, String homePageURL, long iconFileEntryId, String jwks, String name, String privacyPolicyURL, List<String> redirectURIsList, boolean rememberDevice, List<String> scopeAliasesList, boolean trustedApplication, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteOAuth2Application

      OAuth2Application deleteOAuth2Application(long oAuth2ApplicationId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchOAuth2Application

      @Transactional(propagation=SUPPORTS, readOnly=true) OAuth2Application fetchOAuth2Application(long companyId, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Application

      @Transactional(propagation=SUPPORTS, readOnly=true) OAuth2Application getOAuth2Application(long oAuth2ApplicationId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Application

      @Transactional(propagation=SUPPORTS, readOnly=true) OAuth2Application getOAuth2Application(long companyId, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Applications

      @Transactional(propagation=SUPPORTS, readOnly=true) List<OAuth2Application> getOAuth2Applications(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    • getOAuth2ApplicationsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getOAuth2ApplicationsCount(long companyId)
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateIcon

      OAuth2Application updateIcon(long oAuth2ApplicationId, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateOAuth2Application

      OAuth2Application updateOAuth2Application(long oAuth2ApplicationId, long oAuth2ApplicationScopeAliasesId, List<GrantType> allowedGrantTypesList, String clientAuthenticationMethod, long clientCredentialUserId, String clientId, int clientProfile, String clientSecret, String description, List<String> featuresList, String homePageURL, long iconFileEntryId, String jwks, String name, String privacyPolicyURL, List<String> redirectURIsList, boolean rememberDevice, boolean trustedApplication) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateScopeAliases

      OAuth2Application updateScopeAliases(long oAuth2ApplicationId, List<String> scopeAliasesList) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException