com.liferay.portlet.imagegallery.service
Class IGImageServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.imagegallery.service.IGImageServiceWrapper
All Implemented Interfaces:
IGImageService

public class IGImageServiceWrapper
extends java.lang.Object
implements IGImageService

View Source

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

This class is a wrapper for IGImageService.

Author:
Brian Wing Shun Chan
See Also:
IGImageService
Generated:

Constructor Summary
IGImageServiceWrapper(IGImageService igImageService)
           
 
Method Summary
 IGImage addImage(long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext)
           
 void deleteImage(long imageId)
           
 void deleteImageByFolderIdAndNameWithExtension(long folderId, java.lang.String nameWithExtension)
           
 IGImage getImage(long imageId)
           
 IGImage getImageByFolderIdAndNameWithExtension(long folderId, java.lang.String nameWithExtension)
           
 IGImage getImageByLargeImageId(long largeImageId)
           
 IGImage getImageBySmallImageId(long smallImageId)
           
 java.util.List<IGImage> getImages(long folderId)
           
 IGImageService getWrappedIGImageService()
           
 IGImage updateImage(long imageId, long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGImageServiceWrapper

public IGImageServiceWrapper(IGImageService igImageService)
Method Detail

addImage

public IGImage addImage(long folderId,
                        java.lang.String name,
                        java.lang.String description,
                        java.io.File file,
                        java.lang.String contentType,
                        ServiceContext serviceContext)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
addImage in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteImage

public void deleteImage(long imageId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteImage in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteImageByFolderIdAndNameWithExtension

public void deleteImageByFolderIdAndNameWithExtension(long folderId,
                                                      java.lang.String nameWithExtension)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Specified by:
deleteImageByFolderIdAndNameWithExtension in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImage

public IGImage getImage(long imageId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
getImage in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImageByFolderIdAndNameWithExtension

public IGImage getImageByFolderIdAndNameWithExtension(long folderId,
                                                      java.lang.String nameWithExtension)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Specified by:
getImageByFolderIdAndNameWithExtension in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImageByLargeImageId

public IGImage getImageByLargeImageId(long largeImageId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
getImageByLargeImageId in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImageBySmallImageId

public IGImage getImageBySmallImageId(long smallImageId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
getImageBySmallImageId in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getImages

public java.util.List<IGImage> getImages(long folderId)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Specified by:
getImages in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateImage

public IGImage updateImage(long imageId,
                           long folderId,
                           java.lang.String name,
                           java.lang.String description,
                           java.io.File file,
                           java.lang.String contentType,
                           ServiceContext serviceContext)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
updateImage in interface IGImageService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedIGImageService

public IGImageService getWrappedIGImageService()