Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.image
Interface Hook

All Known Implementing Classes:
BaseHook, DatabaseHook, DLHook, FileSystemHook

public interface Hook


Method Summary
 void deleteImage(Image image)
           
 byte[] getImageAsBytes(Image image)
           
 InputStream getImageAsStream(Image image)
           
 void updateImage(Image image, String type, byte[] bytes)
           
 

Method Detail

deleteImage

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

getImageAsBytes

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

getImageAsStream

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

updateImage

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

Liferay 6.1.2-ce-ga3