Liferay 6.2.0

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleService

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

@ProviderType
@AccessControlled
@JSONWebService
@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
abstract  MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
abstract  MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettings, ServiceContext serviceContext)
           
abstract  void deleteRule(long ruleId)
           
abstract  MDRRule fetchRule(long ruleId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  MDRRule getRule(long ruleId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
abstract  MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
 

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

addRule

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

addRule

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

deleteRule

void deleteRule(long ruleId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

fetchRule

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

getRule

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

updateRule

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

updateRule

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

Liferay 6.2.0