com.liferay.portlet.imagegallery.service
Interface IGImageLocalService
public interface IGImageLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.imagegallery.service.impl.IGImageLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
IGImageLocalServiceUtil
Method Summary |
IGImage |
addIGImage(IGImage igImage)
|
IGImage |
addImage(long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
IGImage |
addImage(long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
IGImage |
addImage(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
IGImage |
addImage(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addImageResources(IGFolder folder,
IGImage image,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addImageResources(IGFolder folder,
IGImage image,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addImageResources(long folderId,
long imageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addImageResources(long folderId,
long imageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteIGImage(IGImage igImage)
|
void |
deleteIGImage(long imageId)
|
void |
deleteImage(IGImage image)
|
void |
deleteImage(long imageId)
|
void |
deleteImages(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(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 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 folderId)
|
java.util.List<IGImage> |
getImages(long folderId,
int start,
int end)
|
java.util.List<IGImage> |
getImages(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getImagesCount(long folderId)
|
java.util.List<IGImage> |
getNoAssetImages()
|
IGImage |
updateIGImage(IGImage igImage)
|
IGImage |
updateImage(long userId,
long imageId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries)
|
void |
updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsEntries)
|
addIGImage
IGImage addIGImage(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteIGImage
void deleteIGImage(long imageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteIGImage
void deleteIGImage(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIGImage
IGImage getIGImage(long imageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getIGImages
java.util.List<IGImage> getIGImages(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIGImagesCount
int getIGImagesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateIGImage
IGImage updateIGImage(IGImage igImage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addImage
IGImage addImage(long userId,
long folderId,
java.lang.String name,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
IGImage addImage(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
IGImage addImage(long userId,
long folderId,
java.lang.String name,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
IGImage addImage(java.lang.String uuid,
long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImageResources
void addImageResources(long folderId,
long imageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImageResources
void addImageResources(IGFolder folder,
IGImage image,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImageResources
void addImageResources(long folderId,
long imageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImageResources
void addImageResources(IGFolder folder,
IGImage image,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImage
void deleteImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImage
void deleteImage(IGImage image)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImages
void deleteImages(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFoldersImagesCount
int getFoldersImagesCount(java.util.List<java.lang.Long> folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
java.util.List<IGImage> getGroupImages(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
java.util.List<IGImage> getGroupImages(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
int getGroupImagesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
int getGroupImagesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImage
IGImage getImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByCustom1ImageId
IGImage getImageByCustom1ImageId(long custom1ImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByCustom2ImageId
IGImage getImageByCustom2ImageId(long custom2ImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByFolderIdAndNameWithExtension
IGImage getImageByFolderIdAndNameWithExtension(long folderId,
java.lang.String nameWithExtension)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByLargeImageId
IGImage getImageByLargeImageId(long largeImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageBySmallImageId
IGImage getImageBySmallImageId(long smallImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByUuidAndGroupId
IGImage getImageByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImages
java.util.List<IGImage> getImages(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
java.util.List<IGImage> getImages(long folderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
java.util.List<IGImage> getImages(long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImagesCount
int getImagesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetImages
java.util.List<IGImage> getNoAssetImages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImage
IGImage updateImage(long userId,
long imageId,
long folderId,
java.lang.String name,
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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
void updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException