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

com.liferay.calendar.service.CalendarNotificationTemplateLocalServiceWrapper 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.service;

import com.liferay.calendar.model.CalendarNotificationTemplate;
import com.liferay.petra.function.UnsafeFunction;
import com.liferay.portal.kernel.service.ServiceWrapper;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence;

/**
 * Provides a wrapper for {@link CalendarNotificationTemplateLocalService}.
 *
 * @author Eduardo Lundgren
 * @see CalendarNotificationTemplateLocalService
 * @generated
 */
public class CalendarNotificationTemplateLocalServiceWrapper
	implements CalendarNotificationTemplateLocalService,
			   ServiceWrapper {

	public CalendarNotificationTemplateLocalServiceWrapper() {
		this(null);
	}

	public CalendarNotificationTemplateLocalServiceWrapper(
		CalendarNotificationTemplateLocalService
			calendarNotificationTemplateLocalService) {

		_calendarNotificationTemplateLocalService =
			calendarNotificationTemplateLocalService;
	}

	/**
	 * Adds the calendar notification template to the database. Also notifies the appropriate model listeners.
	 *
	 * 

* Important: Inspect CalendarNotificationTemplateLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param calendarNotificationTemplate the calendar notification template * @return the calendar notification template that was added */ @Override public CalendarNotificationTemplate addCalendarNotificationTemplate( CalendarNotificationTemplate calendarNotificationTemplate) { return _calendarNotificationTemplateLocalService. addCalendarNotificationTemplate(calendarNotificationTemplate); } @Override public CalendarNotificationTemplate addCalendarNotificationTemplate( long userId, long calendarId, com.liferay.calendar.notification.NotificationType notificationType, String notificationTypeSettings, com.liferay.calendar.notification.NotificationTemplateType notificationTemplateType, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService. addCalendarNotificationTemplate( userId, calendarId, notificationType, notificationTypeSettings, notificationTemplateType, subject, body, serviceContext); } /** * Creates a new calendar notification template with the primary key. Does not add the calendar notification template to the database. * * @param calendarNotificationTemplateId the primary key for the new calendar notification template * @return the new calendar notification template */ @Override public CalendarNotificationTemplate createCalendarNotificationTemplate( long calendarNotificationTemplateId) { return _calendarNotificationTemplateLocalService. createCalendarNotificationTemplate(calendarNotificationTemplateId); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel createPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService.createPersistedModel( primaryKeyObj); } /** * Deletes the calendar notification template from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect CalendarNotificationTemplateLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param calendarNotificationTemplate the calendar notification template * @return the calendar notification template that was removed */ @Override public CalendarNotificationTemplate deleteCalendarNotificationTemplate( CalendarNotificationTemplate calendarNotificationTemplate) { return _calendarNotificationTemplateLocalService. deleteCalendarNotificationTemplate(calendarNotificationTemplate); } /** * Deletes the calendar notification template with the primary key from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect CalendarNotificationTemplateLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param calendarNotificationTemplateId the primary key of the calendar notification template * @return the calendar notification template that was removed * @throws PortalException if a calendar notification template with the primary key could not be found */ @Override public CalendarNotificationTemplate deleteCalendarNotificationTemplate( long calendarNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService. deleteCalendarNotificationTemplate(calendarNotificationTemplateId); } @Override public void deleteCalendarNotificationTemplates(long calendarId) { _calendarNotificationTemplateLocalService. deleteCalendarNotificationTemplates(calendarId); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel( com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService.deletePersistedModel( persistedModel); } @Override public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _calendarNotificationTemplateLocalService.dslQuery(dslQuery); } @Override public int dslQueryCount( com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _calendarNotificationTemplateLocalService.dslQueryCount( dslQuery); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return _calendarNotificationTemplateLocalService.dynamicQuery(); } /** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return _calendarNotificationTemplateLocalService.dynamicQuery( dynamicQuery); } /** * Performs a dynamic query on the database and returns a range of the matching rows. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarNotificationTemplateModelImpl. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @return the range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) { return _calendarNotificationTemplateLocalService.dynamicQuery( dynamicQuery, start, end); } /** * Performs a dynamic query on the database and returns an ordered range of the matching rows. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarNotificationTemplateModelImpl. *

* * @param dynamicQuery the dynamic query * @param start the lower bound of the range of model instances * @param end the upper bound of the range of model instances (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching rows */ @Override public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _calendarNotificationTemplateLocalService.dynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return _calendarNotificationTemplateLocalService.dynamicQueryCount( dynamicQuery); } /** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return _calendarNotificationTemplateLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public CalendarNotificationTemplate fetchCalendarNotificationTemplate( long calendarNotificationTemplateId) { return _calendarNotificationTemplateLocalService. fetchCalendarNotificationTemplate(calendarNotificationTemplateId); } @Override public CalendarNotificationTemplate fetchCalendarNotificationTemplate( long calendarId, com.liferay.calendar.notification.NotificationType notificationType, com.liferay.calendar.notification.NotificationTemplateType notificationTemplateType) { return _calendarNotificationTemplateLocalService. fetchCalendarNotificationTemplate( calendarId, notificationType, notificationTemplateType); } /** * Returns the calendar notification template matching the UUID and group. * * @param uuid the calendar notification template's UUID * @param groupId the primary key of the group * @return the matching calendar notification template, or null if a matching calendar notification template could not be found */ @Override public CalendarNotificationTemplate fetchCalendarNotificationTemplateByUuidAndGroupId( String uuid, long groupId) { return _calendarNotificationTemplateLocalService. fetchCalendarNotificationTemplateByUuidAndGroupId(uuid, groupId); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _calendarNotificationTemplateLocalService. getActionableDynamicQuery(); } /** * Returns the calendar notification template with the primary key. * * @param calendarNotificationTemplateId the primary key of the calendar notification template * @return the calendar notification template * @throws PortalException if a calendar notification template with the primary key could not be found */ @Override public CalendarNotificationTemplate getCalendarNotificationTemplate( long calendarNotificationTemplateId) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplate(calendarNotificationTemplateId); } /** * Returns the calendar notification template matching the UUID and group. * * @param uuid the calendar notification template's UUID * @param groupId the primary key of the group * @return the matching calendar notification template * @throws PortalException if a matching calendar notification template could not be found */ @Override public CalendarNotificationTemplate getCalendarNotificationTemplateByUuidAndGroupId( String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplateByUuidAndGroupId(uuid, groupId); } /** * Returns a range of all the calendar notification templates. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.calendar.model.impl.CalendarNotificationTemplateModelImpl. *

* * @param start the lower bound of the range of calendar notification templates * @param end the upper bound of the range of calendar notification templates (not inclusive) * @return the range of calendar notification templates */ @Override public java.util.List getCalendarNotificationTemplates(int start, int end) { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplates(start, end); } /** * Returns all the calendar notification templates matching the UUID and company. * * @param uuid the UUID of the calendar notification templates * @param companyId the primary key of the company * @return the matching calendar notification templates, or an empty list if no matches were found */ @Override public java.util.List getCalendarNotificationTemplatesByUuidAndCompanyId( String uuid, long companyId) { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplatesByUuidAndCompanyId(uuid, companyId); } /** * Returns a range of calendar notification templates matching the UUID and company. * * @param uuid the UUID of the calendar notification templates * @param companyId the primary key of the company * @param start the lower bound of the range of calendar notification templates * @param end the upper bound of the range of calendar notification templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the range of matching calendar notification templates, or an empty list if no matches were found */ @Override public java.util.List getCalendarNotificationTemplatesByUuidAndCompanyId( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplatesByUuidAndCompanyId( uuid, companyId, start, end, orderByComparator); } /** * Returns the number of calendar notification templates. * * @return the number of calendar notification templates */ @Override public int getCalendarNotificationTemplatesCount() { return _calendarNotificationTemplateLocalService. getCalendarNotificationTemplatesCount(); } @Override public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery( com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) { return _calendarNotificationTemplateLocalService. getExportActionableDynamicQuery(portletDataContext); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _calendarNotificationTemplateLocalService. getIndexableActionableDynamicQuery(); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _calendarNotificationTemplateLocalService. getOSGiServiceIdentifier(); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService.getPersistedModel( primaryKeyObj); } /** * Updates the calendar notification template in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * *

* Important: Inspect CalendarNotificationTemplateLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there. *

* * @param calendarNotificationTemplate the calendar notification template * @return the calendar notification template that was updated */ @Override public CalendarNotificationTemplate updateCalendarNotificationTemplate( CalendarNotificationTemplate calendarNotificationTemplate) { return _calendarNotificationTemplateLocalService. updateCalendarNotificationTemplate(calendarNotificationTemplate); } @Override public CalendarNotificationTemplate updateCalendarNotificationTemplate( long calendarNotificationTemplateId, String notificationTypeSettings, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return _calendarNotificationTemplateLocalService. updateCalendarNotificationTemplate( calendarNotificationTemplateId, notificationTypeSettings, subject, body, serviceContext); } @Override public BasePersistence getBasePersistence() { return _calendarNotificationTemplateLocalService.getBasePersistence(); } @Override public CTPersistence getCTPersistence() { return _calendarNotificationTemplateLocalService.getCTPersistence(); } @Override public Class getModelClass() { return _calendarNotificationTemplateLocalService.getModelClass(); } @Override public R updateWithUnsafeFunction( UnsafeFunction, R, E> updateUnsafeFunction) throws E { return _calendarNotificationTemplateLocalService. updateWithUnsafeFunction(updateUnsafeFunction); } @Override public CalendarNotificationTemplateLocalService getWrappedService() { return _calendarNotificationTemplateLocalService; } @Override public void setWrappedService( CalendarNotificationTemplateLocalService calendarNotificationTemplateLocalService) { _calendarNotificationTemplateLocalService = calendarNotificationTemplateLocalService; } private CalendarNotificationTemplateLocalService _calendarNotificationTemplateLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy