Liferay 6.1.2-ce-ga3

com.liferay.portlet.mobiledevicerules.service
Interface MDRRuleService

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

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

The interface for the m d r rule 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:
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

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