Class ImageServiceUtil

Object
com.liferay.portal.kernel.service.ImageServiceUtil

public class ImageServiceUtil extends Object
Provides the remote service utility for Image. This utility wraps com.liferay.portal.service.impl.ImageServiceImpl 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.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Constructor Details

    • ImageServiceUtil

      public ImageServiceUtil()
  • Method Details

    • getImage

      public static Image getImage(long imageId) throws PortalException
      Throws:
      PortalException
    • getOSGiServiceIdentifier

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

      public static ImageService getService()
    • setService

      public static void setService(ImageService service)