com.liferay.portlet.mobiledevicerules.service
Class MDRRuleServiceUtil
java.lang.Object
com.liferay.portlet.mobiledevicerules.service.MDRRuleServiceUtil
public class MDRRuleServiceUtil
- extends Object
The utility for the m d r rule remote service. This utility wraps com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
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:
MDRRuleService
,
com.liferay.portlet.mobiledevicerules.service.base.MDRRuleServiceBaseImpl
,
com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleServiceImpl
Method Summary |
static MDRRule |
addRule(long ruleGroupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings,
ServiceContext serviceContext)
|
static MDRRule |
addRule(long ruleGroupId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
UnicodeProperties typeSettings,
ServiceContext serviceContext)
|
static void |
deleteRule(long ruleId)
|
static MDRRule |
fetchRule(long ruleId)
|
static MDRRule |
getRule(long ruleId)
|
static MDRRuleService |
getService()
|
void |
setService(MDRRuleService service)
|
static MDRRule |
updateRule(long ruleId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
String typeSettings,
ServiceContext serviceContext)
|
static MDRRule |
updateRule(long ruleId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDRRuleServiceUtil
public MDRRuleServiceUtil()
addRule
public static 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
public static 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
public static void deleteRule(long ruleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchRule
public static MDRRule fetchRule(long ruleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRule
public static MDRRule getRule(long ruleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateRule
public static 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
public static MDRRule updateRule(long ruleId,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String type,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static MDRRuleService getService()
setService
public void setService(MDRRuleService service)