com.liferay.portal.kernel.image
Interface Hook


public interface Hook

View Source

Author:
Jorge Ferrer

Method Summary
 void deleteImage(Image imageId)
           
 byte[] getImageAsBytes(Image image)
           
 java.io.InputStream getImageAsStream(Image image)
           
 void updateImage(Image image, java.lang.String type, byte[] bytes)
           
 

Method Detail

deleteImage

void deleteImage(Image imageId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getImageAsBytes

byte[] getImageAsBytes(Image image)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getImageAsStream

java.io.InputStream getImageAsStream(Image image)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

updateImage

void updateImage(Image image,
                 java.lang.String type,
                 byte[] bytes)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException