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:
IGImageLocalServiceFactory
,
IGImageLocalServiceUtil
Method Summary |
IGImage |
addIGImage(IGImage model)
|
IGImage |
addImage(long userId,
long folderId,
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 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 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 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 |
afterPropertiesSet()
|
void |
deleteImage(IGImage image)
|
void |
deleteImage(long imageId)
|
void |
deleteImages(long folderId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
int |
getFoldersImagesCount(java.util.List folderIds)
|
java.util.List |
getGroupImages(long groupId,
int begin,
int end)
|
java.util.List |
getGroupImages(long groupId,
long userId,
int begin,
int end)
|
int |
getGroupImagesCount(long groupId)
|
int |
getGroupImagesCount(long groupId,
long userId)
|
IGFolderPersistence |
getIGFolderPersistence()
|
IGImageFinder |
getIGImageFinder()
|
IGImagePersistence |
getIGImagePersistence()
|
IGImage |
getImage(long imageId)
|
IGImage |
getImageByLargeImageId(long largeImageId)
|
IGImage |
getImageBySmallImageId(long smallImageId)
|
IGImage |
getImageByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List |
getImages(long folderId)
|
java.util.List |
getImages(long folderId,
int begin,
int end)
|
java.util.List |
getImages(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getImagesCount(long folderId)
|
java.util.List |
getNoAssetImages()
|
ResourceFinder |
getResourceFinder()
|
ResourcePersistence |
getResourcePersistence()
|
TagsAssetFinder |
getTagsAssetFinder()
|
TagsAssetPersistence |
getTagsAssetPersistence()
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
void |
setIGFolderPersistence(IGFolderPersistence igFolderPersistence)
|
void |
setIGImageFinder(IGImageFinder igImageFinder)
|
void |
setIGImagePersistence(IGImagePersistence igImagePersistence)
|
void |
setResourceFinder(ResourceFinder resourceFinder)
|
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
void |
setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
|
void |
setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
|
void |
setUserFinder(UserFinder userFinder)
|
void |
setUserPersistence(UserPersistence userPersistence)
|
IGImage |
updateIGImage(IGImage model)
|
IGImage |
updateImage(long userId,
long imageId,
long folderId,
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
public IGImage addIGImage(IGImage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateIGImage
public IGImage updateIGImage(IGImage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIGFolderPersistence
public IGFolderPersistence getIGFolderPersistence()
setIGFolderPersistence
public void setIGFolderPersistence(IGFolderPersistence igFolderPersistence)
getIGImagePersistence
public IGImagePersistence getIGImagePersistence()
setIGImagePersistence
public void setIGImagePersistence(IGImagePersistence igImagePersistence)
getIGImageFinder
public IGImageFinder getIGImageFinder()
setIGImageFinder
public void setIGImageFinder(IGImageFinder igImageFinder)
getResourcePersistence
public ResourcePersistence getResourcePersistence()
setResourcePersistence
public void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public ResourceFinder getResourceFinder()
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
getTagsAssetPersistence
public TagsAssetPersistence getTagsAssetPersistence()
setTagsAssetPersistence
public void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
getTagsAssetFinder
public TagsAssetFinder getTagsAssetFinder()
setTagsAssetFinder
public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
afterPropertiesSet
public void afterPropertiesSet()
addImage
public IGImage addImage(long userId,
long folderId,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImage
public IGImage addImage(java.lang.String uuid,
long userId,
long folderId,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImage
public IGImage addImage(long userId,
long folderId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImage
public IGImage addImage(java.lang.String uuid,
long userId,
long folderId,
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImageResources
public void addImageResources(long folderId,
long imageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImageResources
public void addImageResources(IGFolder folder,
IGImage image,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImageResources
public void addImageResources(long folderId,
long imageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addImageResources
public void addImageResources(IGFolder folder,
IGImage image,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteImage
public void deleteImage(long imageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteImage
public void deleteImage(IGImage image)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteImages
public void deleteImages(long folderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFoldersImagesCount
public int getFoldersImagesCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
public java.util.List getGroupImages(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
public java.util.List getGroupImages(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
public int getGroupImagesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
public int getGroupImagesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImage
public IGImage getImage(long imageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getImageByLargeImageId
public IGImage getImageByLargeImageId(long largeImageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getImageBySmallImageId
public IGImage getImageBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getImageByUuidAndGroupId
public IGImage getImageByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getImages
public java.util.List getImages(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
public java.util.List getImages(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
public java.util.List getImages(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImagesCount
public int getImagesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetImages
public java.util.List getNoAssetImages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImage
public IGImage updateImage(long userId,
long imageId,
long folderId,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateTagsAsset
public void updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsEntries)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException