Liferay 6.1.2-ce-ga3

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleGroupInstanceService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MDRRuleGroupInstanceServiceBaseImpl, MDRRuleGroupInstanceServiceImpl, MDRRuleGroupInstanceServiceWrapper

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

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK, int start, int end, OrderByComparator orderByComparator)
           
 int getRuleGroupInstancesCount(String className, long classPK)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 MDRRuleGroupInstance updateRuleGroupInstance(long ruleGroupInstanceId, int priority)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.2-ce-ga3