com.liferay.portlet.imagegallery.service.impl
Class IGImageServiceImpl
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl
com.liferay.portlet.imagegallery.service.impl.IGImageServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.imagegallery.service.IGImageService
public class IGImageServiceImpl
- extends IGImageServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl |
counterLocalService, counterService, igFolderLocalService, igFolderPersistence, igFolderService, igImageFinder, igImageLocalService, igImagePersistence, igImageService, imageLocalService, imagePersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService |
Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
Method Summary |
com.liferay.portlet.imagegallery.model.IGImage |
addImage(long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
deleteImage(long imageId)
|
void |
deleteImageByFolderIdAndNameWithExtension(long folderId,
java.lang.String nameWithExtension)
|
com.liferay.portlet.imagegallery.model.IGImage |
getImage(long imageId)
|
com.liferay.portlet.imagegallery.model.IGImage |
getImageByFolderIdAndNameWithExtension(long folderId,
java.lang.String nameWithExtension)
|
com.liferay.portlet.imagegallery.model.IGImage |
getImageByLargeImageId(long largeImageId)
|
com.liferay.portlet.imagegallery.model.IGImage |
getImageBySmallImageId(long smallImageId)
|
java.util.List<com.liferay.portlet.imagegallery.model.IGImage> |
getImages(long folderId)
|
com.liferay.portlet.imagegallery.model.IGImage |
updateImage(long imageId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
com.liferay.portal.service.ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.imagegallery.service.base.IGImageServiceBaseImpl |
getCounterLocalService, getCounterService, getIGFolderLocalService, getIGFolderPersistence, getIGFolderService, getIGImageFinder, getIGImageLocalService, getIGImagePersistence, getIGImageService, getImageLocalService, getImagePersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setIGFolderLocalService, setIGFolderPersistence, setIGFolderService, setIGImageFinder, setIGImageLocalService, setIGImagePersistence, setIGImageService, setImageLocalService, setImagePersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
getGuestOrUserId, getPermissionChecker, getUser, getUserId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGImageServiceImpl
public IGImageServiceImpl()
addImage
public com.liferay.portlet.imagegallery.model.IGImage addImage(long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImage
public void deleteImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteImageByFolderIdAndNameWithExtension
public void deleteImageByFolderIdAndNameWithExtension(long folderId,
java.lang.String nameWithExtension)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImage
public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageByFolderIdAndNameWithExtension
public com.liferay.portlet.imagegallery.model.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
public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(long largeImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImageBySmallImageId
public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(long smallImageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getImages
public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(long folderId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateImage
public com.liferay.portlet.imagegallery.model.IGImage updateImage(long imageId,
long folderId,
java.lang.String name,
java.lang.String description,
java.io.File file,
java.lang.String contentType,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException