com.liferay.friendly.url.service.impl.FriendlyURLEntryMappingCTServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.friendly.url.service
Show all versions of com.liferay.friendly.url.service
Liferay Friendly URL Service
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.friendly.url.service.impl;
import com.liferay.friendly.url.model.FriendlyURLEntryMapping;
import com.liferay.friendly.url.service.persistence.FriendlyURLEntryMappingPersistence;
import com.liferay.petra.function.UnsafeFunction;
import com.liferay.portal.aop.AopService;
import com.liferay.portal.kernel.change.tracking.CTAware;
import com.liferay.portal.kernel.service.change.tracking.CTService;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
/**
* @author Brian Wing Shun Chan
* @generated
*/
@Component(service = AopService.class)
@CTAware
public class FriendlyURLEntryMappingCTServiceImpl
implements AopService, CTService {
@Override
public CTPersistence getCTPersistence() {
return _friendlyURLEntryMappingPersistence;
}
@Override
public Class getModelClass() {
return FriendlyURLEntryMapping.class;
}
@Override
public R updateWithUnsafeFunction(
UnsafeFunction, R, E>
updateUnsafeFunction)
throws E {
return updateUnsafeFunction.apply(_friendlyURLEntryMappingPersistence);
}
@Reference
private FriendlyURLEntryMappingPersistence
_friendlyURLEntryMappingPersistence;
}