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.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
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) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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> orderByComparator) |
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)
Important: Inspect MDRRuleGroupLocalServiceImpl 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.
addMDRRuleGroup in interface MDRRuleGroupLocalServicemdrRuleGroup - 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 MDRRuleGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MDRRuleGroup copyRuleGroup(long ruleGroupId, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyRuleGroup in interface MDRRuleGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MDRRuleGroup copyRuleGroup(MDRRuleGroup ruleGroup, long groupId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
copyRuleGroup in interface MDRRuleGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic MDRRuleGroup createMDRRuleGroup(long ruleGroupId)
createMDRRuleGroup in interface MDRRuleGroupLocalServiceruleGroupId - the primary key for the new mdr rule grouppublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface MDRRuleGroupLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MDRRuleGroup deleteMDRRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect MDRRuleGroupLocalServiceImpl 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.
deleteMDRRuleGroup in interface MDRRuleGroupLocalServiceruleGroupId - 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)
Important: Inspect MDRRuleGroupLocalServiceImpl 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.
deleteMDRRuleGroup in interface MDRRuleGroupLocalServicemdrRuleGroup - 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 MDRRuleGroupLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteRuleGroup(long ruleGroupId)
deleteRuleGroup in interface MDRRuleGroupLocalServicepublic void deleteRuleGroup(MDRRuleGroup ruleGroup)
deleteRuleGroup in interface MDRRuleGroupLocalServicepublic void deleteRuleGroups(long groupId)
deleteRuleGroups in interface MDRRuleGroupLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface MDRRuleGroupLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface MDRRuleGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface MDRRuleGroupLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface MDRRuleGroupLocalServicedynamicQuery - 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 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.mobile.device.rules.model.impl.MDRRuleGroupModelImpl.
dynamicQuery in interface MDRRuleGroupLocalServicedynamicQuery - 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 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.mobile.device.rules.model.impl.MDRRuleGroupModelImpl.
dynamicQuery in interface MDRRuleGroupLocalServicedynamicQuery - 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 MDRRuleGroupLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface MDRRuleGroupLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic MDRRuleGroup fetchMDRRuleGroup(long ruleGroupId)
fetchMDRRuleGroup in interface MDRRuleGroupLocalServicepublic MDRRuleGroup fetchMDRRuleGroupByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchMDRRuleGroupByUuidAndGroupId in interface MDRRuleGroupLocalServiceuuid - 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 MDRRuleGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface MDRRuleGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface MDRRuleGroupLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface MDRRuleGroupLocalServicepublic MDRRuleGroup getMDRRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
getMDRRuleGroup in interface MDRRuleGroupLocalServiceruleGroupId - 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 MDRRuleGroupLocalServiceuuid - 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 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.mobile.device.rules.model.impl.MDRRuleGroupModelImpl.
getMDRRuleGroups in interface MDRRuleGroupLocalServicestart - 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 MDRRuleGroupLocalServiceuuid - 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 MDRRuleGroupLocalServiceuuid - 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 MDRRuleGroupLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MDRRuleGroupLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface MDRRuleGroupLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic MDRRuleGroup getRuleGroup(long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
getRuleGroup in interface MDRRuleGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<MDRRuleGroup> getRuleGroups(long groupId)
getRuleGroups in interface MDRRuleGroupLocalServicepublic java.util.List<MDRRuleGroup> getRuleGroups(long groupId, int start, int end)
getRuleGroups in interface MDRRuleGroupLocalServicepublic java.util.List<MDRRuleGroup> getRuleGroups(long[] groupIds, int start, int end)
getRuleGroups in interface MDRRuleGroupLocalServicepublic int getRuleGroupsCount(long groupId)
getRuleGroupsCount in interface MDRRuleGroupLocalServicepublic int getRuleGroupsCount(long[] groupIds)
getRuleGroupsCount in interface MDRRuleGroupLocalServicepublic 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 MDRRuleGroupLocalServicepublic 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 MDRRuleGroupLocalServicepublic 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> orderByComparator)
searchByKeywords in interface MDRRuleGroupLocalServicepublic int searchByKeywordsCount(long groupId,
java.lang.String keywords,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator)
searchByKeywordsCount in interface MDRRuleGroupLocalServicepublic int searchCount(long groupId,
java.lang.String name,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
boolean andOperator)
searchCount in interface MDRRuleGroupLocalServicepublic MDRRuleGroup updateMDRRuleGroup(MDRRuleGroup mdrRuleGroup)
Important: Inspect MDRRuleGroupLocalServiceImpl 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.
updateMDRRuleGroup in interface MDRRuleGroupLocalServicemdrRuleGroup - 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 MDRRuleGroupLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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>