@ProviderType public class MDRRuleGroupLocalServiceWrapper extends java.lang.Object implements MDRRuleGroupLocalService, com.liferay.portal.kernel.service.ServiceWrapper<MDRRuleGroupLocalService>
MDRRuleGroupLocalService
.MDRRuleGroupLocalService
Constructor and Description |
---|
MDRRuleGroupLocalServiceWrapper(MDRRuleGroupLocalService mdrRuleGroupLocalService) |
Modifier and Type | Method and Description |
---|---|
MDRRuleGroup |
addMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
Adds the mdr rule group to the database.
|
MDRRuleGroup |
addRuleGroup(long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MDRRuleGroup |
copyRuleGroup(long ruleGroupId,
long groupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MDRRuleGroup |
copyRuleGroup(MDRRuleGroup ruleGroup,
long groupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
MDRRuleGroup |
createMDRRuleGroup(long ruleGroupId)
Creates a new mdr rule group with the primary key.
|
MDRRuleGroup |
deleteMDRRuleGroup(long ruleGroupId)
Deletes the mdr rule group with the primary key from the database.
|
MDRRuleGroup |
deleteMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
Deletes the mdr rule group from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteRuleGroup(long ruleGroupId) |
void |
deleteRuleGroup(MDRRuleGroup ruleGroup) |
void |
deleteRuleGroups(long groupId) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
MDRRuleGroup |
fetchMDRRuleGroup(long ruleGroupId) |
MDRRuleGroup |
fetchMDRRuleGroupByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the mdr rule group matching the UUID and group.
|
MDRRuleGroup |
fetchRuleGroup(long ruleGroupId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
MDRRuleGroup |
getMDRRuleGroup(long ruleGroupId)
Returns the mdr rule group with the primary key.
|
MDRRuleGroup |
getMDRRuleGroupByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the mdr rule group matching the UUID and group.
|
java.util.List<MDRRuleGroup> |
getMDRRuleGroups(int start,
int end)
Returns a range of all the mdr rule groups.
|
java.util.List<MDRRuleGroup> |
getMDRRuleGroupsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the mdr rule groups matching the UUID and company.
|
java.util.List<MDRRuleGroup> |
getMDRRuleGroupsByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroup> orderByComparator)
Returns a range of mdr rule groups matching the UUID and company.
|
int |
getMDRRuleGroupsCount()
Returns the number of mdr rule groups.
|
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
MDRRuleGroup |
getRuleGroup(long ruleGroupId) |
java.util.List<MDRRuleGroup> |
getRuleGroups(long groupId) |
java.util.List<MDRRuleGroup> |
getRuleGroups(long[] groupIds,
int start,
int end) |
java.util.List<MDRRuleGroup> |
getRuleGroups(long groupId,
int start,
int end) |
int |
getRuleGroupsCount(long groupId) |
int |
getRuleGroupsCount(long[] groupIds) |
MDRRuleGroupLocalService |
getWrappedService() |
java.util.List<MDRRuleGroup> |
search(long groupId,
java.lang.String name,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end) |
java.util.List<MDRRuleGroup> |
searchByKeywords(long groupId,
java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end) |
java.util.List<MDRRuleGroup> |
searchByKeywords(long groupId,
java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroup> obc) |
int |
searchByKeywordsCount(long groupId,
java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator) |
int |
searchCount(long groupId,
java.lang.String name,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator) |
void |
setWrappedService(MDRRuleGroupLocalService mdrRuleGroupLocalService) |
MDRRuleGroup |
updateMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
Updates the mdr rule group in the database or adds it if it does not yet exist.
|
MDRRuleGroup |
updateRuleGroup(long ruleGroupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public MDRRuleGroupLocalServiceWrapper(MDRRuleGroupLocalService mdrRuleGroupLocalService)
public MDRRuleGroup addMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
addMDRRuleGroup
in interface MDRRuleGroupLocalService
mdrRuleGroup
- the mdr rule grouppublic MDRRuleGroup addRuleGroup(long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addRuleGroup
in interface MDRRuleGroupLocalService
com.liferay.portal.kernel.exception.PortalException
public MDRRuleGroup copyRuleGroup(long ruleGroupId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyRuleGroup
in interface MDRRuleGroupLocalService
com.liferay.portal.kernel.exception.PortalException
public MDRRuleGroup copyRuleGroup(MDRRuleGroup ruleGroup, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyRuleGroup
in interface MDRRuleGroupLocalService
com.liferay.portal.kernel.exception.PortalException
public MDRRuleGroup createMDRRuleGroup(long ruleGroupId)
createMDRRuleGroup
in interface MDRRuleGroupLocalService
ruleGroupId
- the primary key for the new mdr rule grouppublic MDRRuleGroup deleteMDRRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
deleteMDRRuleGroup
in interface MDRRuleGroupLocalService
ruleGroupId
- the primary key of the mdr rule groupPortalException
- if a mdr rule group with the primary key could not be foundpublic MDRRuleGroup deleteMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
deleteMDRRuleGroup
in interface MDRRuleGroupLocalService
mdrRuleGroup
- the mdr rule grouppublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface MDRRuleGroupLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public void deleteRuleGroup(long ruleGroupId)
deleteRuleGroup
in interface MDRRuleGroupLocalService
public void deleteRuleGroup(MDRRuleGroup ruleGroup)
deleteRuleGroup
in interface MDRRuleGroupLocalService
public void deleteRuleGroups(long groupId)
deleteRuleGroups
in interface MDRRuleGroupLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface MDRRuleGroupLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface MDRRuleGroupLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleGroupModelImpl
. 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.
dynamicQuery
in interface MDRRuleGroupLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleGroupModelImpl
. 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.
dynamicQuery
in interface MDRRuleGroupLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface MDRRuleGroupLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface MDRRuleGroupLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic MDRRuleGroup fetchMDRRuleGroup(long ruleGroupId)
fetchMDRRuleGroup
in interface MDRRuleGroupLocalService
public MDRRuleGroup fetchMDRRuleGroupByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchMDRRuleGroupByUuidAndGroupId
in interface MDRRuleGroupLocalService
uuid
- the mdr rule group's UUIDgroupId
- the primary key of the groupnull
if a matching mdr rule group could not be foundpublic MDRRuleGroup fetchRuleGroup(long ruleGroupId)
fetchRuleGroup
in interface MDRRuleGroupLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface MDRRuleGroupLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface MDRRuleGroupLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface MDRRuleGroupLocalService
public MDRRuleGroup getMDRRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
getMDRRuleGroup
in interface MDRRuleGroupLocalService
ruleGroupId
- the primary key of the mdr rule groupPortalException
- if a mdr rule group with the primary key could not be foundpublic MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getMDRRuleGroupByUuidAndGroupId
in interface MDRRuleGroupLocalService
uuid
- the mdr rule group's UUIDgroupId
- the primary key of the groupPortalException
- if a matching mdr rule group could not be foundpublic java.util.List<MDRRuleGroup> getMDRRuleGroups(int start, int end)
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 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 QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.mobile.device.rules.model.impl.MDRRuleGroupModelImpl
. 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.
getMDRRuleGroups
in interface MDRRuleGroupLocalService
start
- the lower bound of the range of mdr rule groupsend
- the upper bound of the range of mdr rule groups (not inclusive)public java.util.List<MDRRuleGroup> getMDRRuleGroupsByUuidAndCompanyId(java.lang.String uuid, long companyId)
getMDRRuleGroupsByUuidAndCompanyId
in interface MDRRuleGroupLocalService
uuid
- the UUID of the mdr rule groupscompanyId
- the primary key of the companypublic java.util.List<MDRRuleGroup> getMDRRuleGroupsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroup> orderByComparator)
getMDRRuleGroupsByUuidAndCompanyId
in interface MDRRuleGroupLocalService
uuid
- the UUID of the mdr rule groupscompanyId
- the primary key of the companystart
- the lower bound of the range of mdr rule groupsend
- the upper bound of the range of mdr rule groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getMDRRuleGroupsCount()
getMDRRuleGroupsCount
in interface MDRRuleGroupLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface MDRRuleGroupLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface MDRRuleGroupLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public MDRRuleGroup getRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
getRuleGroup
in interface MDRRuleGroupLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<MDRRuleGroup> getRuleGroups(long groupId)
getRuleGroups
in interface MDRRuleGroupLocalService
public java.util.List<MDRRuleGroup> getRuleGroups(long groupId, int start, int end)
getRuleGroups
in interface MDRRuleGroupLocalService
public java.util.List<MDRRuleGroup> getRuleGroups(long[] groupIds, int start, int end)
getRuleGroups
in interface MDRRuleGroupLocalService
public int getRuleGroupsCount(long groupId)
getRuleGroupsCount
in interface MDRRuleGroupLocalService
public int getRuleGroupsCount(long[] groupIds)
getRuleGroupsCount
in interface MDRRuleGroupLocalService
public java.util.List<MDRRuleGroup> search(long groupId, java.lang.String name, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end)
search
in interface MDRRuleGroupLocalService
public java.util.List<MDRRuleGroup> searchByKeywords(long groupId, java.lang.String keywords, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end)
searchByKeywords
in interface MDRRuleGroupLocalService
public java.util.List<MDRRuleGroup> searchByKeywords(long groupId, java.lang.String keywords, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MDRRuleGroup> obc)
searchByKeywords
in interface MDRRuleGroupLocalService
public int searchByKeywordsCount(long groupId, java.lang.String keywords, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator)
searchByKeywordsCount
in interface MDRRuleGroupLocalService
public int searchCount(long groupId, java.lang.String name, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator)
searchCount
in interface MDRRuleGroupLocalService
public MDRRuleGroup updateMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
updateMDRRuleGroup
in interface MDRRuleGroupLocalService
mdrRuleGroup
- the mdr rule grouppublic MDRRuleGroup updateRuleGroup(long ruleGroupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateRuleGroup
in interface MDRRuleGroupLocalService
com.liferay.portal.kernel.exception.PortalException
public MDRRuleGroupLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<MDRRuleGroupLocalService>
public void setWrappedService(MDRRuleGroupLocalService mdrRuleGroupLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<MDRRuleGroupLocalService>