com.liferay.portlet.imagegallery.service
Class IGImageLocalServiceUtil
java.lang.Object
com.liferay.portlet.imagegallery.service.IGImageLocalServiceUtil
- public class IGImageLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.imagegallery.service.IGImageLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portlet.imagegallery.service.IGImageLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
IGImageLocalService
,
IGImageLocalServiceFactory
Method Summary |
static IGImage |
addIGImage(IGImage model)
|
static 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)
|
static 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)
|
static 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)
|
static 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)
|
static void |
addImageResources(IGFolder folder,
IGImage image,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addImageResources(IGFolder folder,
IGImage image,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addImageResources(long folderId,
long imageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addImageResources(long folderId,
long imageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
afterPropertiesSet()
|
static void |
deleteImage(IGImage image)
|
static void |
deleteImage(long imageId)
|
static void |
deleteImages(long folderId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static int |
getFoldersImagesCount(java.util.List folderIds)
|
static java.util.List |
getGroupImages(long groupId,
int begin,
int end)
|
static java.util.List |
getGroupImages(long groupId,
long userId,
int begin,
int end)
|
static int |
getGroupImagesCount(long groupId)
|
static int |
getGroupImagesCount(long groupId,
long userId)
|
static IGFolderPersistence |
getIGFolderPersistence()
|
static IGImageFinder |
getIGImageFinder()
|
static IGImagePersistence |
getIGImagePersistence()
|
static IGImage |
getImage(long imageId)
|
static IGImage |
getImageByLargeImageId(long largeImageId)
|
static IGImage |
getImageBySmallImageId(long smallImageId)
|
static IGImage |
getImageByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static java.util.List |
getImages(long folderId)
|
static java.util.List |
getImages(long folderId,
int begin,
int end)
|
static java.util.List |
getImages(long folderId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getImagesCount(long folderId)
|
static java.util.List |
getNoAssetImages()
|
static ResourceFinder |
getResourceFinder()
|
static ResourcePersistence |
getResourcePersistence()
|
static TagsAssetFinder |
getTagsAssetFinder()
|
static TagsAssetPersistence |
getTagsAssetPersistence()
|
static UserFinder |
getUserFinder()
|
static UserPersistence |
getUserPersistence()
|
static void |
setIGFolderPersistence(IGFolderPersistence igFolderPersistence)
|
static void |
setIGImageFinder(IGImageFinder igImageFinder)
|
static void |
setIGImagePersistence(IGImagePersistence igImagePersistence)
|
static void |
setResourceFinder(ResourceFinder resourceFinder)
|
static void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
static void |
setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
|
static void |
setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
|
static void |
setUserFinder(UserFinder userFinder)
|
static void |
setUserPersistence(UserPersistence userPersistence)
|
static IGImage |
updateIGImage(IGImage model)
|
static IGImage |
updateImage(long userId,
long imageId,
long folderId,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
java.lang.String[] tagsEntries)
|
static void |
updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGImageLocalServiceUtil
public IGImageLocalServiceUtil()
addIGImage
public static IGImage addIGImage(IGImage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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 static IGImage updateIGImage(IGImage model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getIGFolderPersistence
public static IGFolderPersistence getIGFolderPersistence()
setIGFolderPersistence
public static void setIGFolderPersistence(IGFolderPersistence igFolderPersistence)
getIGImagePersistence
public static IGImagePersistence getIGImagePersistence()
setIGImagePersistence
public static void setIGImagePersistence(IGImagePersistence igImagePersistence)
getIGImageFinder
public static IGImageFinder getIGImageFinder()
setIGImageFinder
public static void setIGImageFinder(IGImageFinder igImageFinder)
getResourcePersistence
public static ResourcePersistence getResourcePersistence()
setResourcePersistence
public static void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public static ResourceFinder getResourceFinder()
setResourceFinder
public static void setResourceFinder(ResourceFinder resourceFinder)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
getTagsAssetPersistence
public static TagsAssetPersistence getTagsAssetPersistence()
setTagsAssetPersistence
public static void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
getTagsAssetFinder
public static TagsAssetFinder getTagsAssetFinder()
setTagsAssetFinder
public static void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
afterPropertiesSet
public static void afterPropertiesSet()
addImage
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImage
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addImageResources
public static 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
public static 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
public static 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
public static 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
public static void deleteImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImage
public static void deleteImage(IGImage image)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImages
public static void deleteImages(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFoldersImagesCount
public static int getFoldersImagesCount(java.util.List folderIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
public static java.util.List getGroupImages(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImages
public static java.util.List getGroupImages(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
public static int getGroupImagesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupImagesCount
public static int getGroupImagesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImage
public static IGImage getImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByLargeImageId
public static IGImage getImageByLargeImageId(long largeImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageBySmallImageId
public static IGImage getImageBySmallImageId(long smallImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByUuidAndGroupId
public static 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
public static java.util.List getImages(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
public static java.util.List getImages(long folderId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getImages
public static 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 static int getImagesCount(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNoAssetImages
public static java.util.List getNoAssetImages()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImage
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public static 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