All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.mklinger.qetcher.liferay.client.impl.abstraction.liferay71.LiferayImageWrapper Maven / Gradle / Ivy

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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy