com.liferay.portal.image
Class DLHook
java.lang.Object
com.liferay.portal.image.BaseHook
com.liferay.portal.image.DLHook
- All Implemented Interfaces:
- Hook
public class DLHook
- extends BaseHook
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLHook
public DLHook()
deleteImage
public void deleteImage(Image image)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getImageAsBytes
public byte[] getImageAsBytes(Image image)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getImageAsStream
public InputStream getImageAsStream(Image image)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateImage
public void updateImage(Image image,
String type,
byte[] bytes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFileName
protected String getFileName(long imageId,
String type)