Class OAuth2ApplicationServiceUtil

java.lang.Object
com.liferay.oauth2.provider.service.OAuth2ApplicationServiceUtil

public class OAuth2ApplicationServiceUtil extends Object
Provides the remote service utility for OAuth2Application. This utility wraps com.liferay.oauth2.provider.service.impl.OAuth2ApplicationServiceImpl and is an access point for service operations in application layer code running on a remote server. 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:
  • Constructor Details

    • OAuth2ApplicationServiceUtil

      public OAuth2ApplicationServiceUtil()
  • Method Details

    • addOAuth2Application

      public static 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

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

      public static OAuth2Application fetchOAuth2Application(long companyId, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Application

      public static OAuth2Application getOAuth2Application(long oAuth2ApplicationId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Application

      public static OAuth2Application getOAuth2Application(long companyId, String clientId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuth2Applications

      public static List<OAuth2Application> getOAuth2Applications(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2Application> orderByComparator)
    • getOAuth2ApplicationsCount

      public static int getOAuth2ApplicationsCount(long companyId)
    • getOSGiServiceIdentifier

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

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

      public static 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

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

      public static OAuth2ApplicationService getService()