com.liferay.portlet.imagegallery.service
Class IGImageLocalServiceWrapper
java.lang.Object
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:
|
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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)
|
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,
com.liferay.portal.kernel.util.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 |
IGImageLocalServiceWrapper
public IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService)
addIGImage
public IGImage addIGImage(IGImage igImage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createIGImage
public IGImage createIGImage(long imageId)
- Specified by:
createIGImage in interface IGImageLocalService
deleteIGImage
public void deleteIGImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteIGImage
public void deleteIGImage(IGImage igImage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getIGImage
public IGImage getIGImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getIGImages
public java.util.List<IGImage> getIGImages(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getIGImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getIGImagesCount
public int getIGImagesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getIGImagesCount in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateIGImage
public IGImage updateIGImage(IGImage igImage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateIGImage
public IGImage updateIGImage(IGImage igImage,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateIGImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addImageResources
public void addImageResources(IGImage image,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImageResources in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addImageResources
public void addImageResources(IGImage image,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImageResources in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addImageResources
public void addImageResources(long imageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImageResources in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addImageResources
public void addImageResources(long imageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addImageResources in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteImage
public void deleteImage(IGImage image)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteImage
public void deleteImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteImages
public void deleteImages(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFoldersImagesCount
public int getFoldersImagesCount(long groupId,
java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getFoldersImagesCount in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupImages
public java.util.List<IGImage> getGroupImages(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupImages
public java.util.List<IGImage> getGroupImages(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupImagesCount
public int getGroupImagesCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupImagesCount in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupImagesCount
public int getGroupImagesCount(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupImagesCount in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImage
public IGImage getImage(long imageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageByCustom1ImageId
public IGImage getImageByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageByCustom1ImageId in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageByCustom2ImageId
public IGImage getImageByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageByCustom2ImageId in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageByFolderIdAndNameWithExtension
public IGImage getImageByFolderIdAndNameWithExtension(long groupId,
long folderId,
java.lang.String nameWithExtension)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageByFolderIdAndNameWithExtension in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageByLargeImageId
public IGImage getImageByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageByLargeImageId in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageBySmallImageId
public IGImage getImageBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageBySmallImageId in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImageByUuidAndGroupId
public IGImage getImageByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImageByUuidAndGroupId in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getImages
public java.util.List<IGImage> getImages(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImages
public java.util.List<IGImage> getImages(long groupId,
long folderId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImages
public java.util.List<IGImage> getImages(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getImagesCount
public int getImagesCount(long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getImagesCount in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getNoAssetImages
public java.util.List<IGImage> getNoAssetImages()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getNoAssetImages in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAsset
public void updateAsset(long userId,
IGImage image,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
java.lang.String contentType)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateAsset in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateSmallImage
public void updateSmallImage(long smallImageId,
long largeImageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateSmallImage in interface IGImageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedIGImageLocalService
public IGImageLocalService getWrappedIGImageLocalService()