de.mklinger.qetcher.liferay.client.impl.abstraction.LiferayFileVersionWrapper 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.abstraction;
import de.mklinger.qetcher.liferay.abstraction.FileVersion;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class LiferayFileVersionWrapper implements FileVersion {
private final com.liferay.portal.kernel.repository.model.FileVersion delegate;
public LiferayFileVersionWrapper(final com.liferay.portal.kernel.repository.model.FileVersion delegate) {
this.delegate = delegate;
}
public com.liferay.portal.kernel.repository.model.FileVersion unwrap() {
return delegate;
}
@Override
public long getCompanyId() {
return delegate.getCompanyId();
}
}