@ProviderType
public class AppServiceUtil
extends java.lang.Object
com.liferay.marketplace.service.impl.AppServiceImpl
and is the
primary 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.AppService
,
com.liferay.marketplace.service.base.AppServiceBaseImpl
,
com.liferay.marketplace.service.impl.AppServiceImpl
Constructor and Description |
---|
AppServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static App |
deleteApp(long appId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AppService |
getService() |
static void |
installApp(long remoteAppId) |
static void |
uninstallApp(long remoteAppId) |
static App |
updateApp(java.io.File file) |
public static App deleteApp(long appId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static void installApp(long remoteAppId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void uninstallApp(long remoteAppId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static App updateApp(java.io.File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static AppService getService()