de.mklinger.qetcher.liferay.client.impl.abstraction.liferay71.LiferayImageWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-adapter-liferay-71 Show documentation
Show all versions of qetcher-adapter-liferay-71 Show documentation
Qetcher Liferay 7.1.x Adapter
The newest version!
package de.mklinger.qetcher.liferay.client.impl.abstraction.liferay71;
import java.util.Date;
import de.mklinger.qetcher.liferay.abstraction.Image;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class LiferayImageWrapper implements Image {
private final com.liferay.portal.kernel.model.Image delegate;
public LiferayImageWrapper(final com.liferay.portal.kernel.model.Image delegate) {
this.delegate = delegate;
}
@Override
public String getType() {
return delegate.getType();
}
@Override
public byte[] getTextObj() {
return delegate.getTextObj();
}
@Override
public long getImageId() {
return delegate.getImageId();
}
@Override
public void setHeight(final int height) {
delegate.setHeight(height);
}
@Override
public void setWidth(final int width) {
delegate.setWidth(width);
}
@Override
public int getHeight() {
return delegate.getHeight();
}
@Override
public int getWidth() {
return delegate.getWidth();
}
@Override
public void setModifiedDate(final Date modifiedDate) {
delegate.setModifiedDate(modifiedDate);
}
@Override
public void setTextObj(final byte[] textObj) {
delegate.setTextObj(textObj);
}
@Override
public void setType(final String type) {
delegate.setType(type);
}
}