com.liferay.portal.kernel.image
Interface Hook
- All Known Implementing Classes:
- BaseHook, DatabaseHook, DLHook, FileSystemHook
public interface Hook
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