@ProviderType
public class MDRRuleGroupInstanceServiceHttp
extends java.lang.Object
MDRRuleGroupInstanceServiceUtil 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.
MDRRuleGroupInstanceServiceSoap,
HttpPrincipal,
MDRRuleGroupInstanceServiceUtil| Constructor and Description |
|---|
MDRRuleGroupInstanceServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance |
addRuleGroupInstance(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String className,
long classPK,
long ruleGroupId,
int priority,
com.liferay.portal.service.ServiceContext serviceContext) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance |
addRuleGroupInstance(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String className,
long classPK,
long ruleGroupId,
com.liferay.portal.service.ServiceContext serviceContext) |
static void |
deleteRuleGroupInstance(HttpPrincipal httpPrincipal,
long ruleGroupInstanceId) |
static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> |
getRuleGroupInstances(HttpPrincipal httpPrincipal,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> orderByComparator) |
static int |
getRuleGroupInstancesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
long classPK) |
static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance |
updateRuleGroupInstance(HttpPrincipal httpPrincipal,
long ruleGroupInstanceId,
int priority) |
public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, long ruleGroupId, int priority, 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.MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, long ruleGroupId, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static void deleteRuleGroupInstance(HttpPrincipal httpPrincipal, long ruleGroupInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> getRuleGroupInstances(HttpPrincipal httpPrincipal, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> orderByComparator)
public static int getRuleGroupInstancesCount(HttpPrincipal httpPrincipal, java.lang.String className, long classPK)
public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance updateRuleGroupInstance(HttpPrincipal httpPrincipal, long ruleGroupInstanceId, int priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException