com.liferay.portal.service
Interface ImageLocalService


public interface ImageLocalService

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.portal.service.impl.ImageLocalServiceImpl. 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:
ImageLocalServiceFactory, ImageLocalServiceUtil

Method Summary
 Image addImage(Image image)
           
 void deleteImage(Image image)
           
 void deleteImage(long imageId)
           
 java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Image getImage(long imageId)
           
 java.util.List<Image> getImages()
           
 java.util.List<Image> getImages(int begin, int end)
           
 java.util.List<Image> getImagesBySize(int size)
           
 Image updateImage(Image image)
           
 Image updateImage(long imageId, byte[] bytes, java.lang.String type, int height, int width, int size)
           
 

Method Detail

addImage

Image addImage(Image image)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteImage

void deleteImage(long imageId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteImage

void deleteImage(Image image)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<Image> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImage

Image updateImage(Image image)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImage

Image getImage(long imageId)
               throws com.liferay.portal.SystemException,
                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getImages

java.util.List<Image> getImages()
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImages

java.util.List<Image> getImages(int begin,
                                int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImagesBySize

java.util.List<Image> getImagesBySize(int size)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImage

Image updateImage(long imageId,
                  byte[] bytes,
                  java.lang.String type,
                  int height,
                  int width,
                  int size)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException