Liferay 7.0-ce-m6

com.liferay.portlet.mobiledevicerules.service
Class MDRRuleGroupInstanceLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<MDRRuleGroupInstanceLocalService>, MDRRuleGroupInstanceLocalService

@ProviderType
public class MDRRuleGroupInstanceLocalServiceWrapper
extends Object
implements MDRRuleGroupInstanceLocalService, ServiceWrapper<MDRRuleGroupInstanceLocalService>

Provides a wrapper for MDRRuleGroupInstanceLocalService.

See Also:
MDRRuleGroupInstanceLocalService

Constructor Summary
MDRRuleGroupInstanceLocalServiceWrapper(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
           
 
Method Summary
 MDRRuleGroupInstance addMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
          Adds the m d r rule group instance to the database.
 MDRRuleGroupInstance addRuleGroupInstance(long groupId, String className, long classPK, long ruleGroupId, int priority, ServiceContext serviceContext)
           
 MDRRuleGroupInstance addRuleGroupInstance(long groupId, String className, long classPK, long ruleGroupId, ServiceContext serviceContext)
           
 MDRRuleGroupInstance createMDRRuleGroupInstance(long ruleGroupInstanceId)
          Creates a new m d r rule group instance with the primary key.
 void deleteGroupRuleGroupInstances(long groupId)
           
 MDRRuleGroupInstance deleteMDRRuleGroupInstance(long ruleGroupInstanceId)
          Deletes the m d r rule group instance with the primary key from the database.
 MDRRuleGroupInstance deleteMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
          Deletes the m d r rule group instance from the database.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void deleteRuleGroupInstance(long ruleGroupInstanceId)
           
 void deleteRuleGroupInstance(MDRRuleGroupInstance ruleGroupInstance)
           
 void deleteRuleGroupInstances(long ruleGroupId)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 MDRRuleGroupInstance fetchMDRRuleGroupInstance(long ruleGroupInstanceId)
           
 MDRRuleGroupInstance fetchMDRRuleGroupInstanceByUuidAndGroupId(String uuid, long groupId)
          Returns the m d r rule group instance matching the UUID and group.
 MDRRuleGroupInstance fetchRuleGroupInstance(long ruleGroupInstanceId)
           
 MDRRuleGroupInstance fetchRuleGroupInstance(String className, long classPK, long ruleGroupId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 MDRRuleGroupInstance getMDRRuleGroupInstance(long ruleGroupInstanceId)
          Returns the m d r rule group instance with the primary key.
 MDRRuleGroupInstance getMDRRuleGroupInstanceByUuidAndGroupId(String uuid, long groupId)
          Returns the m d r rule group instance matching the UUID and group.
 List<MDRRuleGroupInstance> getMDRRuleGroupInstances(int start, int end)
          Returns a range of all the m d r rule group instances.
 List<MDRRuleGroupInstance> getMDRRuleGroupInstancesByUuidAndCompanyId(String uuid, long companyId)
          Returns all the m d r rule group instances matching the UUID and company.
 List<MDRRuleGroupInstance> getMDRRuleGroupInstancesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<MDRRuleGroupInstance> orderByComparator)
          Returns a range of m d r rule group instances matching the UUID and company.
 int getMDRRuleGroupInstancesCount()
          Returns the number of m d r rule group instances.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 MDRRuleGroupInstance getRuleGroupInstance(long ruleGroupInstanceId)
           
 MDRRuleGroupInstance getRuleGroupInstance(String className, long classPK, long ruleGroupId)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(long ruleGroupId)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(long ruleGroupId, int start, int end)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK, int start, int end, OrderByComparator<MDRRuleGroupInstance> orderByComparator)
           
 int getRuleGroupInstancesCount(long ruleGroupId)
           
 int getRuleGroupInstancesCount(String className, long classPK)
           
 MDRRuleGroupInstanceLocalService getWrappedMDRRuleGroupInstanceLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 MDRRuleGroupInstanceLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService)
 void setWrappedService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
           
 MDRRuleGroupInstance updateMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
          Updates the m d r rule group instance in the database or adds it if it does not yet exist.
 MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDRRuleGroupInstanceLocalServiceWrapper

public MDRRuleGroupInstanceLocalServiceWrapper(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
Method Detail

addMDRRuleGroupInstance

public MDRRuleGroupInstance addMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
Adds the m d r rule group instance to the database. Also notifies the appropriate model listeners.

Specified by:
addMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
mdrRuleGroupInstance - the m d r rule group instance
Returns:
the m d r rule group instance that was added

addRuleGroupInstance

public MDRRuleGroupInstance addRuleGroupInstance(long groupId,
                                                 String className,
                                                 long classPK,
                                                 long ruleGroupId,
                                                 int priority,
                                                 ServiceContext serviceContext)
                                          throws PortalException
Specified by:
addRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

addRuleGroupInstance

public MDRRuleGroupInstance addRuleGroupInstance(long groupId,
                                                 String className,
                                                 long classPK,
                                                 long ruleGroupId,
                                                 ServiceContext serviceContext)
                                          throws PortalException
Specified by:
addRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

createMDRRuleGroupInstance

public MDRRuleGroupInstance createMDRRuleGroupInstance(long ruleGroupInstanceId)
Creates a new m d r rule group instance with the primary key. Does not add the m d r rule group instance to the database.

Specified by:
createMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
ruleGroupInstanceId - the primary key for the new m d r rule group instance
Returns:
the new m d r rule group instance

deleteGroupRuleGroupInstances

public void deleteGroupRuleGroupInstances(long groupId)
Specified by:
deleteGroupRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

deleteMDRRuleGroupInstance

public MDRRuleGroupInstance deleteMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
Deletes the m d r rule group instance from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
mdrRuleGroupInstance - the m d r rule group instance
Returns:
the m d r rule group instance that was removed

deleteMDRRuleGroupInstance

public MDRRuleGroupInstance deleteMDRRuleGroupInstance(long ruleGroupInstanceId)
                                                throws PortalException
Deletes the m d r rule group instance with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
ruleGroupInstanceId - the primary key of the m d r rule group instance
Returns:
the m d r rule group instance that was removed
Throws:
PortalException - if a m d r rule group instance with the primary key could not be found

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

deleteRuleGroupInstance

public void deleteRuleGroupInstance(MDRRuleGroupInstance ruleGroupInstance)
Specified by:
deleteRuleGroupInstance in interface MDRRuleGroupInstanceLocalService

deleteRuleGroupInstance

public void deleteRuleGroupInstance(long ruleGroupInstanceId)
Specified by:
deleteRuleGroupInstance in interface MDRRuleGroupInstanceLocalService

deleteRuleGroupInstances

public void deleteRuleGroupInstances(long ruleGroupId)
Specified by:
deleteRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface MDRRuleGroupInstanceLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface MDRRuleGroupInstanceLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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 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.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl. 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.

Specified by:
dynamicQuery in interface MDRRuleGroupInstanceLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
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 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.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl. 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.

Specified by:
dynamicQuery in interface MDRRuleGroupInstanceLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface MDRRuleGroupInstanceLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface MDRRuleGroupInstanceLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchMDRRuleGroupInstance

public MDRRuleGroupInstance fetchMDRRuleGroupInstance(long ruleGroupInstanceId)
Specified by:
fetchMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService

fetchMDRRuleGroupInstanceByUuidAndGroupId

public MDRRuleGroupInstance fetchMDRRuleGroupInstanceByUuidAndGroupId(String uuid,
                                                                      long groupId)
Returns the m d r rule group instance matching the UUID and group.

Specified by:
fetchMDRRuleGroupInstanceByUuidAndGroupId in interface MDRRuleGroupInstanceLocalService
Parameters:
uuid - the m d r rule group instance's UUID
groupId - the primary key of the group
Returns:
the matching m d r rule group instance, or null if a matching m d r rule group instance could not be found

fetchRuleGroupInstance

public MDRRuleGroupInstance fetchRuleGroupInstance(String className,
                                                   long classPK,
                                                   long ruleGroupId)
Specified by:
fetchRuleGroupInstance in interface MDRRuleGroupInstanceLocalService

fetchRuleGroupInstance

public MDRRuleGroupInstance fetchRuleGroupInstance(long ruleGroupInstanceId)
Specified by:
fetchRuleGroupInstance in interface MDRRuleGroupInstanceLocalService

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface MDRRuleGroupInstanceLocalService

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface MDRRuleGroupInstanceLocalService
Returns:
the Spring bean ID for this bean

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface MDRRuleGroupInstanceLocalService

getMDRRuleGroupInstance

public MDRRuleGroupInstance getMDRRuleGroupInstance(long ruleGroupInstanceId)
                                             throws PortalException
Returns the m d r rule group instance with the primary key.

Specified by:
getMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
ruleGroupInstanceId - the primary key of the m d r rule group instance
Returns:
the m d r rule group instance
Throws:
PortalException - if a m d r rule group instance with the primary key could not be found

getMDRRuleGroupInstanceByUuidAndGroupId

public MDRRuleGroupInstance getMDRRuleGroupInstanceByUuidAndGroupId(String uuid,
                                                                    long groupId)
                                                             throws PortalException
Returns the m d r rule group instance matching the UUID and group.

Specified by:
getMDRRuleGroupInstanceByUuidAndGroupId in interface MDRRuleGroupInstanceLocalService
Parameters:
uuid - the m d r rule group instance's UUID
groupId - the primary key of the group
Returns:
the matching m d r rule group instance
Throws:
PortalException - if a matching m d r rule group instance could not be found

getMDRRuleGroupInstances

public List<MDRRuleGroupInstance> getMDRRuleGroupInstances(int start,
                                                           int end)
Returns a range of all the m d r rule group instances.

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.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl. 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.

Specified by:
getMDRRuleGroupInstances in interface MDRRuleGroupInstanceLocalService
Parameters:
start - the lower bound of the range of m d r rule group instances
end - the upper bound of the range of m d r rule group instances (not inclusive)
Returns:
the range of m d r rule group instances

getMDRRuleGroupInstancesByUuidAndCompanyId

public List<MDRRuleGroupInstance> getMDRRuleGroupInstancesByUuidAndCompanyId(String uuid,
                                                                             long companyId)
Returns all the m d r rule group instances matching the UUID and company.

Specified by:
getMDRRuleGroupInstancesByUuidAndCompanyId in interface MDRRuleGroupInstanceLocalService
Parameters:
uuid - the UUID of the m d r rule group instances
companyId - the primary key of the company
Returns:
the matching m d r rule group instances, or an empty list if no matches were found

getMDRRuleGroupInstancesByUuidAndCompanyId

public List<MDRRuleGroupInstance> getMDRRuleGroupInstancesByUuidAndCompanyId(String uuid,
                                                                             long companyId,
                                                                             int start,
                                                                             int end,
                                                                             OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Returns a range of m d r rule group instances matching the UUID and company.

Specified by:
getMDRRuleGroupInstancesByUuidAndCompanyId in interface MDRRuleGroupInstanceLocalService
Parameters:
uuid - the UUID of the m d r rule group instances
companyId - the primary key of the company
start - the lower bound of the range of m d r rule group instances
end - the upper bound of the range of m d r rule group instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching m d r rule group instances, or an empty list if no matches were found

getMDRRuleGroupInstancesCount

public int getMDRRuleGroupInstancesCount()
Returns the number of m d r rule group instances.

Specified by:
getMDRRuleGroupInstancesCount in interface MDRRuleGroupInstanceLocalService
Returns:
the number of m d r rule group instances

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

getRuleGroupInstance

public MDRRuleGroupInstance getRuleGroupInstance(String className,
                                                 long classPK,
                                                 long ruleGroupId)
                                          throws PortalException
Specified by:
getRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

getRuleGroupInstance

public MDRRuleGroupInstance getRuleGroupInstance(long ruleGroupInstanceId)
                                          throws PortalException
Specified by:
getRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

getRuleGroupInstances

public List<MDRRuleGroupInstance> getRuleGroupInstances(String className,
                                                        long classPK)
Specified by:
getRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

getRuleGroupInstances

public List<MDRRuleGroupInstance> getRuleGroupInstances(String className,
                                                        long classPK,
                                                        int start,
                                                        int end,
                                                        OrderByComparator<MDRRuleGroupInstance> orderByComparator)
Specified by:
getRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

getRuleGroupInstances

public List<MDRRuleGroupInstance> getRuleGroupInstances(long ruleGroupId)
Specified by:
getRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

getRuleGroupInstances

public List<MDRRuleGroupInstance> getRuleGroupInstances(long ruleGroupId,
                                                        int start,
                                                        int end)
Specified by:
getRuleGroupInstances in interface MDRRuleGroupInstanceLocalService

getRuleGroupInstancesCount

public int getRuleGroupInstancesCount(String className,
                                      long classPK)
Specified by:
getRuleGroupInstancesCount in interface MDRRuleGroupInstanceLocalService

getRuleGroupInstancesCount

public int getRuleGroupInstancesCount(long ruleGroupId)
Specified by:
getRuleGroupInstancesCount in interface MDRRuleGroupInstanceLocalService

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface MDRRuleGroupInstanceLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updateMDRRuleGroupInstance

public MDRRuleGroupInstance updateMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
Updates the m d r rule group instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMDRRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Parameters:
mdrRuleGroupInstance - the m d r rule group instance
Returns:
the m d r rule group instance that was updated

updateRuleGroupInstance

public MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId,
                                                    int priority)
                                             throws PortalException
Specified by:
updateRuleGroupInstance in interface MDRRuleGroupInstanceLocalService
Throws:
PortalException

getWrappedMDRRuleGroupInstanceLocalService

@Deprecated
public MDRRuleGroupInstanceLocalService getWrappedMDRRuleGroupInstanceLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedMDRRuleGroupInstanceLocalService

@Deprecated
public void setWrappedMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService)


getWrappedService

public MDRRuleGroupInstanceLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<MDRRuleGroupInstanceLocalService>

setWrappedService

public void setWrappedService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<MDRRuleGroupInstanceLocalService>

Liferay 7.0-ce-m6