Liferay 6.2-ce-ga5

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleGroupInstanceService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MDRRuleGroupInstanceServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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 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.2-ce-ga5