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

java.lang.Object
  extended by com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Direct Known Subclasses:
MDRRuleGroupLocalServiceImpl

public abstract class MDRRuleGroupLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the m d r rule group 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 MDRRuleGroupLocalServiceImpl.

Author:
Edward C. Han
See Also:
MDRRuleGroupLocalServiceImpl, MDRRuleGroupLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.service.persistence.GroupFinder groupFinder
           
protected  com.liferay.portal.service.GroupLocalService groupLocalService
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.GroupService groupService
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService mdrActionLocalService
           
protected  com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence mdrActionPersistence
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRActionService mdrActionService
           
protected  com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder mdrRuleGroupFinder
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService
           
protected  com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService mdrRuleGroupInstanceService
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService mdrRuleGroupLocalService
           
protected  com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence mdrRuleGroupPersistence
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService mdrRuleGroupService
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService mdrRuleLocalService
           
protected  com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence mdrRulePersistence
           
protected  com.liferay.portlet.mobiledevicerules.service.MDRRuleService mdrRuleService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
MDRRuleGroupLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
          Adds the m d r rule group to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup createMDRRuleGroup(long ruleGroupId)
          Creates a new m d r rule group with the primary key.
 void deleteMDRRuleGroup(long ruleGroupId)
          Deletes the m d r rule group with the primary key from the database.
 void deleteMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
          Deletes the m d r rule group from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List 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.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator 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 that match the dynamic query.
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroup(long ruleGroupId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
          Returns the group finder.
 com.liferay.portal.service.GroupLocalService getGroupLocalService()
          Returns the group local service.
 com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
          Returns the group persistence.
 com.liferay.portal.service.GroupService getGroupService()
          Returns the group remote service.
 com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService getMDRActionLocalService()
          Returns the m d r action local service.
 com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence getMDRActionPersistence()
          Returns the m d r action persistence.
 com.liferay.portlet.mobiledevicerules.service.MDRActionService getMDRActionService()
          Returns the m d r action remote service.
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroup(long ruleGroupId)
          Returns the m d r rule group with the primary key.
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the m d r rule group with the UUID in the group.
 com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder getMDRRuleGroupFinder()
          Returns the m d r rule group finder.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService getMDRRuleGroupInstanceLocalService()
          Returns the m d r rule group instance local service.
 com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence getMDRRuleGroupInstancePersistence()
          Returns the m d r rule group instance persistence.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService getMDRRuleGroupInstanceService()
          Returns the m d r rule group instance remote service.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService getMDRRuleGroupLocalService()
          Returns the m d r rule group local service.
 com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence getMDRRuleGroupPersistence()
          Returns the m d r rule group persistence.
 java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getMDRRuleGroups(int start, int end)
          Returns a range of all the m d r rule groups.
 int getMDRRuleGroupsCount()
          Returns the number of m d r rule groups.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService getMDRRuleGroupService()
          Returns the m d r rule group remote service.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService getMDRRuleLocalService()
          Returns the m d r rule local service.
 com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence getMDRRulePersistence()
          Returns the m d r rule persistence.
 com.liferay.portlet.mobiledevicerules.service.MDRRuleService getMDRRuleService()
          Returns the m d r rule remote service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(com.liferay.portal.service.GroupService groupService)
          Sets the group remote service.
 void setMDRActionLocalService(com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService mdrActionLocalService)
          Sets the m d r action local service.
 void setMDRActionPersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence mdrActionPersistence)
          Sets the m d r action persistence.
 void setMDRActionService(com.liferay.portlet.mobiledevicerules.service.MDRActionService mdrActionService)
          Sets the m d r action remote service.
 void setMDRRuleGroupFinder(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder mdrRuleGroupFinder)
          Sets the m d r rule group finder.
 void setMDRRuleGroupInstanceLocalService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
          Sets the m d r rule group instance local service.
 void setMDRRuleGroupInstancePersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence)
          Sets the m d r rule group instance persistence.
 void setMDRRuleGroupInstanceService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService mdrRuleGroupInstanceService)
          Sets the m d r rule group instance remote service.
 void setMDRRuleGroupLocalService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService mdrRuleGroupLocalService)
          Sets the m d r rule group local service.
 void setMDRRuleGroupPersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence mdrRuleGroupPersistence)
          Sets the m d r rule group persistence.
 void setMDRRuleGroupService(com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService mdrRuleGroupService)
          Sets the m d r rule group remote service.
 void setMDRRuleLocalService(com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService mdrRuleLocalService)
          Sets the m d r rule local service.
 void setMDRRulePersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence mdrRulePersistence)
          Sets the m d r rule persistence.
 void setMDRRuleService(com.liferay.portlet.mobiledevicerules.service.MDRRuleService mdrRuleService)
          Sets the m d r rule remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
          Updates the m d r rule group in the database or adds it if it does not yet exist.
 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup, boolean merge)
          Updates the m d r rule group in the database or adds it if it does not yet exist.
 
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.MDRRuleGroupLocalService
addRuleGroup, copyRuleGroup, copyRuleGroup, deleteRuleGroup, deleteRuleGroup, deleteRuleGroups, fetchRuleGroup, getRuleGroup, getRuleGroups, getRuleGroups, getRuleGroupsCount, search, searchByKeywords, searchByKeywordsCount, searchCount, updateRuleGroup
 

Field Detail

mdrActionLocalService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService mdrActionLocalService

mdrActionService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRActionService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRActionService mdrActionService

mdrActionPersistence

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence.class)
protected com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence mdrActionPersistence

mdrRuleLocalService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService mdrRuleLocalService

mdrRuleService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleService mdrRuleService

mdrRulePersistence

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence.class)
protected com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence mdrRulePersistence

mdrRuleGroupLocalService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService mdrRuleGroupLocalService

mdrRuleGroupService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService mdrRuleGroupService

mdrRuleGroupPersistence

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence.class)
protected com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence mdrRuleGroupPersistence

mdrRuleGroupFinder

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder.class)
protected com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder mdrRuleGroupFinder

mdrRuleGroupInstanceLocalService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService

mdrRuleGroupInstanceService

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService.class)
protected com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService mdrRuleGroupInstanceService

mdrRuleGroupInstancePersistence

@BeanReference(type=com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence.class)
protected com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=com.liferay.portal.service.GroupLocalService.class)
protected com.liferay.portal.service.GroupLocalService groupLocalService

groupService

@BeanReference(type=com.liferay.portal.service.GroupService.class)
protected com.liferay.portal.service.GroupService groupService

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

groupFinder

@BeanReference(type=com.liferay.portal.service.persistence.GroupFinder.class)
protected com.liferay.portal.service.persistence.GroupFinder groupFinder

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

MDRRuleGroupLocalServiceBaseImpl

public MDRRuleGroupLocalServiceBaseImpl()
Method Detail

addMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Adds the m d r rule group to the database. Also notifies the appropriate model listeners.

Specified by:
addMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
mdrRuleGroup - the m d r rule group
Returns:
the m d r rule group that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup createMDRRuleGroup(long ruleGroupId)
Creates a new m d r rule group with the primary key. Does not add the m d r rule group to the database.

Specified by:
createMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
ruleGroupId - the primary key for the new m d r rule group
Returns:
the new m d r rule group

deleteMDRRuleGroup

public void deleteMDRRuleGroup(long ruleGroupId)
                        throws com.liferay.portal.kernel.exception.PortalException,
                               com.liferay.portal.kernel.exception.SystemException
Deletes the m d r rule group with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
ruleGroupId - the primary key of the m d r rule group
Throws:
com.liferay.portal.kernel.exception.PortalException - if a m d r rule group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteMDRRuleGroup

public void deleteMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
                        throws com.liferay.portal.kernel.exception.SystemException
Deletes the m d r rule group from the database. Also notifies the appropriate model listeners.

Specified by:
deleteMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
mdrRuleGroup - the m d r rule group
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.SystemException
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.

Specified by:
dynamicQuery in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
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
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.SystemException
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.

Specified by:
dynamicQuery in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
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
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchMDRRuleGroup(long ruleGroupId)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroup(long ruleGroupId)
                                                                         throws com.liferay.portal.kernel.exception.PortalException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the m d r rule group with the primary key.

Specified by:
getMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
ruleGroupId - the primary key of the m d r rule group
Returns:
the m d r rule group
Throws:
com.liferay.portal.kernel.exception.PortalException - if a m d r rule group with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getMDRRuleGroupByUuidAndGroupId

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getMDRRuleGroupByUuidAndGroupId(java.lang.String uuid,
                                                                                                long groupId)
                                                                                         throws com.liferay.portal.kernel.exception.PortalException,
                                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the m d r rule group with the UUID in the group.

Specified by:
getMDRRuleGroupByUuidAndGroupId in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
uuid - the UUID of m d r rule group
groupId - the group id of the m d r rule group
Returns:
the m d r rule group
Throws:
com.liferay.portal.kernel.exception.PortalException - if a m d r rule group with the UUID in the group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getMDRRuleGroups

public java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getMDRRuleGroups(int start,
                                                                                                 int end)
                                                                                          throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the m d r rule groups.

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.

Specified by:
getMDRRuleGroups in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
start - the lower bound of the range of m d r rule groups
end - the upper bound of the range of m d r rule groups (not inclusive)
Returns:
the range of m d r rule groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getMDRRuleGroupsCount

public int getMDRRuleGroupsCount()
                          throws com.liferay.portal.kernel.exception.SystemException
Returns the number of m d r rule groups.

Specified by:
getMDRRuleGroupsCount in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Returns:
the number of m d r rule groups
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Updates the m d r rule group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
mdrRuleGroup - the m d r rule group
Returns:
the m d r rule group that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateMDRRuleGroup

public com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateMDRRuleGroup(com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup mdrRuleGroup,
                                                                                   boolean merge)
                                                                            throws com.liferay.portal.kernel.exception.SystemException
Updates the m d r rule group in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateMDRRuleGroup in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
mdrRuleGroup - the m d r rule group
merge - whether to merge the m d r rule group with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the m d r rule group that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getMDRActionLocalService

public com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService getMDRActionLocalService()
Returns the m d r action local service.

Returns:
the m d r action local service

setMDRActionLocalService

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

Parameters:
mdrActionLocalService - the m d r action local service

getMDRActionService

public com.liferay.portlet.mobiledevicerules.service.MDRActionService getMDRActionService()
Returns the m d r action remote service.

Returns:
the m d r action remote service

setMDRActionService

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

Parameters:
mdrActionService - the m d r action remote service

getMDRActionPersistence

public com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence getMDRActionPersistence()
Returns the m d r action persistence.

Returns:
the m d r action persistence

setMDRActionPersistence

public void setMDRActionPersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence mdrActionPersistence)
Sets the m d r action persistence.

Parameters:
mdrActionPersistence - the m d r action persistence

getMDRRuleLocalService

public com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService getMDRRuleLocalService()
Returns the m d r rule local service.

Returns:
the m d r rule local service

setMDRRuleLocalService

public void setMDRRuleLocalService(com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService mdrRuleLocalService)
Sets the m d r rule local service.

Parameters:
mdrRuleLocalService - the m d r rule local service

getMDRRuleService

public com.liferay.portlet.mobiledevicerules.service.MDRRuleService getMDRRuleService()
Returns the m d r rule remote service.

Returns:
the m d r rule remote service

setMDRRuleService

public void setMDRRuleService(com.liferay.portlet.mobiledevicerules.service.MDRRuleService mdrRuleService)
Sets the m d r rule remote service.

Parameters:
mdrRuleService - the m d r rule remote service

getMDRRulePersistence

public com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence getMDRRulePersistence()
Returns the m d r rule persistence.

Returns:
the m d r rule persistence

setMDRRulePersistence

public void setMDRRulePersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence mdrRulePersistence)
Sets the m d r rule persistence.

Parameters:
mdrRulePersistence - the m d r rule persistence

getMDRRuleGroupLocalService

public com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService getMDRRuleGroupLocalService()
Returns the m d r rule group local service.

Returns:
the m d r rule group local service

setMDRRuleGroupLocalService

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

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

getMDRRuleGroupService

public com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService getMDRRuleGroupService()
Returns the m d r rule group remote service.

Returns:
the m d r rule group remote service

setMDRRuleGroupService

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

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

getMDRRuleGroupPersistence

public com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence getMDRRuleGroupPersistence()
Returns the m d r rule group persistence.

Returns:
the m d r rule group persistence

setMDRRuleGroupPersistence

public void setMDRRuleGroupPersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence mdrRuleGroupPersistence)
Sets the m d r rule group persistence.

Parameters:
mdrRuleGroupPersistence - the m d r rule group persistence

getMDRRuleGroupFinder

public com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder getMDRRuleGroupFinder()
Returns the m d r rule group finder.

Returns:
the m d r rule group finder

setMDRRuleGroupFinder

public void setMDRRuleGroupFinder(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder mdrRuleGroupFinder)
Sets the m d r rule group finder.

Parameters:
mdrRuleGroupFinder - the m d r rule group finder

getMDRRuleGroupInstanceLocalService

public com.liferay.portlet.mobiledevicerules.service.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(com.liferay.portlet.mobiledevicerules.service.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 com.liferay.portlet.mobiledevicerules.service.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(com.liferay.portlet.mobiledevicerules.service.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 com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence getMDRRuleGroupInstancePersistence()
Returns the m d r rule group instance persistence.

Returns:
the m d r rule group instance persistence

setMDRRuleGroupInstancePersistence

public void setMDRRuleGroupInstancePersistence(com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence)
Sets the m d r rule group instance persistence.

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

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public com.liferay.portal.service.GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public com.liferay.portal.service.GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(com.liferay.portal.service.GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(com.liferay.portal.service.ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException