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

com.liferay.portal.security.service.access.policy.service.SAPEntryServiceWrapper Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.security.service.access.policy.service;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.service.ServiceWrapper;

/**
 * Provides a wrapper for {@link SAPEntryService}.
 *
 * @author Brian Wing Shun Chan
 * @see SAPEntryService
 * @generated
 */
@ProviderType
public class SAPEntryServiceWrapper
	implements SAPEntryService, ServiceWrapper {

	public SAPEntryServiceWrapper(SAPEntryService sapEntryService) {
		_sapEntryService = sapEntryService;
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			addSAPEntry(
				String allowedServiceSignatures, boolean defaultSAPEntry,
				boolean enabled, String name,
				java.util.Map titleMap,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.addSAPEntry(
			allowedServiceSignatures, defaultSAPEntry, enabled, name, titleMap,
			serviceContext);
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			deleteSAPEntry(long sapEntryId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.deleteSAPEntry(sapEntryId);
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			deleteSAPEntry(
				com.liferay.portal.security.service.access.policy.model.SAPEntry
					sapEntry)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.deleteSAPEntry(sapEntry);
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			fetchSAPEntry(long companyId, String name)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.fetchSAPEntry(companyId, name);
	}

	@Override
	public java.util.List
		
			getCompanySAPEntries(long companyId, int start, int end) {

		return _sapEntryService.getCompanySAPEntries(companyId, start, end);
	}

	@Override
	public java.util.List
		
			getCompanySAPEntries(
				long companyId, int start, int end,
				com.liferay.portal.kernel.util.OrderByComparator
					 obc) {

		return _sapEntryService.getCompanySAPEntries(
			companyId, start, end, obc);
	}

	@Override
	public int getCompanySAPEntriesCount(long companyId) {
		return _sapEntryService.getCompanySAPEntriesCount(companyId);
	}

	/**
	 * Returns the OSGi service identifier.
	 *
	 * @return the OSGi service identifier
	 */
	@Override
	public String getOSGiServiceIdentifier() {
		return _sapEntryService.getOSGiServiceIdentifier();
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			getSAPEntry(long sapEntryId)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.getSAPEntry(sapEntryId);
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			getSAPEntry(long companyId, String name)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.getSAPEntry(companyId, name);
	}

	@Override
	public com.liferay.portal.security.service.access.policy.model.SAPEntry
			updateSAPEntry(
				long sapEntryId, String allowedServiceSignatures,
				boolean defaultSAPEntry, boolean enabled, String name,
				java.util.Map titleMap,
				com.liferay.portal.kernel.service.ServiceContext serviceContext)
		throws com.liferay.portal.kernel.exception.PortalException {

		return _sapEntryService.updateSAPEntry(
			sapEntryId, allowedServiceSignatures, defaultSAPEntry, enabled,
			name, titleMap, serviceContext);
	}

	@Override
	public SAPEntryService getWrappedService() {
		return _sapEntryService;
	}

	@Override
	public void setWrappedService(SAPEntryService sapEntryService) {
		_sapEntryService = sapEntryService;
	}

	private SAPEntryService _sapEntryService;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy