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

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

public class MDRRuleGroupServiceHttp
extends java.lang.Object

This class provides a HTTP utility for the 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.

Author:
Edward C. Han
See Also:
MDRRuleGroupServiceSoap, HttpPrincipal, MDRRuleGroupServiceUtil
Generated:

Constructor Summary
MDRRuleGroupServiceHttp()
           
 
Method Summary
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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDRRuleGroupServiceHttp

public MDRRuleGroupServiceHttp()
Method Detail

addRuleGroup

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.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

copyRuleGroup

public 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.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteRuleGroup

public static void deleteRuleGroup(HttpPrincipal httpPrincipal,
                                   long ruleGroupId)
                            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

fetchRuleGroup

public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup fetchRuleGroup(HttpPrincipal httpPrincipal,
                                                                                      long ruleGroupId)
                                                                               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

getRuleGroup

public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroup getRuleGroup(HttpPrincipal httpPrincipal,
                                                                                    long ruleGroupId)
                                                                             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

updateRuleGroup

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.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException