Class AppServiceUtil

java.lang.Object
com.liferay.marketplace.service.AppServiceUtil

public class AppServiceUtil extends Object
Provides the remote service utility for App. This utility wraps com.liferay.marketplace.service.impl.AppServiceImpl 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

    • AppServiceUtil

      public AppServiceUtil()
  • Method Details

    • deleteApp

      public static App deleteApp(long appId) 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
    • installApp

      public static void installApp(long remoteAppId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • uninstallApp

      public static void uninstallApp(long remoteAppId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateApp

      public static App updateApp(File file) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static AppService getService()