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

com.liferay.friendly.url.service.impl.FriendlyURLEntryMappingCTServiceImpl Maven / Gradle / Ivy

There is a newer version: 4.0.92
Show newest version
/**
 * 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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy