com.liferay.portlet.imagegallery.service
Class IGImageServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.imagegallery.service.IGImageServiceUtil

public class IGImageServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.imagegallery.service.IGImageService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.imagegallery.service.IGImageServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
IGImageService, IGImageServiceFactory

Constructor Summary
IGImageServiceUtil()
           
 
Method Summary
static IGImage addImage(long folderId, java.lang.String description, java.io.File file, java.lang.String contentType, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static IGImage addImage(long folderId, java.lang.String description, java.io.File file, java.lang.String contentType, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void deleteImage(long imageId)
           
static IGImage getImage(long imageId)
           
static IGImage updateImage(long imageId, long folderId, java.lang.String description, java.io.File file, java.lang.String contentType, java.lang.String[] tagsEntries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGImageServiceUtil

public IGImageServiceUtil()
Method Detail

addImage

public static IGImage addImage(long folderId,
                               java.lang.String description,
                               java.io.File file,
                               java.lang.String contentType,
                               java.lang.String[] tagsEntries,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

addImage

public static IGImage addImage(long folderId,
                               java.lang.String description,
                               java.io.File file,
                               java.lang.String contentType,
                               java.lang.String[] tagsEntries,
                               java.lang.String[] communityPermissions,
                               java.lang.String[] guestPermissions)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

deleteImage

public static void deleteImage(long imageId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

getImage

public static IGImage getImage(long imageId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException,
                               java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateImage

public static IGImage updateImage(long imageId,
                                  long folderId,
                                  java.lang.String description,
                                  java.io.File file,
                                  java.lang.String contentType,
                                  java.lang.String[] tagsEntries)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException,
                                  java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException