Class OAuthClientPRLocalMetadataServiceUtil

java.lang.Object
com.liferay.oauth.client.persistence.service.OAuthClientPRLocalMetadataServiceUtil

public class OAuthClientPRLocalMetadataServiceUtil extends Object
Provides the remote service utility for OAuthClientPRLocalMetadata. This utility wraps com.liferay.oauth.client.persistence.service.impl.OAuthClientPRLocalMetadataServiceImpl 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

    • OAuthClientPRLocalMetadataServiceUtil

      public OAuthClientPRLocalMetadataServiceUtil()
  • Method Details

    • addOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata addOAuthClientPRLocalMetadata(String metadataJSON) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata addOAuthClientPRLocalMetadata(String externalReferenceCode, String[] authorizationServers, String[] bearerMethodsSupported, boolean localWellKnownEnabled, String protectedResourceURI, String resourceName, String[] scopesSupported) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata deleteOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata deleteOAuthClientPRLocalMetadata(long companyId, String localWellKnownURI) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata fetchOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata fetchOAuthClientPRLocalMetadata(long companyId, String protectedResourceURI) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchOAuthClientPRLocalMetadataByExternalReferenceCode

      public static OAuthClientPRLocalMetadata fetchOAuthClientPRLocalMetadataByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCompanyOAuthClientPRLocalMetadata

      public static List<OAuthClientPRLocalMetadata> getCompanyOAuthClientPRLocalMetadata(long companyId)
    • getCompanyOAuthClientPRLocalMetadata

      public static List<OAuthClientPRLocalMetadata> getCompanyOAuthClientPRLocalMetadata(long companyId, int start, int end)
    • getOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata getOAuthClientPRLocalMetadata(long companyId, boolean localWellKnownEnabled, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientPRLocalMetadata> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata getOAuthClientPRLocalMetadata(long companyId, String protectedResourceURI) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuthClientPRLocalMetadataByExternalReferenceCode

      public static OAuthClientPRLocalMetadata getOAuthClientPRLocalMetadataByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOAuthClientPRLocalMetadataByLocalWellKnownURI

      public static OAuthClientPRLocalMetadata getOAuthClientPRLocalMetadataByLocalWellKnownURI(long companyId, String localWellKnownURI) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public static List<OAuthClientPRLocalMetadata> getUserOAuthClientPRLocalMetadata(long userId)
    • getUserOAuthClientPRLocalMetadata

      public static List<OAuthClientPRLocalMetadata> getUserOAuthClientPRLocalMetadata(long userId, int start, int end)
    • updateOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata updateOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId, String metadataJSON) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateOAuthClientPRLocalMetadata

      public static OAuthClientPRLocalMetadata updateOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId, String[] authorizationServers, String[] bearerMethodsSupported, boolean localWellKnownEnabled, String protectedResourceURI, String resourceName, String[] scopesSupported) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static OAuthClientPRLocalMetadataService getService()