Liferay 6.1.10-ee-ga1

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleGroupInstanceService

All Known Implementing Classes:
MDRRuleGroupInstanceServiceBaseImpl, MDRRuleGroupInstanceServiceImpl, MDRRuleGroupInstanceServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface MDRRuleGroupInstanceService

The interface for the m d r rule group instance remote service.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
MDRRuleGroupInstanceServiceUtil, MDRRuleGroupInstanceServiceBaseImpl, MDRRuleGroupInstanceServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK, int start, int end, OrderByComparator orderByComparator)
           
 int getRuleGroupInstancesCount(String className, long classPK)
           
 MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId, int priority)
           
 

Method Detail

addRuleGroupInstance

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

addRuleGroupInstance

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

deleteRuleGroupInstance

void deleteRuleGroupInstance(long ruleGroupInstanceId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getRuleGroupInstances

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<MDRRuleGroupInstance> getRuleGroupInstances(String className,
                                                                                          long classPK,
                                                                                          int start,
                                                                                          int end,
                                                                                          OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException

getRuleGroupInstancesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getRuleGroupInstancesCount(String className,
                                                                        long classPK)
                               throws SystemException
Throws:
SystemException

updateRuleGroupInstance

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

Liferay 6.1.10-ee-ga1