com.liferay.portlet.imagegallery.service
Class IGImageLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.imagegallery.service.IGImageLocalServiceWrapper
All Implemented Interfaces:
IGImageLocalService

public class IGImageLocalServiceWrapper
extends java.lang.Object
implements IGImageLocalService

View Source

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

This class is a wrapper for IGImageLocalService.

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

Constructor Summary
IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService)
           
 
Method Summary
 IGImage addIGImage(IGImage igImage)
           
 IGImage addImage(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext)
           
 IGImage addImage(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String description, java.lang.String fileName, byte[] bytes, java.lang.String contentType, ServiceContext serviceContext)
           
 IGImage addImage(java.lang.String uuid, long userId, long groupId, long folderId, java.lang.String name, java.lang.String description, java.lang.String fileName, java.io.InputStream is, java.lang.String contentType, ServiceContext serviceContext)
           
 void addImageResources(IGImage image, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addImageResources(IGImage image, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addImageResources(long imageId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addImageResources(long imageId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 IGImage createIGImage(long imageId)
           
 void deleteIGImage(IGImage igImage)
           
 void deleteIGImage(long imageId)
           
 void deleteImage(IGImage image)
           
 void deleteImage(long imageId)
           
 void deleteImages(long groupId, long folderId)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 int getFoldersImagesCount(long groupId, java.util.List<java.lang.Long> folderIds)
           
 java.util.List<IGImage> getGroupImages(long groupId, int start, int end)
           
 java.util.List<IGImage> getGroupImages(long groupId, long userId, int start, int end)
           
 int getGroupImagesCount(long groupId)
           
 int getGroupImagesCount(long groupId, long userId)
           
 IGImage getIGImage(long imageId)
           
 IGImage getIGImageByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<IGImage> getIGImages(int start, int end)
           
 int getIGImagesCount()
           
 IGImage getImage(long imageId)
           
 IGImage getImageByCustom1ImageId(long custom1ImageId)
           
 IGImage getImageByCustom2ImageId(long custom2ImageId)
           
 IGImage getImageByFolderIdAndNameWithExtension(long groupId, long folderId, java.lang.String nameWithExtension)
           
 IGImage getImageByLargeImageId(long largeImageId)
           
 IGImage getImageBySmallImageId(long smallImageId)
           
 IGImage getImageByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<IGImage> getImages(long groupId, long folderId)
           
 java.util.List<IGImage> getImages(long groupId, long folderId, int start, int end)
           
 java.util.List<IGImage> getImages(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 int getImagesCount(long groupId, long folderId)
           
 java.util.List<IGImage> getNoAssetImages()
           
 IGImageLocalService getWrappedIGImageLocalService()
           
 void updateAsset(long userId, IGImage image, long[] assetCategoryIds, java.lang.String[] assetTagNames, java.lang.String contentType)
           
 IGImage updateIGImage(IGImage igImage)
           
 IGImage updateIGImage(IGImage igImage, boolean merge)
           
 IGImage updateImage(long userId, long imageId, long groupId, long folderId, java.lang.String name, java.lang.String description, byte[] bytes, java.lang.String contentType, ServiceContext serviceContext)
           
 IGImage updateImage(long userId, long imageId, long groupId, long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext)
           
 IGImage updateImage(long userId, long imageId, long groupId, long folderId, java.lang.String name, java.lang.String description, java.io.InputStream is, java.lang.String contentType, ServiceContext serviceContext)
           
 void updateSmallImage(long smallImageId, long largeImageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGImageLocalServiceWrapper

public IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService)
Method Detail

addIGImage

public IGImage addIGImage(IGImage igImage)
                   throws SystemException
Specified by:
addIGImage in interface IGImageLocalService
Throws:
SystemException

createIGImage

public IGImage createIGImage(long imageId)
Specified by:
createIGImage in interface IGImageLocalService

deleteIGImage

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

deleteIGImage

public void deleteIGImage(IGImage igImage)
                   throws SystemException
Specified by:
deleteIGImage in interface IGImageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface IGImageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface IGImageLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface IGImageLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface IGImageLocalService
Throws:
SystemException

getIGImage

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

getIGImageByUuidAndGroupId

public IGImage getIGImageByUuidAndGroupId(java.lang.String uuid,
                                          long groupId)
                                   throws PortalException,
                                          SystemException
Specified by:
getIGImageByUuidAndGroupId in interface IGImageLocalService
Throws:
PortalException
SystemException

getIGImages

public java.util.List<IGImage> getIGImages(int start,
                                           int end)
                                    throws SystemException
Specified by:
getIGImages in interface IGImageLocalService
Throws:
SystemException

getIGImagesCount

public int getIGImagesCount()
                     throws SystemException
Specified by:
getIGImagesCount in interface IGImageLocalService
Throws:
SystemException

updateIGImage

public IGImage updateIGImage(IGImage igImage)
                      throws SystemException
Specified by:
updateIGImage in interface IGImageLocalService
Throws:
SystemException

updateIGImage

public IGImage updateIGImage(IGImage igImage,
                             boolean merge)
                      throws SystemException
Specified by:
updateIGImage in interface IGImageLocalService
Throws:
SystemException

addImage

public IGImage addImage(java.lang.String uuid,
                        long userId,
                        long groupId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String description,
                        java.io.File file,
                        java.lang.String contentType,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addImage in interface IGImageLocalService
Throws:
PortalException
SystemException

addImage

public IGImage addImage(java.lang.String uuid,
                        long userId,
                        long groupId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.String fileName,
                        byte[] bytes,
                        java.lang.String contentType,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addImage in interface IGImageLocalService
Throws:
PortalException
SystemException

addImage

public IGImage addImage(java.lang.String uuid,
                        long userId,
                        long groupId,
                        long folderId,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.String fileName,
                        java.io.InputStream is,
                        java.lang.String contentType,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addImage in interface IGImageLocalService
Throws:
PortalException
SystemException

addImageResources

public void addImageResources(IGImage image,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addImageResources in interface IGImageLocalService
Throws:
PortalException
SystemException

addImageResources

public void addImageResources(IGImage image,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addImageResources in interface IGImageLocalService
Throws:
PortalException
SystemException

addImageResources

public void addImageResources(long imageId,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addImageResources in interface IGImageLocalService
Throws:
PortalException
SystemException

addImageResources

public void addImageResources(long imageId,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addImageResources in interface IGImageLocalService
Throws:
PortalException
SystemException

deleteImage

public void deleteImage(IGImage image)
                 throws PortalException,
                        SystemException
Specified by:
deleteImage in interface IGImageLocalService
Throws:
PortalException
SystemException

deleteImage

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

deleteImages

public void deleteImages(long groupId,
                         long folderId)
                  throws PortalException,
                         SystemException
Specified by:
deleteImages in interface IGImageLocalService
Throws:
PortalException
SystemException

getFoldersImagesCount

public int getFoldersImagesCount(long groupId,
                                 java.util.List<java.lang.Long> folderIds)
                          throws SystemException
Specified by:
getFoldersImagesCount in interface IGImageLocalService
Throws:
SystemException

getGroupImages

public java.util.List<IGImage> getGroupImages(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
getGroupImages in interface IGImageLocalService
Throws:
SystemException

getGroupImages

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

getGroupImagesCount

public int getGroupImagesCount(long groupId)
                        throws SystemException
Specified by:
getGroupImagesCount in interface IGImageLocalService
Throws:
SystemException

getGroupImagesCount

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

getImage

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

getImageByCustom1ImageId

public IGImage getImageByCustom1ImageId(long custom1ImageId)
                                 throws PortalException,
                                        SystemException
Specified by:
getImageByCustom1ImageId in interface IGImageLocalService
Throws:
PortalException
SystemException

getImageByCustom2ImageId

public IGImage getImageByCustom2ImageId(long custom2ImageId)
                                 throws PortalException,
                                        SystemException
Specified by:
getImageByCustom2ImageId in interface IGImageLocalService
Throws:
PortalException
SystemException

getImageByFolderIdAndNameWithExtension

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

getImageByLargeImageId

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

getImageBySmallImageId

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

getImageByUuidAndGroupId

public IGImage getImageByUuidAndGroupId(java.lang.String uuid,
                                        long groupId)
                                 throws PortalException,
                                        SystemException
Specified by:
getImageByUuidAndGroupId in interface IGImageLocalService
Throws:
PortalException
SystemException

getImages

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

getImages

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

getImages

public java.util.List<IGImage> getImages(long groupId,
                                         long folderId,
                                         int start,
                                         int end,
                                         OrderByComparator obc)
                                  throws SystemException
Specified by:
getImages in interface IGImageLocalService
Throws:
SystemException

getImagesCount

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

getNoAssetImages

public java.util.List<IGImage> getNoAssetImages()
                                         throws SystemException
Specified by:
getNoAssetImages in interface IGImageLocalService
Throws:
SystemException

updateAsset

public void updateAsset(long userId,
                        IGImage image,
                        long[] assetCategoryIds,
                        java.lang.String[] assetTagNames,
                        java.lang.String contentType)
                 throws PortalException,
                        SystemException
Specified by:
updateAsset in interface IGImageLocalService
Throws:
PortalException
SystemException

updateImage

public IGImage updateImage(long userId,
                           long imageId,
                           long groupId,
                           long folderId,
                           java.lang.String name,
                           java.lang.String description,
                           byte[] bytes,
                           java.lang.String contentType,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateImage in interface IGImageLocalService
Throws:
PortalException
SystemException

updateImage

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

updateImage

public IGImage updateImage(long userId,
                           long imageId,
                           long groupId,
                           long folderId,
                           java.lang.String name,
                           java.lang.String description,
                           java.io.InputStream is,
                           java.lang.String contentType,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateImage in interface IGImageLocalService
Throws:
PortalException
SystemException

updateSmallImage

public void updateSmallImage(long smallImageId,
                             long largeImageId)
                      throws PortalException,
                             SystemException
Specified by:
updateSmallImage in interface IGImageLocalService
Throws:
PortalException
SystemException

getWrappedIGImageLocalService

public IGImageLocalService getWrappedIGImageLocalService()