Liferay 7.0-ce-m3

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleGroupInstanceService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MDRRuleGroupInstanceServiceWrapper

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

Provides the remote service interface for MDRRuleGroupInstance. 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, com.liferay.portlet.mobiledevicerules.service.base.MDRRuleGroupInstanceServiceBaseImpl, com.liferay.portlet.mobiledevicerules.service.impl.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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<MDRRuleGroupInstance> getRuleGroupInstances(String className, long classPK, int start, int end, OrderByComparator<MDRRuleGroupInstance> 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

addRuleGroupInstance

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

addRuleGroupInstance

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

deleteRuleGroupInstance

void deleteRuleGroupInstance(long ruleGroupInstanceId)
                             throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getRuleGroupInstances

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

getRuleGroupInstancesCount

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateRuleGroupInstance

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

Liferay 7.0-ce-m3