de.mklinger.qetcher.liferay.client.impl.PreviewProcessorBridge Maven / Gradle / Ivy
/*
* Copyright 2013-present mklinger GmbH - http://www.mklinger.de
*
* All rights reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of mklinger GmbH and its suppliers, if any.
* The intellectual and technical concepts contained herein are
* proprietary to mklinger GmbH and its suppliers and are protected
* by trade secret or copyright law. Dissemination of this
* information or reproduction of this material is strictly forbidden
* unless prior written permission is obtained from mklinger GmbH.
*/
package de.mklinger.qetcher.liferay.client.impl;
import java.io.File;
import de.mklinger.qetcher.liferay.abstraction.FileVersion;
import de.mklinger.qetcher.liferay.abstraction.LiferayException;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public interface PreviewProcessorBridge {
File getPreviewTempFile(String tempFileId, int page);
void storeThumbnailImages(FileVersion fileVersion, File tempFile) throws Exception;
String getPreviewFilePath(FileVersion fileVersion, int page);
void addFileToStore(long companyId, String previewPath, String previewFilePath, File tempFile) throws LiferayException;
}