Liferay 6.0.5

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 Object
implements IGImageService

This class is a wrapper for IGImageService.

See Also:
IGImageService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
IGImageServiceWrapper(IGImageService igImageService)
           
 
Method Summary
 IGImage addImage(long groupId, long folderId, String name, String description, File file, String contentType, ServiceContext serviceContext)
           
 void deleteImage(long imageId)
           
 void deleteImageByFolderIdAndNameWithExtension(long groupId, long folderId, String nameWithExtension)
           
 List<IGImage> getGroupImages(long groupId, long userId, int start, int end)
           
 int getGroupImagesCount(long groupId, long userId)
           
 IGImage getImage(long imageId)
           
 IGImage getImageByFolderIdAndNameWithExtension(long groupId, long folderId, String nameWithExtension)
           
 IGImage getImageByLargeImageId(long largeImageId)
           
 IGImage getImageBySmallImageId(long smallImageId)
           
 List<IGImage> getImages(long groupId, long folderId)
           
 List<IGImage> getImages(long groupId, long folderId, int start, int end)
           
 int getImagesCount(long groupId, long folderId)
           
 IGImageService getWrappedIGImageService()
           
 IGImage updateImage(long imageId, long groupId, long folderId, String name, String description, File file, 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 groupId,
                        long folderId,
                        String name,
                        String description,
                        File file,
                        String contentType,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addImage in interface IGImageService
Throws:
PortalException
SystemException

deleteImage

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

deleteImageByFolderIdAndNameWithExtension

public void deleteImageByFolderIdAndNameWithExtension(long groupId,
                                                      long folderId,
                                                      String nameWithExtension)
                                               throws PortalException,
                                                      SystemException
Specified by:
deleteImageByFolderIdAndNameWithExtension in interface IGImageService
Throws:
PortalException
SystemException

getGroupImages

public List<IGImage> getGroupImages(long groupId,
                                    long userId,
                                    int start,
                                    int end)
                             throws SystemException
Specified by:
getGroupImages in interface IGImageService
Throws:
SystemException

getGroupImagesCount

public int getGroupImagesCount(long groupId,
                               long userId)
                        throws SystemException
Specified by:
getGroupImagesCount in interface IGImageService
Throws:
SystemException

getImage

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

getImageByFolderIdAndNameWithExtension

public IGImage getImageByFolderIdAndNameWithExtension(long groupId,
                                                      long folderId,
                                                      String nameWithExtension)
                                               throws PortalException,
                                                      SystemException
Specified by:
getImageByFolderIdAndNameWithExtension in interface IGImageService
Throws:
PortalException
SystemException

getImageByLargeImageId

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

getImageBySmallImageId

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

getImages

public List<IGImage> getImages(long groupId,
                               long folderId)
                        throws SystemException
Specified by:
getImages in interface IGImageService
Throws:
SystemException

getImages

public List<IGImage> getImages(long groupId,
                               long folderId,
                               int start,
                               int end)
                        throws SystemException
Specified by:
getImages in interface IGImageService
Throws:
SystemException

getImagesCount

public int getImagesCount(long groupId,
                          long folderId)
                   throws SystemException
Specified by:
getImagesCount in interface IGImageService
Throws:
SystemException

updateImage

public IGImage updateImage(long imageId,
                           long groupId,
                           long folderId,
                           String name,
                           String description,
                           File file,
                           String contentType,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateImage in interface IGImageService
Throws:
PortalException
SystemException

getWrappedIGImageService

public IGImageService getWrappedIGImageService()

Liferay 6.0.5