com.liferay.portal.kernel.model.ClassName 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 ClassName service. Represents a row in the "ClassName_" database table, with each column mapped to a property of this class.
*
* @author Brian Wing Shun Chan
* @see ClassNameModel
* @generated
*/
@ImplementationClassName("com.liferay.portal.model.impl.ClassNameImpl")
@ProviderType
public interface ClassName extends ClassNameModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to com.liferay.portal.model.impl.ClassNameImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public static final Accessor CLASS_NAME_ID_ACCESSOR =
new Accessor() {
@Override
public Long get(ClassName className) {
return className.getClassNameId();
}
@Override
public Class getAttributeClass() {
return Long.class;
}
@Override
public Class getTypeClass() {
return ClassName.class;
}
};
}