Class OAuthClientPRLocalMetadataServiceUtil
java.lang.Object
com.liferay.oauth.client.persistence.service.OAuthClientPRLocalMetadataServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuthClientPRLocalMetadataaddOAuthClientPRLocalMetadata(String metadataJSON) static OAuthClientPRLocalMetadataaddOAuthClientPRLocalMetadata(String externalReferenceCode, String[] authorizationServers, String[] bearerMethodsSupported, boolean localWellKnownEnabled, String protectedResourceURI, String resourceName, String[] scopesSupported) static OAuthClientPRLocalMetadatadeleteOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId) static OAuthClientPRLocalMetadatadeleteOAuthClientPRLocalMetadata(long companyId, String localWellKnownURI) static OAuthClientPRLocalMetadatafetchOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId) static OAuthClientPRLocalMetadatafetchOAuthClientPRLocalMetadata(long companyId, String protectedResourceURI) static OAuthClientPRLocalMetadatafetchOAuthClientPRLocalMetadataByExternalReferenceCode(String externalReferenceCode, long companyId) static List<OAuthClientPRLocalMetadata> getCompanyOAuthClientPRLocalMetadata(long companyId) static List<OAuthClientPRLocalMetadata> getCompanyOAuthClientPRLocalMetadata(long companyId, int start, int end) static OAuthClientPRLocalMetadatagetOAuthClientPRLocalMetadata(long companyId, boolean localWellKnownEnabled, com.liferay.portal.kernel.util.OrderByComparator<OAuthClientPRLocalMetadata> orderByComparator) static OAuthClientPRLocalMetadatagetOAuthClientPRLocalMetadata(long companyId, String protectedResourceURI) static OAuthClientPRLocalMetadatagetOAuthClientPRLocalMetadataByExternalReferenceCode(String externalReferenceCode, long companyId) static OAuthClientPRLocalMetadatagetOAuthClientPRLocalMetadataByLocalWellKnownURI(long companyId, String localWellKnownURI) static StringReturns the OSGi service identifier.static List<OAuthClientPRLocalMetadata> getUserOAuthClientPRLocalMetadata(long userId) static List<OAuthClientPRLocalMetadata> getUserOAuthClientPRLocalMetadata(long userId, int start, int end) static OAuthClientPRLocalMetadataupdateOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId, String metadataJSON) static OAuthClientPRLocalMetadataupdateOAuthClientPRLocalMetadata(long oAuthClientPRLocalMetadataId, String[] authorizationServers, String[] bearerMethodsSupported, boolean localWellKnownEnabled, String protectedResourceURI, String resourceName, String[] scopesSupported)
-
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
-
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
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getUserOAuthClientPRLocalMetadata
-
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
-