Liferay 6.0.5

com.liferay.portal.image
Class DatabaseHook

java.lang.Object
  extended by com.liferay.portal.image.BaseHook
      extended by com.liferay.portal.image.DatabaseHook
All Implemented Interfaces:
Hook

public class DatabaseHook
extends BaseHook


Constructor Summary
DatabaseHook()
           
 
Method Summary
 void deleteImage(Image image)
           
 byte[] getImageAsBytes(Image image)
           
 InputStream getImageAsStream(Image image)
           
 void updateImage(Image image, String type, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseHook

public DatabaseHook()
Method Detail

deleteImage

public void deleteImage(Image image)

getImageAsBytes

public byte[] getImageAsBytes(Image image)

getImageAsStream

public InputStream getImageAsStream(Image image)

updateImage

public void updateImage(Image image,
                        String type,
                        byte[] bytes)

Liferay 6.0.5