|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class}) public interface IGImageLocalService
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.
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,
ServiceContext serviceContext)
|
IGImage |
addImage(long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.lang.String fileName,
byte[] bytes,
java.lang.String contentType,
ServiceContext serviceContext)
|
IGImage |
addImage(long userId,
long folderId,
java.lang.String name,
java.lang.String description,
java.lang.String fileName,
java.io.InputStream is,
java.lang.String contentType,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
IGImage |
addImage(java.lang.String uuid,
long userId,
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 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 folderId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
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)
|
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 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()
|
void |
reIndex(IGImage image)
|
void |
reIndex(long imageId)
|
IGImage |
updateIGImage(IGImage igImage)
|
IGImage |
updateIGImage(IGImage igImage,
boolean merge)
|
IGImage |
updateImage(long userId,
long imageId,
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 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 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)
|
void |
updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
Deprecated. |
void |
updateTagsAsset(long userId,
IGImage image,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries,
java.lang.String contentType)
|
Method Detail |
---|
IGImage addIGImage(IGImage igImage) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
IGImage createIGImage(long imageId)
void deleteIGImage(long imageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteIGImage(IGImage igImage) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getIGImage(long imageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getIGImageByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getIGImages(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getIGImagesCount() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
IGImage updateIGImage(IGImage igImage) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
IGImage updateIGImage(IGImage igImage, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
IGImage addImage(long userId, long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage addImage(long userId, 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.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage addImage(long userId, 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.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
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, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage addImage(java.lang.String uuid, long userId, 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.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage addImage(java.lang.String uuid, long userId, 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.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void addImageResources(IGImage image, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void addImageResources(IGImage image, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void addImageResources(long imageId, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void addImageResources(long imageId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteImage(IGImage image) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteImage(long imageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void deleteImages(long folderId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersImagesCount(java.util.List<java.lang.Long> folderIds) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getGroupImages(long groupId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getGroupImages(long groupId, long userId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupImagesCount(long groupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupImagesCount(long groupId, long userId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImage(long imageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageByCustom1ImageId(long custom1ImageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageByCustom2ImageId(long custom2ImageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageByFolderIdAndNameWithExtension(long folderId, java.lang.String nameWithExtension) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageByLargeImageId(long largeImageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageBySmallImageId(long smallImageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) IGImage getImageByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getImages(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getImages(long folderId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getImages(long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getImagesCount(long folderId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<IGImage> getNoAssetImages() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) void reIndex(IGImage image) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) void reIndex(long imageId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
IGImage updateImage(long userId, long imageId, long folderId, java.lang.String name, java.lang.String description, byte[] bytes, java.lang.String contentType, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage updateImage(long userId, long imageId, long folderId, java.lang.String name, java.lang.String description, java.io.File file, java.lang.String contentType, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
IGImage updateImage(long userId, long imageId, long folderId, java.lang.String name, java.lang.String description, java.io.InputStream is, java.lang.String contentType, ServiceContext serviceContext) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void updateSmallImage(long smallImageId, long largeImageId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void updateTagsAsset(long userId, IGImage image, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
void updateTagsAsset(long userId, IGImage image, java.lang.String[] tagsCategories, java.lang.String[] tagsEntries, java.lang.String contentType) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |