com.liferay.mobile.device.rules.service.MDRRuleLocalServiceWrapper Maven / Gradle / Ivy
/**
* 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.mobile.device.rules.service;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.service.ServiceWrapper;
/**
* Provides a wrapper for {@link MDRRuleLocalService}.
*
* @author Edward C. Han
* @see MDRRuleLocalService
* @generated
*/
@ProviderType
public class MDRRuleLocalServiceWrapper
implements MDRRuleLocalService, ServiceWrapper {
public MDRRuleLocalServiceWrapper(MDRRuleLocalService mdrRuleLocalService) {
_mdrRuleLocalService = mdrRuleLocalService;
}
/**
* Adds the mdr rule to the database. Also notifies the appropriate model listeners.
*
* @param mdrRule the mdr rule
* @return the mdr rule that was added
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule addMDRRule(
com.liferay.mobile.device.rules.model.MDRRule mdrRule) {
return _mdrRuleLocalService.addMDRRule(mdrRule);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule addRule(
long ruleGroupId, java.util.Map nameMap,
java.util.Map descriptionMap, String type,
String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.addRule(
ruleGroupId, nameMap, descriptionMap, type, typeSettings,
serviceContext);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule addRule(
long ruleGroupId, java.util.Map nameMap,
java.util.Map descriptionMap, String type,
com.liferay.portal.kernel.util.UnicodeProperties
typeSettingsProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.addRule(
ruleGroupId, nameMap, descriptionMap, type, typeSettingsProperties,
serviceContext);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule copyRule(
long ruleId, long ruleGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.copyRule(
ruleId, ruleGroupId, serviceContext);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule copyRule(
com.liferay.mobile.device.rules.model.MDRRule rule,
long ruleGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.copyRule(rule, ruleGroupId, serviceContext);
}
/**
* Creates a new mdr rule with the primary key. Does not add the mdr rule to the database.
*
* @param ruleId the primary key for the new mdr rule
* @return the new mdr rule
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule createMDRRule(
long ruleId) {
return _mdrRuleLocalService.createMDRRule(ruleId);
}
/**
* Deletes the mdr rule with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param ruleId the primary key of the mdr rule
* @return the mdr rule that was removed
* @throws PortalException if a mdr rule with the primary key could not be found
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule deleteMDRRule(
long ruleId)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.deleteMDRRule(ruleId);
}
/**
* Deletes the mdr rule from the database. Also notifies the appropriate model listeners.
*
* @param mdrRule the mdr rule
* @return the mdr rule that was removed
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule deleteMDRRule(
com.liferay.mobile.device.rules.model.MDRRule mdrRule) {
return _mdrRuleLocalService.deleteMDRRule(mdrRule);
}
/**
* @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 _mdrRuleLocalService.deletePersistedModel(persistedModel);
}
@Override
public void deleteRule(long ruleId) {
_mdrRuleLocalService.deleteRule(ruleId);
}
@Override
public void deleteRule(com.liferay.mobile.device.rules.model.MDRRule rule) {
_mdrRuleLocalService.deleteRule(rule);
}
@Override
public void deleteRules(long ruleGroupId) {
_mdrRuleLocalService.deleteRules(ruleGroupId);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _mdrRuleLocalService.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 _mdrRuleLocalService.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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleModelImpl
. If both orderByComparator
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.
*
*
* @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 _mdrRuleLocalService.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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleModelImpl
. If both orderByComparator
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.
*
*
* @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 _mdrRuleLocalService.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 _mdrRuleLocalService.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 _mdrRuleLocalService.dynamicQueryCount(dynamicQuery, projection);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule fetchMDRRule(
long ruleId) {
return _mdrRuleLocalService.fetchMDRRule(ruleId);
}
/**
* Returns the mdr rule matching the UUID and group.
*
* @param uuid the mdr rule's UUID
* @param groupId the primary key of the group
* @return the matching mdr rule, or null
if a matching mdr rule could not be found
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule
fetchMDRRuleByUuidAndGroupId(String uuid, long groupId) {
return _mdrRuleLocalService.fetchMDRRuleByUuidAndGroupId(uuid, groupId);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule fetchRule(
long ruleId) {
return _mdrRuleLocalService.fetchRule(ruleId);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _mdrRuleLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery(
com.liferay.exportimport.kernel.lar.PortletDataContext
portletDataContext) {
return _mdrRuleLocalService.getExportActionableDynamicQuery(
portletDataContext);
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _mdrRuleLocalService.getIndexableActionableDynamicQuery();
}
/**
* Returns the mdr rule with the primary key.
*
* @param ruleId the primary key of the mdr rule
* @return the mdr rule
* @throws PortalException if a mdr rule with the primary key could not be found
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule getMDRRule(long ruleId)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.getMDRRule(ruleId);
}
/**
* Returns the mdr rule matching the UUID and group.
*
* @param uuid the mdr rule's UUID
* @param groupId the primary key of the group
* @return the matching mdr rule
* @throws PortalException if a matching mdr rule could not be found
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule
getMDRRuleByUuidAndGroupId(String uuid, long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.getMDRRuleByUuidAndGroupId(uuid, groupId);
}
/**
* Returns a range of all the mdr rules.
*
*
* 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 and pagination is required (start
and end
are not com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleModelImpl
. If both orderByComparator
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.
*
*
* @param start the lower bound of the range of mdr rules
* @param end the upper bound of the range of mdr rules (not inclusive)
* @return the range of mdr rules
*/
@Override
public java.util.List
getMDRRules(int start, int end) {
return _mdrRuleLocalService.getMDRRules(start, end);
}
/**
* Returns all the mdr rules matching the UUID and company.
*
* @param uuid the UUID of the mdr rules
* @param companyId the primary key of the company
* @return the matching mdr rules, or an empty list if no matches were found
*/
@Override
public java.util.List
getMDRRulesByUuidAndCompanyId(String uuid, long companyId) {
return _mdrRuleLocalService.getMDRRulesByUuidAndCompanyId(
uuid, companyId);
}
/**
* Returns a range of mdr rules matching the UUID and company.
*
* @param uuid the UUID of the mdr rules
* @param companyId the primary key of the company
* @param start the lower bound of the range of mdr rules
* @param end the upper bound of the range of mdr rules (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the range of matching mdr rules, or an empty list if no matches were found
*/
@Override
public java.util.List
getMDRRulesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return _mdrRuleLocalService.getMDRRulesByUuidAndCompanyId(
uuid, companyId, start, end, orderByComparator);
}
/**
* Returns the number of mdr rules.
*
* @return the number of mdr rules
*/
@Override
public int getMDRRulesCount() {
return _mdrRuleLocalService.getMDRRulesCount();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _mdrRuleLocalService.getOSGiServiceIdentifier();
}
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.getPersistedModel(primaryKeyObj);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule getRule(long ruleId)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.getRule(ruleId);
}
@Override
public java.util.List
getRules(long ruleGroupId) {
return _mdrRuleLocalService.getRules(ruleGroupId);
}
@Override
public java.util.List
getRules(long ruleGroupId, int start, int end) {
return _mdrRuleLocalService.getRules(ruleGroupId, start, end);
}
@Override
public java.util.List
getRules(
long ruleGroupId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
obc) {
return _mdrRuleLocalService.getRules(ruleGroupId, start, end, obc);
}
@Override
public int getRulesCount(long ruleGroupId) {
return _mdrRuleLocalService.getRulesCount(ruleGroupId);
}
/**
* Updates the mdr rule in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
* @param mdrRule the mdr rule
* @return the mdr rule that was updated
*/
@Override
public com.liferay.mobile.device.rules.model.MDRRule updateMDRRule(
com.liferay.mobile.device.rules.model.MDRRule mdrRule) {
return _mdrRuleLocalService.updateMDRRule(mdrRule);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule updateRule(
long ruleId, java.util.Map nameMap,
java.util.Map descriptionMap, String type,
String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.updateRule(
ruleId, nameMap, descriptionMap, type, typeSettings,
serviceContext);
}
@Override
public com.liferay.mobile.device.rules.model.MDRRule updateRule(
long ruleId, java.util.Map nameMap,
java.util.Map descriptionMap, String type,
com.liferay.portal.kernel.util.UnicodeProperties
typeSettingsProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _mdrRuleLocalService.updateRule(
ruleId, nameMap, descriptionMap, type, typeSettingsProperties,
serviceContext);
}
@Override
public MDRRuleLocalService getWrappedService() {
return _mdrRuleLocalService;
}
@Override
public void setWrappedService(MDRRuleLocalService mdrRuleLocalService) {
_mdrRuleLocalService = mdrRuleLocalService;
}
private MDRRuleLocalService _mdrRuleLocalService;
}