com.liferay.portlet.mobiledevicerules.service.http
Class MDRRuleGroupInstanceServiceHttp
java.lang.Object
com.liferay.portlet.mobiledevicerules.service.http.MDRRuleGroupInstanceServiceHttp
public class MDRRuleGroupInstanceServiceHttp
- extends java.lang.Object
This class provides a HTTP utility for the
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.
- Author:
- Edward C. Han
- See Also:
MDRRuleGroupInstanceServiceSoap,
HttpPrincipal,
MDRRuleGroupInstanceServiceUtil- Generated:
|
Method Summary |
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 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDRRuleGroupInstanceServiceHttp
public MDRRuleGroupInstanceServiceHttp()
addRuleGroupInstance
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.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addRuleGroupInstance
public 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.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteRuleGroupInstance
public static void deleteRuleGroupInstance(HttpPrincipal httpPrincipal,
long ruleGroupInstanceId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getRuleGroupInstances
public 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 orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getRuleGroupInstancesCount
public static int getRuleGroupInstancesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateRuleGroupInstance
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.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException