Package com.liferay.upload
Interface AttachmentContentUpdater
public interface AttachmentContentUpdater
-
Method Summary
Modifier and TypeMethodDescriptionupdateContent(String content, String contentType, com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.repository.model.FileEntry, com.liferay.portal.kernel.repository.model.FileEntry, com.liferay.portal.kernel.exception.PortalException> saveTempFileUnsafeFunction)
-
Method Details
-
updateContent
String updateContent(String content, String contentType, com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.repository.model.FileEntry, com.liferay.portal.kernel.repository.model.FileEntry, throws com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.PortalException> saveTempFileUnsafeFunction) - Throws:
com.liferay.portal.kernel.exception.PortalException
-