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

com.liferay.calendar.model.Calendar Maven / Gradle / Ivy

The 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.calendar.model;

import com.liferay.portal.kernel.annotation.ImplementationClassName;
import com.liferay.portal.kernel.model.PersistedModel;
import com.liferay.portal.kernel.util.Accessor;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The extended model interface for the Calendar service. Represents a row in the "Calendar" database table, with each column mapped to a property of this class.
 *
 * @author Eduardo Lundgren
 * @see CalendarModel
 * @generated
 */
@ImplementationClassName("com.liferay.calendar.model.impl.CalendarImpl")
@ProviderType
public interface Calendar extends CalendarModel, PersistedModel {

	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify this interface directly. Add methods to com.liferay.calendar.model.impl.CalendarImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
	 */
	public static final Accessor CALENDAR_ID_ACCESSOR =
		new Accessor() {

			@Override
			public Long get(Calendar calendar) {
				return calendar.getCalendarId();
			}

			@Override
			public Class getAttributeClass() {
				return Long.class;
			}

			@Override
			public Class getTypeClass() {
				return Calendar.class;
			}

		};

	public CalendarResource getCalendarResource()
		throws com.liferay.portal.kernel.exception.PortalException;

	public java.util.TimeZone getTimeZone();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy