public class DLHook extends BaseHook
| Constructor and Description |
|---|
DLHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteImage(com.liferay.portal.kernel.model.Image image) |
protected String |
getFileName(long imageId,
String type) |
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)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic byte[] getImageAsBytes(com.liferay.portal.kernel.model.Image image)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic InputStream getImageAsStream(com.liferay.portal.kernel.model.Image image) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateImage(com.liferay.portal.kernel.model.Image image,
String type,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException