
com.liferay.dynamic.data.mapping.service.DDMStructureVersionServiceWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.dynamic.data.mapping.api Show documentation
Show all versions of com.liferay.dynamic.data.mapping.api Show documentation
Liferay Dynamic Data Mapping API
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.dynamic.data.mapping.service;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link DDMStructureVersionService}.
*
* @author Brian Wing Shun Chan
* @see DDMStructureVersionService
* @generated
*/
@ProviderType
public class DDMStructureVersionServiceWrapper
implements DDMStructureVersionService,
ServiceWrapper {
public DDMStructureVersionServiceWrapper(
DDMStructureVersionService ddmStructureVersionService) {
_ddmStructureVersionService = ddmStructureVersionService;
}
@Override
public com.liferay.dynamic.data.mapping.model.DDMStructureVersion getLatestStructureVersion(
long structureId)
throws com.liferay.portal.kernel.exception.PortalException {
return _ddmStructureVersionService.getLatestStructureVersion(structureId);
}
@Override
public com.liferay.dynamic.data.mapping.model.DDMStructureVersion getStructureVersion(
long structureVersionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _ddmStructureVersionService.getStructureVersion(structureVersionId);
}
@Override
public int getStructureVersionsCount(long structureId)
throws com.liferay.portal.kernel.exception.PortalException {
return _ddmStructureVersionService.getStructureVersionsCount(structureId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public java.lang.String getOSGiServiceIdentifier() {
return _ddmStructureVersionService.getOSGiServiceIdentifier();
}
@Override
public java.util.List getStructureVersions(
long structureId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.PortalException {
return _ddmStructureVersionService.getStructureVersions(structureId,
start, end, orderByComparator);
}
@Override
public DDMStructureVersionService getWrappedService() {
return _ddmStructureVersionService;
}
@Override
public void setWrappedService(
DDMStructureVersionService ddmStructureVersionService) {
_ddmStructureVersionService = ddmStructureVersionService;
}
private DDMStructureVersionService _ddmStructureVersionService;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy