com.liferay.portlet.dynamicdatalists.service.http
Class DDLRecordSetServiceHttp
java.lang.Object
com.liferay.portlet.dynamicdatalists.service.http.DDLRecordSetServiceHttp
public class DDLRecordSetServiceHttp
- extends java.lang.Object
This class provides a HTTP utility for the
DDLRecordSetServiceUtil 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:
- Brian Wing Shun Chan
- See Also:
DDLRecordSetServiceSoap,
HttpPrincipal,
DDLRecordSetServiceUtil- Generated:
|
Method Summary |
static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet |
addRecordSet(HttpPrincipal httpPrincipal,
long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
int scope,
com.liferay.portal.service.ServiceContext serviceContext)
|
static void |
deleteRecordSet(HttpPrincipal httpPrincipal,
long recordSetId)
|
static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet |
getRecordSet(HttpPrincipal httpPrincipal,
long recordSetId)
|
static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet |
updateMinDisplayRows(HttpPrincipal httpPrincipal,
long recordSetId,
int minDisplayRows,
com.liferay.portal.service.ServiceContext serviceContext)
|
static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet |
updateRecordSet(HttpPrincipal httpPrincipal,
long recordSetId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
com.liferay.portal.service.ServiceContext serviceContext)
|
static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet |
updateRecordSet(HttpPrincipal httpPrincipal,
long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
com.liferay.portal.service.ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDLRecordSetServiceHttp
public DDLRecordSetServiceHttp()
addRecordSet
public static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet addRecordSet(HttpPrincipal httpPrincipal,
long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
int scope,
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
deleteRecordSet
public static void deleteRecordSet(HttpPrincipal httpPrincipal,
long recordSetId)
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
getRecordSet
public static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet getRecordSet(HttpPrincipal httpPrincipal,
long recordSetId)
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
updateMinDisplayRows
public static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateMinDisplayRows(HttpPrincipal httpPrincipal,
long recordSetId,
int minDisplayRows,
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
updateRecordSet
public static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(HttpPrincipal httpPrincipal,
long recordSetId,
long ddmStructureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
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
updateRecordSet
public static com.liferay.portlet.dynamicdatalists.model.DDLRecordSet updateRecordSet(HttpPrincipal httpPrincipal,
long groupId,
long ddmStructureId,
java.lang.String recordSetKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
int minDisplayRows,
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