Liferay 6.1.2-ce-ga3

com.liferay.portlet.mobiledevicerules.service.http
Class MDRRuleGroupInstanceServiceHttp

java.lang.Object
  extended by com.liferay.portlet.mobiledevicerules.service.http.MDRRuleGroupInstanceServiceHttp

public class MDRRuleGroupInstanceServiceHttp
extends 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.

See Also:
MDRRuleGroupInstanceServiceSoap, HttpPrincipal, MDRRuleGroupInstanceServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
MDRRuleGroupInstanceServiceHttp()
           
 
Method Summary
static MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal, long groupId, String className, long classPK, long ruleGroupId, int priority, ServiceContext serviceContext)
           
static MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal, long groupId, String className, long classPK, long ruleGroupId, ServiceContext serviceContext)
           
static void deleteRuleGroupInstance(HttpPrincipal httpPrincipal, long ruleGroupInstanceId)
           
static List<MDRRuleGroupInstance> getRuleGroupInstances(HttpPrincipal httpPrincipal, String className, long classPK, int start, int end, OrderByComparator orderByComparator)
           
static int getRuleGroupInstancesCount(HttpPrincipal httpPrincipal, String className, long classPK)
           
static 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
 

Constructor Detail

MDRRuleGroupInstanceServiceHttp

public MDRRuleGroupInstanceServiceHttp()
Method Detail

addRuleGroupInstance

public static MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal,
                                                        long groupId,
                                                        String className,
                                                        long classPK,
                                                        long ruleGroupId,
                                                        int priority,
                                                        ServiceContext serviceContext)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

addRuleGroupInstance

public static MDRRuleGroupInstance addRuleGroupInstance(HttpPrincipal httpPrincipal,
                                                        long groupId,
                                                        String className,
                                                        long classPK,
                                                        long ruleGroupId,
                                                        ServiceContext serviceContext)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

deleteRuleGroupInstance

public static void deleteRuleGroupInstance(HttpPrincipal httpPrincipal,
                                           long ruleGroupInstanceId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getRuleGroupInstances

public static List<MDRRuleGroupInstance> getRuleGroupInstances(HttpPrincipal httpPrincipal,
                                                               String className,
                                                               long classPK,
                                                               int start,
                                                               int end,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException
Throws:
SystemException

getRuleGroupInstancesCount

public static int getRuleGroupInstancesCount(HttpPrincipal httpPrincipal,
                                             String className,
                                             long classPK)
                                      throws SystemException
Throws:
SystemException

updateRuleGroupInstance

public static MDRRuleGroupInstance updateRuleGroupInstance(HttpPrincipal httpPrincipal,
                                                           long ruleGroupInstanceId,
                                                           int priority)
                                                    throws PortalException,
                                                           SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3