@ProviderType
public class MDRRuleGroupServiceHttp
extends java.lang.Object
MDRRuleGroupServiceUtil service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
MDRRuleGroupServiceSoap,
HttpPrincipal,
MDRRuleGroupServiceUtil| Constructor and Description |
|---|
MDRRuleGroupServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup |
addRuleGroup(HttpPrincipal httpPrincipal,
long groupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup |
copyRuleGroup(HttpPrincipal httpPrincipal,
long ruleGroupId,
long groupId,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteRuleGroup(HttpPrincipal httpPrincipal,
long ruleGroupId) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup |
fetchRuleGroup(HttpPrincipal httpPrincipal,
long ruleGroupId) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup |
getRuleGroup(HttpPrincipal httpPrincipal,
long ruleGroupId) |
static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> |
getRuleGroups(HttpPrincipal httpPrincipal,
long[] groupIds,
int start,
int end) |
static int |
getRuleGroupsCount(HttpPrincipal httpPrincipal,
long[] groupIds) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup |
updateRuleGroup(HttpPrincipal httpPrincipal,
long ruleGroupId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext) |
public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup addRuleGroup(HttpPrincipal httpPrincipal, long groupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup copyRuleGroup(HttpPrincipal httpPrincipal, long ruleGroupId, long groupId, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteRuleGroup(HttpPrincipal httpPrincipal, long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(HttpPrincipal httpPrincipal, long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(HttpPrincipal httpPrincipal, long ruleGroupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup> getRuleGroups(HttpPrincipal httpPrincipal, long[] groupIds, int start, int end)
public static int getRuleGroupsCount(HttpPrincipal httpPrincipal, long[] groupIds)
public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup updateRuleGroup(HttpPrincipal httpPrincipal, long ruleGroupId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException