public class MDRRuleServiceUtil
extends java.lang.Object
com.liferay.mobile.device.rules.service.impl.MDRRuleServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.MDRRuleService
Constructor and Description |
---|
MDRRuleServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static MDRRule |
addRule(long ruleGroupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static MDRRule |
addRule(long ruleGroupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteRule(long ruleId) |
static MDRRule |
fetchRule(long ruleId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static MDRRule |
getRule(long ruleId) |
static MDRRuleService |
getService() |
static MDRRule |
updateRule(long ruleId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
java.lang.String typeSettings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MDRRule |
updateRule(long ruleId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String type,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static MDRRule addRule(long ruleGroupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String type, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
MDRRuleServiceUtil
to access the mdr rule remote service. Add custom service methods to com.liferay.mobile.device.rules.service.impl.MDRRuleServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.com.liferay.portal.kernel.exception.PortalException
public static MDRRule addRule(long ruleGroupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteRule(long ruleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MDRRule fetchRule(long ruleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static MDRRule getRule(long ruleId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MDRRule updateRule(long ruleId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String type, java.lang.String typeSettings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MDRRule updateRule(long ruleId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String type, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static MDRRuleService getService()