com.liferay.fragment.service.FragmentCollectionLocalServiceWrapper Maven / Gradle / Ivy
/**
* 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.fragment.service;
import com.liferay.fragment.model.FragmentCollection;
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 FragmentCollectionLocalService}.
*
* @author Brian Wing Shun Chan
* @see FragmentCollectionLocalService
* @generated
*/
public class FragmentCollectionLocalServiceWrapper
implements FragmentCollectionLocalService,
ServiceWrapper {
public FragmentCollectionLocalServiceWrapper() {
this(null);
}
public FragmentCollectionLocalServiceWrapper(
FragmentCollectionLocalService fragmentCollectionLocalService) {
_fragmentCollectionLocalService = fragmentCollectionLocalService;
}
/**
* Adds the fragment collection to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect FragmentCollectionLocalServiceImpl 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 fragmentCollection the fragment collection
* @return the fragment collection that was added
*/
@Override
public FragmentCollection addFragmentCollection(
FragmentCollection fragmentCollection) {
return _fragmentCollectionLocalService.addFragmentCollection(
fragmentCollection);
}
@Override
public FragmentCollection addFragmentCollection(
String externalReferenceCode, long userId, long groupId,
String name, String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.addFragmentCollection(
externalReferenceCode, userId, groupId, name, description,
serviceContext);
}
@Override
public FragmentCollection addFragmentCollection(
String externalReferenceCode, long userId, long groupId,
String fragmentCollectionKey, String name, String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.addFragmentCollection(
externalReferenceCode, userId, groupId, fragmentCollectionKey, name,
description, serviceContext);
}
/**
* Creates a new fragment collection with the primary key. Does not add the fragment collection to the database.
*
* @param fragmentCollectionId the primary key for the new fragment collection
* @return the new fragment collection
*/
@Override
public FragmentCollection createFragmentCollection(
long fragmentCollectionId) {
return _fragmentCollectionLocalService.createFragmentCollection(
fragmentCollectionId);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.createPersistedModel(
primaryKeyObj);
}
/**
* Deletes the fragment collection from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect FragmentCollectionLocalServiceImpl 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 fragmentCollection the fragment collection
* @return the fragment collection that was removed
* @throws PortalException
*/
@Override
public FragmentCollection deleteFragmentCollection(
FragmentCollection fragmentCollection)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.deleteFragmentCollection(
fragmentCollection);
}
/**
* Deletes the fragment collection with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect FragmentCollectionLocalServiceImpl 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 fragmentCollectionId the primary key of the fragment collection
* @return the fragment collection that was removed
* @throws PortalException if a fragment collection with the primary key could not be found
*/
@Override
public FragmentCollection deleteFragmentCollection(
long fragmentCollectionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.deleteFragmentCollection(
fragmentCollectionId);
}
@Override
public FragmentCollection deleteFragmentCollection(
String externalReferenceCode, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.deleteFragmentCollection(
externalReferenceCode, groupId);
}
/**
* @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 _fragmentCollectionLocalService.deletePersistedModel(
persistedModel);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _fragmentCollectionLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _fragmentCollectionLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _fragmentCollectionLocalService.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 _fragmentCollectionLocalService.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.fragment.model.impl.FragmentCollectionModelImpl
.
*
*
* @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 _fragmentCollectionLocalService.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.fragment.model.impl.FragmentCollectionModelImpl
.
*
*
* @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 _fragmentCollectionLocalService.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 _fragmentCollectionLocalService.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 _fragmentCollectionLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public FragmentCollection fetchFragmentCollection(
long fragmentCollectionId) {
return _fragmentCollectionLocalService.fetchFragmentCollection(
fragmentCollectionId);
}
@Override
public FragmentCollection fetchFragmentCollection(
long groupId, String fragmentCollectionKey) {
return _fragmentCollectionLocalService.fetchFragmentCollection(
groupId, fragmentCollectionKey);
}
@Override
public FragmentCollection fetchFragmentCollectionByExternalReferenceCode(
String externalReferenceCode, long groupId) {
return _fragmentCollectionLocalService.
fetchFragmentCollectionByExternalReferenceCode(
externalReferenceCode, groupId);
}
/**
* Returns the fragment collection matching the UUID and group.
*
* @param uuid the fragment collection's UUID
* @param groupId the primary key of the group
* @return the matching fragment collection, or null
if a matching fragment collection could not be found
*/
@Override
public FragmentCollection fetchFragmentCollectionByUuidAndGroupId(
String uuid, long groupId) {
return _fragmentCollectionLocalService.
fetchFragmentCollectionByUuidAndGroupId(uuid, groupId);
}
@Override
public String generateFragmentCollectionKey(long groupId, String name) {
return _fragmentCollectionLocalService.generateFragmentCollectionKey(
groupId, name);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _fragmentCollectionLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery(
com.liferay.exportimport.kernel.lar.PortletDataContext
portletDataContext) {
return _fragmentCollectionLocalService.getExportActionableDynamicQuery(
portletDataContext);
}
/**
* Returns the fragment collection with the primary key.
*
* @param fragmentCollectionId the primary key of the fragment collection
* @return the fragment collection
* @throws PortalException if a fragment collection with the primary key could not be found
*/
@Override
public FragmentCollection getFragmentCollection(long fragmentCollectionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.getFragmentCollection(
fragmentCollectionId);
}
@Override
public FragmentCollection getFragmentCollectionByExternalReferenceCode(
String externalReferenceCode, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.
getFragmentCollectionByExternalReferenceCode(
externalReferenceCode, groupId);
}
/**
* Returns the fragment collection matching the UUID and group.
*
* @param uuid the fragment collection's UUID
* @param groupId the primary key of the group
* @return the matching fragment collection
* @throws PortalException if a matching fragment collection could not be found
*/
@Override
public FragmentCollection getFragmentCollectionByUuidAndGroupId(
String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.
getFragmentCollectionByUuidAndGroupId(uuid, groupId);
}
/**
* Returns a range of all the fragment collections.
*
*
* 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.fragment.model.impl.FragmentCollectionModelImpl
.
*
*
* @param start the lower bound of the range of fragment collections
* @param end the upper bound of the range of fragment collections (not inclusive)
* @return the range of fragment collections
*/
@Override
public java.util.List getFragmentCollections(
int start, int end) {
return _fragmentCollectionLocalService.getFragmentCollections(
start, end);
}
@Override
public java.util.List getFragmentCollections(
long groupId, int start, int end) {
return _fragmentCollectionLocalService.getFragmentCollections(
groupId, start, end);
}
@Override
public java.util.List getFragmentCollections(
long groupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _fragmentCollectionLocalService.getFragmentCollections(
groupId, start, end, orderByComparator);
}
@Override
public java.util.List getFragmentCollections(
long groupId, String name, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _fragmentCollectionLocalService.getFragmentCollections(
groupId, name, start, end, orderByComparator);
}
/**
* Returns all the fragment collections matching the UUID and company.
*
* @param uuid the UUID of the fragment collections
* @param companyId the primary key of the company
* @return the matching fragment collections, or an empty list if no matches were found
*/
@Override
public java.util.List
getFragmentCollectionsByUuidAndCompanyId(String uuid, long companyId) {
return _fragmentCollectionLocalService.
getFragmentCollectionsByUuidAndCompanyId(uuid, companyId);
}
/**
* Returns a range of fragment collections matching the UUID and company.
*
* @param uuid the UUID of the fragment collections
* @param companyId the primary key of the company
* @param start the lower bound of the range of fragment collections
* @param end the upper bound of the range of fragment collections (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the range of matching fragment collections, or an empty list if no matches were found
*/
@Override
public java.util.List
getFragmentCollectionsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _fragmentCollectionLocalService.
getFragmentCollectionsByUuidAndCompanyId(
uuid, companyId, start, end, orderByComparator);
}
/**
* Returns the number of fragment collections.
*
* @return the number of fragment collections
*/
@Override
public int getFragmentCollectionsCount() {
return _fragmentCollectionLocalService.getFragmentCollectionsCount();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _fragmentCollectionLocalService.
getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _fragmentCollectionLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.getPersistedModel(primaryKeyObj);
}
@Override
public String[] getTempFileNames(
long userId, long groupId, String folderName)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.getTempFileNames(
userId, groupId, folderName);
}
@Override
public String getUniqueFragmentCollectionName(long groupId, String name) {
return _fragmentCollectionLocalService.getUniqueFragmentCollectionName(
groupId, name);
}
/**
* Updates the fragment collection in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect FragmentCollectionLocalServiceImpl 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 fragmentCollection the fragment collection
* @return the fragment collection that was updated
*/
@Override
public FragmentCollection updateFragmentCollection(
FragmentCollection fragmentCollection) {
return _fragmentCollectionLocalService.updateFragmentCollection(
fragmentCollection);
}
@Override
public FragmentCollection updateFragmentCollection(
long fragmentCollectionId, String name, String description)
throws com.liferay.portal.kernel.exception.PortalException {
return _fragmentCollectionLocalService.updateFragmentCollection(
fragmentCollectionId, name, description);
}
@Override
public BasePersistence> getBasePersistence() {
return _fragmentCollectionLocalService.getBasePersistence();
}
@Override
public CTPersistence getCTPersistence() {
return _fragmentCollectionLocalService.getCTPersistence();
}
@Override
public Class getModelClass() {
return _fragmentCollectionLocalService.getModelClass();
}
@Override
public R updateWithUnsafeFunction(
UnsafeFunction, R, E>
updateUnsafeFunction)
throws E {
return _fragmentCollectionLocalService.updateWithUnsafeFunction(
updateUnsafeFunction);
}
@Override
public FragmentCollectionLocalService getWrappedService() {
return _fragmentCollectionLocalService;
}
@Override
public void setWrappedService(
FragmentCollectionLocalService fragmentCollectionLocalService) {
_fragmentCollectionLocalService = fragmentCollectionLocalService;
}
private FragmentCollectionLocalService _fragmentCollectionLocalService;
}