@ProviderType
public class ScreensDDLRecordServiceHttp
extends java.lang.Object
ScreensDDLRecordServiceUtil 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.
ScreensDDLRecordServiceSoap,
HttpPrincipal,
ScreensDDLRecordServiceUtil| Constructor and Description |
|---|
ScreensDDLRecordServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portal.kernel.json.JSONObject |
getDDLRecord(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordId,
java.util.Locale locale) |
static com.liferay.portal.kernel.json.JSONArray |
getDDLRecords(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
java.util.Locale locale,
int start,
int end) |
static com.liferay.portal.kernel.json.JSONArray |
getDDLRecords(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
long userId,
java.util.Locale locale,
int start,
int end) |
static int |
getDDLRecordsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId) |
static int |
getDDLRecordsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
long userId) |
public static com.liferay.portal.kernel.json.JSONObject getDDLRecord(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordId,
java.util.Locale locale)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.json.JSONArray getDDLRecords(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
java.util.Locale locale,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static com.liferay.portal.kernel.json.JSONArray getDDLRecords(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
long userId,
java.util.Locale locale,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getDDLRecordsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static int getDDLRecordsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long ddlRecordSetId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException