public class DatabaseHook extends BaseHook
Constructor and Description |
---|
DatabaseHook() |
Modifier and Type | Method and Description |
---|---|
void |
deleteImage(com.liferay.portal.kernel.model.Image image) |
byte[] |
getImageAsBytes(com.liferay.portal.kernel.model.Image image) |
InputStream |
getImageAsStream(com.liferay.portal.kernel.model.Image image) |
void |
updateImage(com.liferay.portal.kernel.model.Image image,
String type,
byte[] bytes) |
public void deleteImage(com.liferay.portal.kernel.model.Image image)
public byte[] getImageAsBytes(com.liferay.portal.kernel.model.Image image)
public InputStream getImageAsStream(com.liferay.portal.kernel.model.Image image)
public void updateImage(com.liferay.portal.kernel.model.Image image, String type, byte[] bytes)