Liferay 7.0-ce-m3

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleService

All Superinterfaces:
BaseService
All Known Implementing Classes:
MDRRuleServiceBaseImpl, MDRRuleServiceImpl, MDRRuleServiceWrapper

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

Provides the remote service interface for MDRRule. 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:
MDRRuleServiceUtil, MDRRuleServiceBaseImpl, MDRRuleServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
 MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettings, ServiceContext serviceContext)
           
 void deleteRule(long ruleId)
           
 MDRRule fetchRule(long ruleId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 MDRRule getRule(long ruleId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
 MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
 

Method Detail

addRule

@JSONWebService(mode=IGNORE)
MDRRule addRule(long ruleGroupId,
                                         Map<Locale,String> nameMap,
                                         Map<Locale,String> descriptionMap,
                                         String type,
                                         UnicodeProperties typeSettings,
                                         ServiceContext serviceContext)
                throws PortalException
Throws:
PortalException

addRule

MDRRule addRule(long ruleGroupId,
                Map<Locale,String> nameMap,
                Map<Locale,String> descriptionMap,
                String type,
                String typeSettings,
                ServiceContext serviceContext)
                throws PortalException
Throws:
PortalException

deleteRule

void deleteRule(long ruleId)
                throws PortalException
Throws:
PortalException

fetchRule

@Transactional(propagation=SUPPORTS,
               readOnly=true)
MDRRule fetchRule(long ruleId)
                  throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getRule

@Transactional(propagation=SUPPORTS,
               readOnly=true)
MDRRule getRule(long ruleId)
                throws PortalException
Throws:
PortalException

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateRule

MDRRule updateRule(long ruleId,
                   Map<Locale,String> nameMap,
                   Map<Locale,String> descriptionMap,
                   String type,
                   String typeSettings,
                   ServiceContext serviceContext)
                   throws PortalException
Throws:
PortalException

updateRule

MDRRule updateRule(long ruleId,
                   Map<Locale,String> nameMap,
                   Map<Locale,String> descriptionMap,
                   String type,
                   UnicodeProperties typeSettingsProperties,
                   ServiceContext serviceContext)
                   throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3