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

com.liferay.segments.service.SegmentsEntryRoleLocalServiceWrapper 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.segments.service;

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;
import com.liferay.segments.model.SegmentsEntryRole;

/**
 * Provides a wrapper for {@link SegmentsEntryRoleLocalService}.
 *
 * @author Eduardo Garcia
 * @see SegmentsEntryRoleLocalService
 * @generated
 */
public class SegmentsEntryRoleLocalServiceWrapper
	implements SegmentsEntryRoleLocalService,
			   ServiceWrapper {

	public SegmentsEntryRoleLocalServiceWrapper() {
		this(null);
	}

	public SegmentsEntryRoleLocalServiceWrapper(
		SegmentsEntryRoleLocalService segmentsEntryRoleLocalService) {

		_segmentsEntryRoleLocalService = segmentsEntryRoleLocalService;
	}

	@Override
	public SegmentsEntryRole addSegmentsEntryRole(
			long segmentsEntryId, long roleId,
			com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _segmentsEntryRoleLocalService.addSegmentsEntryRole(
			segmentsEntryId, roleId, serviceContext);
	}

	/**
	 * Adds the segments entry role to the database. Also notifies the appropriate model listeners.
	 *
	 * 

* Important: Inspect SegmentsEntryRoleLocalServiceImpl 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 segmentsEntryRole the segments entry role * @return the segments entry role that was added */ @Override public SegmentsEntryRole addSegmentsEntryRole( SegmentsEntryRole segmentsEntryRole) { return _segmentsEntryRoleLocalService.addSegmentsEntryRole( segmentsEntryRole); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel createPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsEntryRoleLocalService.createPersistedModel( primaryKeyObj); } /** * Creates a new segments entry role with the primary key. Does not add the segments entry role to the database. * * @param segmentsEntryRoleId the primary key for the new segments entry role * @return the new segments entry role */ @Override public SegmentsEntryRole createSegmentsEntryRole(long segmentsEntryRoleId) { return _segmentsEntryRoleLocalService.createSegmentsEntryRole( segmentsEntryRoleId); } /** * @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 _segmentsEntryRoleLocalService.deletePersistedModel( persistedModel); } /** * Deletes the segments entry role with the primary key from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsEntryRoleLocalServiceImpl 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 segmentsEntryRoleId the primary key of the segments entry role * @return the segments entry role that was removed * @throws PortalException if a segments entry role with the primary key could not be found */ @Override public SegmentsEntryRole deleteSegmentsEntryRole(long segmentsEntryRoleId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsEntryRoleLocalService.deleteSegmentsEntryRole( segmentsEntryRoleId); } @Override public SegmentsEntryRole deleteSegmentsEntryRole( long segmentsEntryId, long roleId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsEntryRoleLocalService.deleteSegmentsEntryRole( segmentsEntryId, roleId); } /** * Deletes the segments entry role from the database. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsEntryRoleLocalServiceImpl 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 segmentsEntryRole the segments entry role * @return the segments entry role that was removed */ @Override public SegmentsEntryRole deleteSegmentsEntryRole( SegmentsEntryRole segmentsEntryRole) { return _segmentsEntryRoleLocalService.deleteSegmentsEntryRole( segmentsEntryRole); } @Override public void deleteSegmentsEntryRoles(long segmentsEntryId) throws com.liferay.portal.kernel.exception.PortalException { _segmentsEntryRoleLocalService.deleteSegmentsEntryRoles( segmentsEntryId); } @Override public void deleteSegmentsEntryRolesByRoleId(long roleId) throws com.liferay.portal.kernel.exception.PortalException { _segmentsEntryRoleLocalService.deleteSegmentsEntryRolesByRoleId(roleId); } @Override public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsEntryRoleLocalService.dslQuery(dslQuery); } @Override public int dslQueryCount( com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) { return _segmentsEntryRoleLocalService.dslQueryCount(dslQuery); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return _segmentsEntryRoleLocalService.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 _segmentsEntryRoleLocalService.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.segments.model.impl.SegmentsEntryRoleModelImpl. *

* * @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 _segmentsEntryRoleLocalService.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.segments.model.impl.SegmentsEntryRoleModelImpl. *

* * @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 _segmentsEntryRoleLocalService.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 _segmentsEntryRoleLocalService.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 _segmentsEntryRoleLocalService.dynamicQueryCount( dynamicQuery, projection); } @Override public SegmentsEntryRole fetchSegmentsEntryRole(long segmentsEntryRoleId) { return _segmentsEntryRoleLocalService.fetchSegmentsEntryRole( segmentsEntryRoleId); } @Override public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return _segmentsEntryRoleLocalService.getActionableDynamicQuery(); } @Override public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() { return _segmentsEntryRoleLocalService. getIndexableActionableDynamicQuery(); } /** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ @Override public String getOSGiServiceIdentifier() { return _segmentsEntryRoleLocalService.getOSGiServiceIdentifier(); } /** * @throws PortalException */ @Override public com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsEntryRoleLocalService.getPersistedModel(primaryKeyObj); } /** * Returns the segments entry role with the primary key. * * @param segmentsEntryRoleId the primary key of the segments entry role * @return the segments entry role * @throws PortalException if a segments entry role with the primary key could not be found */ @Override public SegmentsEntryRole getSegmentsEntryRole(long segmentsEntryRoleId) throws com.liferay.portal.kernel.exception.PortalException { return _segmentsEntryRoleLocalService.getSegmentsEntryRole( segmentsEntryRoleId); } /** * Returns a range of all the segments entry roles. * *

* 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.segments.model.impl.SegmentsEntryRoleModelImpl. *

* * @param start the lower bound of the range of segments entry roles * @param end the upper bound of the range of segments entry roles (not inclusive) * @return the range of segments entry roles */ @Override public java.util.List getSegmentsEntryRoles( int start, int end) { return _segmentsEntryRoleLocalService.getSegmentsEntryRoles(start, end); } @Override public java.util.List getSegmentsEntryRoles( long segmentsEntryId) { return _segmentsEntryRoleLocalService.getSegmentsEntryRoles( segmentsEntryId); } @Override public java.util.List getSegmentsEntryRolesByRoleId( long roleId) { return _segmentsEntryRoleLocalService.getSegmentsEntryRolesByRoleId( roleId); } /** * Returns the number of segments entry roles. * * @return the number of segments entry roles */ @Override public int getSegmentsEntryRolesCount() { return _segmentsEntryRoleLocalService.getSegmentsEntryRolesCount(); } @Override public int getSegmentsEntryRolesCount(long segmentsEntryId) { return _segmentsEntryRoleLocalService.getSegmentsEntryRolesCount( segmentsEntryId); } @Override public int getSegmentsEntryRolesCountByRoleId(long roleId) { return _segmentsEntryRoleLocalService. getSegmentsEntryRolesCountByRoleId(roleId); } @Override public boolean hasSegmentEntryRole(long segmentsEntryId, long roleId) { return _segmentsEntryRoleLocalService.hasSegmentEntryRole( segmentsEntryId, roleId); } @Override public void setSegmentsEntrySiteRoles( long segmentsEntryId, long[] siteRoleIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { _segmentsEntryRoleLocalService.setSegmentsEntrySiteRoles( segmentsEntryId, siteRoleIds, serviceContext); } /** * Updates the segments entry role in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * *

* Important: Inspect SegmentsEntryRoleLocalServiceImpl 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 segmentsEntryRole the segments entry role * @return the segments entry role that was updated */ @Override public SegmentsEntryRole updateSegmentsEntryRole( SegmentsEntryRole segmentsEntryRole) { return _segmentsEntryRoleLocalService.updateSegmentsEntryRole( segmentsEntryRole); } @Override public BasePersistence getBasePersistence() { return _segmentsEntryRoleLocalService.getBasePersistence(); } @Override public CTPersistence getCTPersistence() { return _segmentsEntryRoleLocalService.getCTPersistence(); } @Override public Class getModelClass() { return _segmentsEntryRoleLocalService.getModelClass(); } @Override public R updateWithUnsafeFunction( UnsafeFunction, R, E> updateUnsafeFunction) throws E { return _segmentsEntryRoleLocalService.updateWithUnsafeFunction( updateUnsafeFunction); } @Override public SegmentsEntryRoleLocalService getWrappedService() { return _segmentsEntryRoleLocalService; } @Override public void setWrappedService( SegmentsEntryRoleLocalService segmentsEntryRoleLocalService) { _segmentsEntryRoleLocalService = segmentsEntryRoleLocalService; } private SegmentsEntryRoleLocalService _segmentsEntryRoleLocalService; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy