Liferay 7.0-ce-m6

com.liferay.portlet.mobiledevicerules.service.impl
Class MDRRuleGroupInstanceServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupInstanceServiceBaseImpl
          extended by com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleGroupInstanceServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, MDRRuleGroupInstanceService

public class MDRRuleGroupInstanceServiceImpl
extends MDRRuleGroupInstanceServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupInstanceServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, mdrActionLocalService, mdrActionPersistence, mdrActionService, mdrRuleGroupFinder, mdrRuleGroupInstanceLocalService, mdrRuleGroupInstancePersistence, mdrRuleGroupInstanceService, mdrRuleGroupLocalService, mdrRuleGroupPersistence, mdrRuleGroupService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
MDRRuleGroupInstanceServiceImpl()
           
 
Method Summary
 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)
           
 void deleteRuleGroupInstance(long ruleGroupInstanceId)
           
protected  long getGroupId(String className, long classPK)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK, int start, int end, OrderByComparator<MDRRuleGroupInstance> orderByComparator)
           
 int getRuleGroupInstancesCount(String className, long classPK)
           
 MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId, int priority)
           
 
Methods inherited from class com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupInstanceServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getMDRActionLocalService, getMDRActionPersistence, getMDRActionService, getMDRRuleGroupFinder, getMDRRuleGroupInstanceLocalService, getMDRRuleGroupInstancePersistence, getMDRRuleGroupInstanceService, getMDRRuleGroupLocalService, getMDRRuleGroupPersistence, getMDRRuleGroupService, getModelClass, getModelClassName, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setMDRActionLocalService, setMDRActionPersistence, setMDRActionService, setMDRRuleGroupFinder, setMDRRuleGroupInstanceLocalService, setMDRRuleGroupInstancePersistence, setMDRRuleGroupInstanceService, setMDRRuleGroupLocalService, setMDRRuleGroupPersistence, setMDRRuleGroupService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDRRuleGroupInstanceServiceImpl

public MDRRuleGroupInstanceServiceImpl()
Method Detail

addRuleGroupInstance

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

addRuleGroupInstance

public MDRRuleGroupInstance addRuleGroupInstance(long groupId,
                                                 String className,
                                                 long classPK,
                                                 long ruleGroupId,
                                                 ServiceContext serviceContext)
                                          throws PortalException
Throws:
PortalException

deleteRuleGroupInstance

public void deleteRuleGroupInstance(long ruleGroupInstanceId)
                             throws PortalException
Throws:
PortalException

getRuleGroupInstances

public List<MDRRuleGroupInstance> getRuleGroupInstances(String className,
                                                        long classPK,
                                                        int start,
                                                        int end,
                                                        OrderByComparator<MDRRuleGroupInstance> orderByComparator)

getRuleGroupInstancesCount

public int getRuleGroupInstancesCount(String className,
                                      long classPK)

updateRuleGroupInstance

public MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId,
                                                    int priority)
                                             throws PortalException
Throws:
PortalException

getGroupId

protected long getGroupId(String className,
                          long classPK)

Liferay 7.0-ce-m6