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:
com.liferay.portal.service.ImageServiceFactory, com.liferay.portal.service.ImageServiceUtil

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

Method Detail

addImage

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

dynamicQuery

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

dynamicQuery

public 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

updateImage

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

deleteImage

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

getImage

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

getImages

public java.util.List getImages()
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getImages

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

getImagesBySize

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

updateImage

public 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