com.liferay.portal.kernel.model.LayoutFriendlyURL Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* 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.portal.kernel.model;
import com.liferay.portal.kernel.annotation.ImplementationClassName;
import com.liferay.portal.kernel.util.Accessor;
import org.osgi.annotation.versioning.ProviderType;
/**
* The extended model interface for the LayoutFriendlyURL service. Represents a row in the "LayoutFriendlyURL" database table, with each column mapped to a property of this class.
*
* @author Brian Wing Shun Chan
* @see LayoutFriendlyURLModel
* @generated
*/
@ImplementationClassName("com.liferay.portal.model.impl.LayoutFriendlyURLImpl")
@ProviderType
public interface LayoutFriendlyURL
extends LayoutFriendlyURLModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to com.liferay.portal.model.impl.LayoutFriendlyURLImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public static final Accessor
LAYOUT_FRIENDLY_U_R_L_ID_ACCESSOR =
new Accessor() {
@Override
public Long get(LayoutFriendlyURL layoutFriendlyURL) {
return layoutFriendlyURL.getLayoutFriendlyURLId();
}
@Override
public Class getAttributeClass() {
return Long.class;
}
@Override
public Class getTypeClass() {
return LayoutFriendlyURL.class;
}
};
}