/** * 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 org.oep.dossiermgt.service; import com.liferay.portal.service.ServiceWrapper; /** * Provides a wrapper for {@link EbPartnerShipLocalService}. * * @author trungdk * @see EbPartnerShipLocalService * @generated */ public class EbPartnerShipLocalServiceWrapper implements EbPartnerShipLocalService, ServiceWrapper<EbPartnerShipLocalService> { public EbPartnerShipLocalServiceWrapper( EbPartnerShipLocalService ebPartnerShipLocalService) { _ebPartnerShipLocalService = ebPartnerShipLocalService; } /** * Adds the eb partner ship to the database. Also notifies the appropriate model listeners. * * @param ebPartnerShip the eb partner ship * @return the eb partner ship that was added * @throws SystemException if a system exception occurred */ @Override public org.oep.dossiermgt.model.EbPartnerShip addEbPartnerShip( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.addEbPartnerShip(ebPartnerShip); } /** * Creates a new eb partner ship with the primary key. Does not add the eb partner ship to the database. * * @param ebPartnerShipId the primary key for the new eb partner ship * @return the new eb partner ship */ @Override public org.oep.dossiermgt.model.EbPartnerShip createEbPartnerShip( long ebPartnerShipId) { return _ebPartnerShipLocalService.createEbPartnerShip(ebPartnerShipId); } /** * Deletes the eb partner ship with the primary key from the database. Also notifies the appropriate model listeners. * * @param ebPartnerShipId the primary key of the eb partner ship * @return the eb partner ship that was removed * @throws PortalException if a eb partner ship with the primary key could not be found * @throws SystemException if a system exception occurred */ @Override public org.oep.dossiermgt.model.EbPartnerShip deleteEbPartnerShip( long ebPartnerShipId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.deleteEbPartnerShip(ebPartnerShipId); } /** * Deletes the eb partner ship from the database. Also notifies the appropriate model listeners. * * @param ebPartnerShip the eb partner ship * @return the eb partner ship that was removed * @throws SystemException if a system exception occurred */ @Override public org.oep.dossiermgt.model.EbPartnerShip deleteEbPartnerShip( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.deleteEbPartnerShip(ebPartnerShip); } @Override public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return _ebPartnerShipLocalService.dynamicQuery(); } /** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows * @throws SystemException if a system exception occurred */ @Override @SuppressWarnings("rawtypes") public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.dynamicQuery(dynamicQuery); } /** * Performs a dynamic query on the database and returns a range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.oep.dossiermgt.model.impl.EbPartnerShipModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @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 * @throws SystemException if a system exception occurred */ @Override @SuppressWarnings("rawtypes") public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.dynamicQuery(dynamicQuery, start, end); } /** * Performs a dynamic query on the database and returns an ordered range of the matching rows. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.oep.dossiermgt.model.impl.EbPartnerShipModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @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 <code>null</code>) * @return the ordered range of matching rows * @throws SystemException if a system exception occurred */ @Override @SuppressWarnings("rawtypes") public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.dynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * Returns the number of rows that match the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows that match the dynamic query * @throws SystemException if a system exception occurred */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.dynamicQueryCount(dynamicQuery); } /** * Returns the number of rows that match the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows that match the dynamic query * @throws SystemException if a system exception occurred */ @Override public long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.dynamicQueryCount(dynamicQuery, projection); } @Override public org.oep.dossiermgt.model.EbPartnerShip fetchEbPartnerShip( long ebPartnerShipId) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.fetchEbPartnerShip(ebPartnerShipId); } /** * Returns the eb partner ship with the primary key. * * @param ebPartnerShipId the primary key of the eb partner ship * @return the eb partner ship * @throws PortalException if a eb partner ship with the primary key could not be found * @throws SystemException if a system exception occurred */ @Override public org.oep.dossiermgt.model.EbPartnerShip getEbPartnerShip( long ebPartnerShipId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.getEbPartnerShip(ebPartnerShipId); } @Override public com.liferay.portal.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.getPersistedModel(primaryKeyObj); } /** * Returns a range of all the eb partner ships. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link org.oep.dossiermgt.model.impl.EbPartnerShipModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of eb partner ships * @param end the upper bound of the range of eb partner ships (not inclusive) * @return the range of eb partner ships * @throws SystemException if a system exception occurred */ @Override public java.util.List<org.oep.dossiermgt.model.EbPartnerShip> getEbPartnerShips( int start, int end) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.getEbPartnerShips(start, end); } /** * Returns the number of eb partner ships. * * @return the number of eb partner ships * @throws SystemException if a system exception occurred */ @Override public int getEbPartnerShipsCount() throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.getEbPartnerShipsCount(); } /** * Updates the eb partner ship in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param ebPartnerShip the eb partner ship * @return the eb partner ship that was updated * @throws SystemException if a system exception occurred */ @Override public org.oep.dossiermgt.model.EbPartnerShip updateEbPartnerShip( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.updateEbPartnerShip(ebPartnerShip); } /** * Returns the Spring bean ID for this bean. * * @return the Spring bean ID for this bean */ @Override public java.lang.String getBeanIdentifier() { return _ebPartnerShipLocalService.getBeanIdentifier(); } /** * Sets the Spring bean ID for this bean. * * @param beanIdentifier the Spring bean ID for this bean */ @Override public void setBeanIdentifier(java.lang.String beanIdentifier) { _ebPartnerShipLocalService.setBeanIdentifier(beanIdentifier); } @Override public java.lang.Object invokeMethod(java.lang.String name, java.lang.String[] parameterTypes, java.lang.Object[] arguments) throws java.lang.Throwable { return _ebPartnerShipLocalService.invokeMethod(name, parameterTypes, arguments); } /** * Thêm service kết nối ứng dụng * * Version: OEP 2.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 21-September-2015 trungdk Tạo mới * * @param name tên service kết nối * @param cpaId * @param service * @return: service kết nối ứng dụng vừa tạo */ @Override public org.oep.dossiermgt.model.EbPartnerShip addEbPartnerShip( java.lang.String name, java.lang.String cpaId, java.lang.String service, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.addEbPartnerShip(name, cpaId, service, serviceContext); } /** * Cập nhật service kết nối ứng dụng * * Version: OEP 2.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 21-September-2015 trungdk Tạo mới * * @param name tên service kết nối * @param cpaId * @param service * @return: service kết nối ứng dụng vừa cập nhật */ @Override public org.oep.dossiermgt.model.EbPartnerShip updateEbPartnerShip(long id, java.lang.String name, java.lang.String cpaId, java.lang.String service, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.updateEbPartnerShip(id, name, cpaId, service, serviceContext); } @Override public void updateEbPartnerShipResources( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.updateEbPartnerShipResources(ebPartnerShip, groupPermissions, guestPermissions, serviceContext); } @Override public void removeEbPartnerShip( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.removeEbPartnerShip(ebPartnerShip); } @Override public void removeEbPartnerShip(long id) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.removeEbPartnerShip(id); } @Override public void addEbPartnerShipResources( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip, boolean addGroupPermission, boolean addGuestPermission, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.addEbPartnerShipResources(ebPartnerShip, addGroupPermission, addGuestPermission, serviceContext); } @Override public void addEbPartnerShipResources( org.oep.dossiermgt.model.EbPartnerShip ebPartnerShip, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.addEbPartnerShipResources(ebPartnerShip, groupPermissions, guestPermissions, serviceContext); } @Override public void addEbPartnerShipResources(long id, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { _ebPartnerShipLocalService.addEbPartnerShipResources(id, groupPermissions, guestPermissions, serviceContext); } @Override public java.util.List<org.oep.dossiermgt.model.EbPartnerShip> findByLikeName( java.lang.String name, int startIndex, int endIndex, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.findByLikeName(name, startIndex, endIndex, serviceContext); } @Override public int countByLikeName(java.lang.String name, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.countByLikeName(name, serviceContext); } @Override public java.util.List<org.oep.dossiermgt.model.EbPartnerShip> findByGroupLikeName( java.lang.String name, int startIndex, int endIndex, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.findByGroupLikeName(name, startIndex, endIndex, serviceContext); } @Override public int countByGroupLikeName(java.lang.String name, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.SystemException { return _ebPartnerShipLocalService.countByGroupLikeName(name, serviceContext); } /** * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} */ public EbPartnerShipLocalService getWrappedEbPartnerShipLocalService() { return _ebPartnerShipLocalService; } /** * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} */ public void setWrappedEbPartnerShipLocalService( EbPartnerShipLocalService ebPartnerShipLocalService) { _ebPartnerShipLocalService = ebPartnerShipLocalService; } @Override public EbPartnerShipLocalService getWrappedService() { return _ebPartnerShipLocalService; } @Override public void setWrappedService( EbPartnerShipLocalService ebPartnerShipLocalService) { _ebPartnerShipLocalService = ebPartnerShipLocalService; } private EbPartnerShipLocalService _ebPartnerShipLocalService; }