Liferay 7.0-ce-m6

com.liferay.portlet.mobiledevicerules.service.base
Class MDRRuleGroupInstanceLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupInstanceLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, MDRRuleGroupInstanceLocalService
Direct Known Subclasses:
MDRRuleGroupInstanceLocalServiceImpl

@ProviderType
public abstract class MDRRuleGroupInstanceLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements MDRRuleGroupInstanceLocalService, IdentifiableBean

Provides the base implementation for the m d r rule group instance local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in MDRRuleGroupInstanceLocalServiceImpl.

See Also:
MDRRuleGroupInstanceLocalServiceImpl, MDRRuleGroupInstanceLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  ClassNameService classNameService
           
protected  CounterLocalService counterLocalService
           
protected  LayoutFinder layoutFinder
           
protected  LayoutLocalService layoutLocalService
           
protected  LayoutPersistence layoutPersistence
           
protected  LayoutService layoutService
           
protected  LayoutSetLocalService layoutSetLocalService
           
protected  LayoutSetPersistence layoutSetPersistence
           
protected  LayoutSetService layoutSetService
           
protected  MDRActionLocalService mdrActionLocalService
           
protected  MDRActionPersistence mdrActionPersistence
           
protected  MDRActionService mdrActionService
           
protected  MDRRuleGroupFinder mdrRuleGroupFinder
           
protected  MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService
           
protected  MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence
           
protected  MDRRuleGroupInstanceService mdrRuleGroupInstanceService
           
protected  MDRRuleGroupLocalService mdrRuleGroupLocalService
           
protected  MDRRuleGroupPersistence mdrRuleGroupPersistence
           
protected  MDRRuleGroupService mdrRuleGroupService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
MDRRuleGroupInstanceLocalServiceBaseImpl()
           
 
Method Summary
 MDRRuleGroupInstance addMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
          Adds the m d r rule group instance to the database.
 void afterPropertiesSet()
           
 MDRRuleGroupInstance createMDRRuleGroupInstance(long ruleGroupInstanceId)
          Creates a new m d r rule group instance with the primary key.
 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 destroy()
           
 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.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 ClassNameService getClassNameService()
          Returns the class name remote service.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 LayoutFinder getLayoutFinder()
          Returns the layout finder.
 LayoutLocalService getLayoutLocalService()
          Returns the layout local service.
 LayoutPersistence getLayoutPersistence()
          Returns the layout persistence.
 LayoutService getLayoutService()
          Returns the layout remote service.
 LayoutSetLocalService getLayoutSetLocalService()
          Returns the layout set local service.
 LayoutSetPersistence getLayoutSetPersistence()
          Returns the layout set persistence.
 LayoutSetService getLayoutSetService()
          Returns the layout set remote service.
 MDRActionLocalService getMDRActionLocalService()
          Returns the m d r action local service.
 MDRActionPersistence getMDRActionPersistence()
          Returns the m d r action persistence.
 MDRActionService getMDRActionService()
          Returns the m d r action remote service.
 MDRRuleGroupFinder getMDRRuleGroupFinder()
          Returns the m d r rule group finder.
 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.
 MDRRuleGroupInstanceLocalService getMDRRuleGroupInstanceLocalService()
          Returns the m d r rule group instance local service.
 MDRRuleGroupInstancePersistence getMDRRuleGroupInstancePersistence()
          Returns the m d r rule group instance persistence.
 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.
 MDRRuleGroupInstanceService getMDRRuleGroupInstanceService()
          Returns the m d r rule group instance remote service.
 MDRRuleGroupLocalService getMDRRuleGroupLocalService()
          Returns the m d r rule group local service.
 MDRRuleGroupPersistence getMDRRuleGroupPersistence()
          Returns the m d r rule group persistence.
 MDRRuleGroupService getMDRRuleGroupService()
          Returns the m d r rule group remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setClassNameService(ClassNameService classNameService)
          Sets the class name remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setLayoutFinder(LayoutFinder layoutFinder)
          Sets the layout finder.
 void setLayoutLocalService(LayoutLocalService layoutLocalService)
          Sets the layout local service.
 void setLayoutPersistence(LayoutPersistence layoutPersistence)
          Sets the layout persistence.
 void setLayoutService(LayoutService layoutService)
          Sets the layout remote service.
 void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
          Sets the layout set local service.
 void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
          Sets the layout set persistence.
 void setLayoutSetService(LayoutSetService layoutSetService)
          Sets the layout set remote service.
 void setMDRActionLocalService(MDRActionLocalService mdrActionLocalService)
          Sets the m d r action local service.
 void setMDRActionPersistence(MDRActionPersistence mdrActionPersistence)
          Sets the m d r action persistence.
 void setMDRActionService(MDRActionService mdrActionService)
          Sets the m d r action remote service.
 void setMDRRuleGroupFinder(MDRRuleGroupFinder mdrRuleGroupFinder)
          Sets the m d r rule group finder.
 void setMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
          Sets the m d r rule group instance local service.
 void setMDRRuleGroupInstancePersistence(MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence)
          Sets the m d r rule group instance persistence.
 void setMDRRuleGroupInstanceService(MDRRuleGroupInstanceService mdrRuleGroupInstanceService)
          Sets the m d r rule group instance remote service.
 void setMDRRuleGroupLocalService(MDRRuleGroupLocalService mdrRuleGroupLocalService)
          Sets the m d r rule group local service.
 void setMDRRuleGroupPersistence(MDRRuleGroupPersistence mdrRuleGroupPersistence)
          Sets the m d r rule group persistence.
 void setMDRRuleGroupService(MDRRuleGroupService mdrRuleGroupService)
          Sets the m d r rule group remote service.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 MDRRuleGroupInstance updateMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
          Updates the m d r rule group instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService
addRuleGroupInstance, addRuleGroupInstance, deleteGroupRuleGroupInstances, deleteRuleGroupInstance, deleteRuleGroupInstance, deleteRuleGroupInstances, fetchRuleGroupInstance, fetchRuleGroupInstance, getRuleGroupInstance, getRuleGroupInstance, getRuleGroupInstances, getRuleGroupInstances, getRuleGroupInstances, getRuleGroupInstances, getRuleGroupInstancesCount, getRuleGroupInstancesCount, updateRuleGroupInstance
 

Field Detail

mdrRuleGroupInstanceLocalService

@BeanReference(type=MDRRuleGroupInstanceLocalService.class)
protected MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService

mdrRuleGroupInstanceService

@BeanReference(type=MDRRuleGroupInstanceService.class)
protected MDRRuleGroupInstanceService mdrRuleGroupInstanceService

mdrRuleGroupInstancePersistence

@BeanReference(type=MDRRuleGroupInstancePersistence.class)
protected MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNameService

@BeanReference(type=ClassNameService.class)
protected ClassNameService classNameService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

layoutLocalService

@BeanReference(type=LayoutLocalService.class)
protected LayoutLocalService layoutLocalService

layoutService

@BeanReference(type=LayoutService.class)
protected LayoutService layoutService

layoutPersistence

@BeanReference(type=LayoutPersistence.class)
protected LayoutPersistence layoutPersistence

layoutFinder

@BeanReference(type=LayoutFinder.class)
protected LayoutFinder layoutFinder

layoutSetLocalService

@BeanReference(type=LayoutSetLocalService.class)
protected LayoutSetLocalService layoutSetLocalService

layoutSetService

@BeanReference(type=LayoutSetService.class)
protected LayoutSetService layoutSetService

layoutSetPersistence

@BeanReference(type=LayoutSetPersistence.class)
protected LayoutSetPersistence layoutSetPersistence

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

mdrActionLocalService

@BeanReference(type=MDRActionLocalService.class)
protected MDRActionLocalService mdrActionLocalService

mdrActionService

@BeanReference(type=MDRActionService.class)
protected MDRActionService mdrActionService

mdrActionPersistence

@BeanReference(type=MDRActionPersistence.class)
protected MDRActionPersistence mdrActionPersistence

mdrRuleGroupLocalService

@BeanReference(type=MDRRuleGroupLocalService.class)
protected MDRRuleGroupLocalService mdrRuleGroupLocalService

mdrRuleGroupService

@BeanReference(type=MDRRuleGroupService.class)
protected MDRRuleGroupService mdrRuleGroupService

mdrRuleGroupPersistence

@BeanReference(type=MDRRuleGroupPersistence.class)
protected MDRRuleGroupPersistence mdrRuleGroupPersistence

mdrRuleGroupFinder

@BeanReference(type=MDRRuleGroupFinder.class)
protected MDRRuleGroupFinder mdrRuleGroupFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

MDRRuleGroupInstanceLocalServiceBaseImpl

public MDRRuleGroupInstanceLocalServiceBaseImpl()
Method Detail

addMDRRuleGroupInstance

@Indexable(type=REINDEX)
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

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

deleteMDRRuleGroupInstance

@Indexable(type=DELETE)
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

deleteMDRRuleGroupInstance

@Indexable(type=DELETE)
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

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 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 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

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

getActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

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

deletePersistedModel

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

getPersistedModel

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

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

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 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

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

updateMDRRuleGroupInstance

@Indexable(type=REINDEX)
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

getMDRRuleGroupInstanceLocalService

public MDRRuleGroupInstanceLocalService getMDRRuleGroupInstanceLocalService()
Returns the m d r rule group instance local service.

Returns:
the m d r rule group instance local service

setMDRRuleGroupInstanceLocalService

public void setMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
Sets the m d r rule group instance local service.

Parameters:
mdrRuleGroupInstanceLocalService - the m d r rule group instance local service

getMDRRuleGroupInstanceService

public MDRRuleGroupInstanceService getMDRRuleGroupInstanceService()
Returns the m d r rule group instance remote service.

Returns:
the m d r rule group instance remote service

setMDRRuleGroupInstanceService

public void setMDRRuleGroupInstanceService(MDRRuleGroupInstanceService mdrRuleGroupInstanceService)
Sets the m d r rule group instance remote service.

Parameters:
mdrRuleGroupInstanceService - the m d r rule group instance remote service

getMDRRuleGroupInstancePersistence

public MDRRuleGroupInstancePersistence getMDRRuleGroupInstancePersistence()
Returns the m d r rule group instance persistence.

Returns:
the m d r rule group instance persistence

setMDRRuleGroupInstancePersistence

public void setMDRRuleGroupInstancePersistence(MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence)
Sets the m d r rule group instance persistence.

Parameters:
mdrRuleGroupInstancePersistence - the m d r rule group instance persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNameService

public ClassNameService getClassNameService()
Returns the class name remote service.

Returns:
the class name remote service

setClassNameService

public void setClassNameService(ClassNameService classNameService)
Sets the class name remote service.

Parameters:
classNameService - the class name remote service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getLayoutLocalService

public LayoutLocalService getLayoutLocalService()
Returns the layout local service.

Returns:
the layout local service

setLayoutLocalService

public void setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service.

Parameters:
layoutLocalService - the layout local service

getLayoutService

public LayoutService getLayoutService()
Returns the layout remote service.

Returns:
the layout remote service

setLayoutService

public void setLayoutService(LayoutService layoutService)
Sets the layout remote service.

Parameters:
layoutService - the layout remote service

getLayoutPersistence

public LayoutPersistence getLayoutPersistence()
Returns the layout persistence.

Returns:
the layout persistence

setLayoutPersistence

public void setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence.

Parameters:
layoutPersistence - the layout persistence

getLayoutFinder

public LayoutFinder getLayoutFinder()
Returns the layout finder.

Returns:
the layout finder

setLayoutFinder

public void setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder.

Parameters:
layoutFinder - the layout finder

getLayoutSetLocalService

public LayoutSetLocalService getLayoutSetLocalService()
Returns the layout set local service.

Returns:
the layout set local service

setLayoutSetLocalService

public void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
Sets the layout set local service.

Parameters:
layoutSetLocalService - the layout set local service

getLayoutSetService

public LayoutSetService getLayoutSetService()
Returns the layout set remote service.

Returns:
the layout set remote service

setLayoutSetService

public void setLayoutSetService(LayoutSetService layoutSetService)
Sets the layout set remote service.

Parameters:
layoutSetService - the layout set remote service

getLayoutSetPersistence

public LayoutSetPersistence getLayoutSetPersistence()
Returns the layout set persistence.

Returns:
the layout set persistence

setLayoutSetPersistence

public void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
Sets the layout set persistence.

Parameters:
layoutSetPersistence - the layout set persistence

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getMDRActionLocalService

public MDRActionLocalService getMDRActionLocalService()
Returns the m d r action local service.

Returns:
the m d r action local service

setMDRActionLocalService

public void setMDRActionLocalService(MDRActionLocalService mdrActionLocalService)
Sets the m d r action local service.

Parameters:
mdrActionLocalService - the m d r action local service

getMDRActionService

public MDRActionService getMDRActionService()
Returns the m d r action remote service.

Returns:
the m d r action remote service

setMDRActionService

public void setMDRActionService(MDRActionService mdrActionService)
Sets the m d r action remote service.

Parameters:
mdrActionService - the m d r action remote service

getMDRActionPersistence

public MDRActionPersistence getMDRActionPersistence()
Returns the m d r action persistence.

Returns:
the m d r action persistence

setMDRActionPersistence

public void setMDRActionPersistence(MDRActionPersistence mdrActionPersistence)
Sets the m d r action persistence.

Parameters:
mdrActionPersistence - the m d r action persistence

getMDRRuleGroupLocalService

public MDRRuleGroupLocalService getMDRRuleGroupLocalService()
Returns the m d r rule group local service.

Returns:
the m d r rule group local service

setMDRRuleGroupLocalService

public void setMDRRuleGroupLocalService(MDRRuleGroupLocalService mdrRuleGroupLocalService)
Sets the m d r rule group local service.

Parameters:
mdrRuleGroupLocalService - the m d r rule group local service

getMDRRuleGroupService

public MDRRuleGroupService getMDRRuleGroupService()
Returns the m d r rule group remote service.

Returns:
the m d r rule group remote service

setMDRRuleGroupService

public void setMDRRuleGroupService(MDRRuleGroupService mdrRuleGroupService)
Sets the m d r rule group remote service.

Parameters:
mdrRuleGroupService - the m d r rule group remote service

getMDRRuleGroupPersistence

public MDRRuleGroupPersistence getMDRRuleGroupPersistence()
Returns the m d r rule group persistence.

Returns:
the m d r rule group persistence

setMDRRuleGroupPersistence

public void setMDRRuleGroupPersistence(MDRRuleGroupPersistence mdrRuleGroupPersistence)
Sets the m d r rule group persistence.

Parameters:
mdrRuleGroupPersistence - the m d r rule group persistence

getMDRRuleGroupFinder

public MDRRuleGroupFinder getMDRRuleGroupFinder()
Returns the m d r rule group finder.

Returns:
the m d r rule group finder

setMDRRuleGroupFinder

public void setMDRRuleGroupFinder(MDRRuleGroupFinder mdrRuleGroupFinder)
Sets the m d r rule group finder.

Parameters:
mdrRuleGroupFinder - the m d r rule group finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

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

setBeanIdentifier

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

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

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-m6