public class OAuthApplicationServiceUtil
extends java.lang.Object
com.liferay.oauth.service.impl.OAuthApplicationServiceImpl 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.OAuthApplicationService| Constructor and Description |
|---|
OAuthApplicationServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static OAuthApplication |
addOAuthApplication(java.lang.String name,
java.lang.String description,
int accessLevel,
boolean shareableAccessToken,
java.lang.String callbackURI,
java.lang.String websiteURL,
ServiceContext serviceContext) |
static void |
deleteLogo(long oAuthApplicationId) |
static OAuthApplication |
deleteOAuthApplication(long oAuthApplicationId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static OAuthApplicationService |
getService() |
static OAuthApplication |
updateLogo(long oAuthApplicationId,
java.io.InputStream inputStream) |
static OAuthApplication |
updateOAuthApplication(long oAuthApplicationId,
java.lang.String name,
java.lang.String description,
boolean shareableAccessToken,
java.lang.String callbackURI,
java.lang.String websiteURL,
ServiceContext serviceContext) |
public static OAuthApplication addOAuthApplication(java.lang.String name, java.lang.String description, int accessLevel, boolean shareableAccessToken, java.lang.String callbackURI, java.lang.String websiteURL, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteLogo(long oAuthApplicationId)
throws PortalException
PortalExceptionpublic static OAuthApplication deleteOAuthApplication(long oAuthApplicationId) throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static OAuthApplication updateLogo(long oAuthApplicationId, java.io.InputStream inputStream) throws PortalException
PortalExceptionpublic static OAuthApplication updateOAuthApplication(long oAuthApplicationId, java.lang.String name, java.lang.String description, boolean shareableAccessToken, java.lang.String callbackURI, java.lang.String websiteURL, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static OAuthApplicationService getService()