com.liferay.layout.service.LayoutClassedModelUsageLocalServiceWrapper 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.layout.service;
import com.liferay.layout.model.LayoutClassedModelUsage;
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 LayoutClassedModelUsageLocalService}.
*
* @author Brian Wing Shun Chan
* @see LayoutClassedModelUsageLocalService
* @generated
*/
public class LayoutClassedModelUsageLocalServiceWrapper
implements LayoutClassedModelUsageLocalService,
ServiceWrapper {
public LayoutClassedModelUsageLocalServiceWrapper() {
this(null);
}
public LayoutClassedModelUsageLocalServiceWrapper(
LayoutClassedModelUsageLocalService
layoutClassedModelUsageLocalService) {
_layoutClassedModelUsageLocalService =
layoutClassedModelUsageLocalService;
}
/**
* Adds the layout classed model usage to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect LayoutClassedModelUsageLocalServiceImpl 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 layoutClassedModelUsage the layout classed model usage
* @return the layout classed model usage that was added
*/
@Override
public LayoutClassedModelUsage addLayoutClassedModelUsage(
LayoutClassedModelUsage layoutClassedModelUsage) {
return _layoutClassedModelUsageLocalService.addLayoutClassedModelUsage(
layoutClassedModelUsage);
}
@Override
public LayoutClassedModelUsage addLayoutClassedModelUsage(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid,
com.liferay.portal.kernel.service.ServiceContext serviceContext) {
return _layoutClassedModelUsageLocalService.addLayoutClassedModelUsage(
groupId, classNameId, classPK, classedModelExternalReferenceCode,
containerKey, containerType, plid, serviceContext);
}
/**
* Creates a new layout classed model usage with the primary key. Does not add the layout classed model usage to the database.
*
* @param layoutClassedModelUsageId the primary key for the new layout classed model usage
* @return the new layout classed model usage
*/
@Override
public LayoutClassedModelUsage createLayoutClassedModelUsage(
long layoutClassedModelUsageId) {
return _layoutClassedModelUsageLocalService.
createLayoutClassedModelUsage(layoutClassedModelUsageId);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.createPersistedModel(
primaryKeyObj);
}
/**
* Deletes the layout classed model usage from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect LayoutClassedModelUsageLocalServiceImpl 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 layoutClassedModelUsage the layout classed model usage
* @return the layout classed model usage that was removed
*/
@Override
public LayoutClassedModelUsage deleteLayoutClassedModelUsage(
LayoutClassedModelUsage layoutClassedModelUsage) {
return _layoutClassedModelUsageLocalService.
deleteLayoutClassedModelUsage(layoutClassedModelUsage);
}
/**
* Deletes the layout classed model usage with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect LayoutClassedModelUsageLocalServiceImpl 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 layoutClassedModelUsageId the primary key of the layout classed model usage
* @return the layout classed model usage that was removed
* @throws PortalException if a layout classed model usage with the primary key could not be found
*/
@Override
public LayoutClassedModelUsage deleteLayoutClassedModelUsage(
long layoutClassedModelUsageId)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.
deleteLayoutClassedModelUsage(layoutClassedModelUsageId);
}
@Override
public void deleteLayoutClassedModelUsages(long classNameId, long classPK) {
_layoutClassedModelUsageLocalService.deleteLayoutClassedModelUsages(
classNameId, classPK);
}
@Override
public void deleteLayoutClassedModelUsages(
String containerKey, long containerType, long plid) {
_layoutClassedModelUsageLocalService.deleteLayoutClassedModelUsages(
containerKey, containerType, plid);
}
@Override
public void deleteLayoutClassedModelUsagesByPlid(long plid) {
_layoutClassedModelUsageLocalService.
deleteLayoutClassedModelUsagesByPlid(plid);
}
/**
* @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 _layoutClassedModelUsageLocalService.deletePersistedModel(
persistedModel);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _layoutClassedModelUsageLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _layoutClassedModelUsageLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _layoutClassedModelUsageLocalService.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 _layoutClassedModelUsageLocalService.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.layout.model.impl.LayoutClassedModelUsageModelImpl
.
*
*
* @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 _layoutClassedModelUsageLocalService.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.layout.model.impl.LayoutClassedModelUsageModelImpl
.
*
*
* @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 _layoutClassedModelUsageLocalService.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 _layoutClassedModelUsageLocalService.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 _layoutClassedModelUsageLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public LayoutClassedModelUsage fetchLayoutClassedModelUsage(
long layoutClassedModelUsageId) {
return _layoutClassedModelUsageLocalService.
fetchLayoutClassedModelUsage(layoutClassedModelUsageId);
}
@Override
public LayoutClassedModelUsage fetchLayoutClassedModelUsage(
long groupId, long classNameId, long classPK,
String classedModelExternalReferenceCode, String containerKey,
long containerType, long plid) {
return _layoutClassedModelUsageLocalService.
fetchLayoutClassedModelUsage(
groupId, classNameId, classPK,
classedModelExternalReferenceCode, containerKey, containerType,
plid);
}
/**
* Returns the layout classed model usage matching the UUID and group.
*
* @param uuid the layout classed model usage's UUID
* @param groupId the primary key of the group
* @return the matching layout classed model usage, or null
if a matching layout classed model usage could not be found
*/
@Override
public LayoutClassedModelUsage fetchLayoutClassedModelUsageByUuidAndGroupId(
String uuid, long groupId) {
return _layoutClassedModelUsageLocalService.
fetchLayoutClassedModelUsageByUuidAndGroupId(uuid, groupId);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _layoutClassedModelUsageLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery(
com.liferay.exportimport.kernel.lar.PortletDataContext
portletDataContext) {
return _layoutClassedModelUsageLocalService.
getExportActionableDynamicQuery(portletDataContext);
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _layoutClassedModelUsageLocalService.
getIndexableActionableDynamicQuery();
}
/**
* Returns the layout classed model usage with the primary key.
*
* @param layoutClassedModelUsageId the primary key of the layout classed model usage
* @return the layout classed model usage
* @throws PortalException if a layout classed model usage with the primary key could not be found
*/
@Override
public LayoutClassedModelUsage getLayoutClassedModelUsage(
long layoutClassedModelUsageId)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsage(
layoutClassedModelUsageId);
}
/**
* Returns the layout classed model usage matching the UUID and group.
*
* @param uuid the layout classed model usage's UUID
* @param groupId the primary key of the group
* @return the matching layout classed model usage
* @throws PortalException if a matching layout classed model usage could not be found
*/
@Override
public LayoutClassedModelUsage getLayoutClassedModelUsageByUuidAndGroupId(
String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsageByUuidAndGroupId(uuid, groupId);
}
/**
* Returns a range of all the layout classed model usages.
*
*
* 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.layout.model.impl.LayoutClassedModelUsageModelImpl
.
*
*
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @return the range of layout classed model usages
*/
@Override
public java.util.List getLayoutClassedModelUsages(
int start, int end) {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsages(
start, end);
}
@Override
public java.util.List getLayoutClassedModelUsages(
long classNameId, long classPK) {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsages(
classNameId, classPK);
}
@Override
public java.util.List getLayoutClassedModelUsages(
long classNameId, long classPK, int type, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsages(
classNameId, classPK, type, start, end, orderByComparator);
}
@Override
public java.util.List getLayoutClassedModelUsages(
long classNameId, long classPK, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsages(
classNameId, classPK, start, end, orderByComparator);
}
@Override
public java.util.List getLayoutClassedModelUsages(
long companyId, long classNameId, long containerType) {
return _layoutClassedModelUsageLocalService.getLayoutClassedModelUsages(
companyId, classNameId, containerType);
}
@Override
public java.util.List
getLayoutClassedModelUsagesByPlid(long plid) {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesByPlid(plid);
}
/**
* Returns all the layout classed model usages matching the UUID and company.
*
* @param uuid the UUID of the layout classed model usages
* @param companyId the primary key of the company
* @return the matching layout classed model usages, or an empty list if no matches were found
*/
@Override
public java.util.List
getLayoutClassedModelUsagesByUuidAndCompanyId(
String uuid, long companyId) {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesByUuidAndCompanyId(uuid, companyId);
}
/**
* Returns a range of layout classed model usages matching the UUID and company.
*
* @param uuid the UUID of the layout classed model usages
* @param companyId the primary key of the company
* @param start the lower bound of the range of layout classed model usages
* @param end the upper bound of the range of layout classed model usages (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the range of matching layout classed model usages, or an empty list if no matches were found
*/
@Override
public java.util.List
getLayoutClassedModelUsagesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesByUuidAndCompanyId(
uuid, companyId, start, end, orderByComparator);
}
/**
* Returns the number of layout classed model usages.
*
* @return the number of layout classed model usages
*/
@Override
public int getLayoutClassedModelUsagesCount() {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesCount();
}
@Override
public int getLayoutClassedModelUsagesCount(
long classNameId, long classPK) {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesCount(classNameId, classPK);
}
@Override
public int getLayoutClassedModelUsagesCount(
long classNameId, long classPK, int type) {
return _layoutClassedModelUsageLocalService.
getLayoutClassedModelUsagesCount(classNameId, classPK, type);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _layoutClassedModelUsageLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.getPersistedModel(
primaryKeyObj);
}
/**
* Updates the layout classed model usage in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect LayoutClassedModelUsageLocalServiceImpl 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 layoutClassedModelUsage the layout classed model usage
* @return the layout classed model usage that was updated
*/
@Override
public LayoutClassedModelUsage updateLayoutClassedModelUsage(
LayoutClassedModelUsage layoutClassedModelUsage) {
return _layoutClassedModelUsageLocalService.
updateLayoutClassedModelUsage(layoutClassedModelUsage);
}
@Override
public LayoutClassedModelUsage updateLayoutClassedModelUsage(
long classNameId, long classPK, String containerKey,
long containerType, long layoutClassedModelUsageId, long plid)
throws com.liferay.portal.kernel.exception.PortalException {
return _layoutClassedModelUsageLocalService.
updateLayoutClassedModelUsage(
classNameId, classPK, containerKey, containerType,
layoutClassedModelUsageId, plid);
}
@Override
public BasePersistence> getBasePersistence() {
return _layoutClassedModelUsageLocalService.getBasePersistence();
}
@Override
public CTPersistence getCTPersistence() {
return _layoutClassedModelUsageLocalService.getCTPersistence();
}
@Override
public Class getModelClass() {
return _layoutClassedModelUsageLocalService.getModelClass();
}
@Override
public R updateWithUnsafeFunction(
UnsafeFunction, R, E>
updateUnsafeFunction)
throws E {
return _layoutClassedModelUsageLocalService.updateWithUnsafeFunction(
updateUnsafeFunction);
}
@Override
public LayoutClassedModelUsageLocalService getWrappedService() {
return _layoutClassedModelUsageLocalService;
}
@Override
public void setWrappedService(
LayoutClassedModelUsageLocalService
layoutClassedModelUsageLocalService) {
_layoutClassedModelUsageLocalService =
layoutClassedModelUsageLocalService;
}
private LayoutClassedModelUsageLocalService
_layoutClassedModelUsageLocalService;
}