Liferay 6.0.5

com.liferay.portlet.imagegallery.service.impl
Class IGImageServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl
          extended by com.liferay.portlet.imagegallery.service.impl.IGImageServiceImpl
All Implemented Interfaces:
IGImageService

public class IGImageServiceImpl
extends IGImageServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, igFolderLocalService, igFolderPersistence, igFolderService, igImageFinder, igImageLocalService, igImagePersistence, igImageService, imageLocalService, imagePersistence, imageService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
IGImageServiceImpl()
           
 
Method Summary
 IGImage addImage(long groupId, long folderId, String name, String description, File file, String contentType, ServiceContext serviceContext)
           
 void deleteImage(long imageId)
           
 void deleteImageByFolderIdAndNameWithExtension(long groupId, long folderId, String nameWithExtension)
           
 List<IGImage> getGroupImages(long groupId, long userId, int start, int end)
           
 int getGroupImagesCount(long groupId, long userId)
           
 IGImage getImage(long imageId)
           
 IGImage getImageByFolderIdAndNameWithExtension(long groupId, long folderId, String nameWithExtension)
           
 IGImage getImageByLargeImageId(long largeImageId)
           
 IGImage getImageBySmallImageId(long smallImageId)
           
 List<IGImage> getImages(long groupId, long folderId)
           
 List<IGImage> getImages(long groupId, long folderId, int start, int end)
           
 int getImagesCount(long groupId, long folderId)
           
 IGImage updateImage(long imageId, long groupId, long folderId, String name, String description, File file, String contentType, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getIGFolderLocalService, getIGFolderPersistence, getIGFolderService, getIGImageFinder, getIGImageLocalService, getIGImagePersistence, getIGImageService, getImageLocalService, getImagePersistence, getImageService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setIGFolderLocalService, setIGFolderPersistence, setIGFolderService, setIGImageFinder, setIGImageLocalService, setIGImagePersistence, setIGImageService, setImageLocalService, setImagePersistence, setImageService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGImageServiceImpl

public IGImageServiceImpl()
Method Detail

addImage

public IGImage addImage(long groupId,
                        long folderId,
                        String name,
                        String description,
                        File file,
                        String contentType,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteImage

public void deleteImage(long imageId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteImageByFolderIdAndNameWithExtension

public void deleteImageByFolderIdAndNameWithExtension(long groupId,
                                                      long folderId,
                                                      String nameWithExtension)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getGroupImages

public List<IGImage> getGroupImages(long groupId,
                                    long userId,
                                    int start,
                                    int end)
                             throws SystemException
Throws:
SystemException

getGroupImagesCount

public int getGroupImagesCount(long groupId,
                               long userId)
                        throws SystemException
Throws:
SystemException

getImage

public IGImage getImage(long imageId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getImageByFolderIdAndNameWithExtension

public IGImage getImageByFolderIdAndNameWithExtension(long groupId,
                                                      long folderId,
                                                      String nameWithExtension)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getImageByLargeImageId

public IGImage getImageByLargeImageId(long largeImageId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getImageBySmallImageId

public IGImage getImageBySmallImageId(long smallImageId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getImages

public List<IGImage> getImages(long groupId,
                               long folderId)
                        throws SystemException
Throws:
SystemException

getImages

public List<IGImage> getImages(long groupId,
                               long folderId,
                               int start,
                               int end)
                        throws SystemException
Throws:
SystemException

getImagesCount

public int getImagesCount(long groupId,
                          long folderId)
                   throws SystemException
Throws:
SystemException

updateImage

public IGImage updateImage(long imageId,
                           long groupId,
                           long folderId,
                           String name,
                           String description,
                           File file,
                           String contentType,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5