com.liferay.portlet.expando.service.http
Class ExpandoValueServiceHttp
java.lang.Object
com.liferay.portlet.expando.service.http.ExpandoValueServiceHttp
public class ExpandoValueServiceHttp
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP utility for the
com.liferay.portlet.expando.service.ExpandoValueServiceUtil
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 com.liferay.portal.security.auth.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:
HttpPrincipal
,
ExpandoValueServiceUtil
,
ExpandoValueServiceSoap
Method Summary |
static com.liferay.portlet.expando.model.ExpandoValue |
addValue(HttpPrincipal httpPrincipal,
long columnId,
long rowId,
long classPK,
java.lang.String data)
|
static void |
deleteColumnValues(HttpPrincipal httpPrincipal,
long columnId)
|
static void |
deleteRowValues(HttpPrincipal httpPrincipal,
long rowId)
|
static void |
deleteTableValues(HttpPrincipal httpPrincipal,
long tableId)
|
static void |
deleteValue(HttpPrincipal httpPrincipal,
long valueId)
|
static void |
deleteValues(HttpPrincipal httpPrincipal,
long classNameId,
long classPK)
|
static void |
deleteValues(HttpPrincipal httpPrincipal,
java.lang.String className,
long classPK)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getColumnValues(HttpPrincipal httpPrincipal,
long columnId,
int begin,
int end)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getColumnValues(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String columnName,
int begin,
int end)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getColumnValues(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String columnName,
int begin,
int end)
|
static int |
getColumnValuesCount(HttpPrincipal httpPrincipal,
long columnId)
|
static int |
getColumnValuesCount(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String columnName)
|
static int |
getColumnValuesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String columnName)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getDefaultTableColumnValues(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String columnName,
int begin,
int end)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getDefaultTableColumnValues(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String columnName,
int begin,
int end)
|
static int |
getDefaultTableColumnValuesCount(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String columnName)
|
static int |
getDefaultTableColumnValuesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String columnName)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getRowValues(HttpPrincipal httpPrincipal,
long rowId)
|
static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> |
getRowValues(HttpPrincipal httpPrincipal,
long rowId,
int begin,
int end)
|
static int |
getRowValuesCount(HttpPrincipal httpPrincipal,
long rowId)
|
static com.liferay.portlet.expando.model.ExpandoValue |
getValue(HttpPrincipal httpPrincipal,
long valueId)
|
static com.liferay.portlet.expando.model.ExpandoValue |
getValue(HttpPrincipal httpPrincipal,
long columnId,
long rowId)
|
static com.liferay.portlet.expando.model.ExpandoValue |
getValue(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String name,
long rowId)
|
static com.liferay.portlet.expando.model.ExpandoValue |
getValue(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String name,
long rowId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandoValueServiceHttp
public ExpandoValueServiceHttp()
addValue
public static com.liferay.portlet.expando.model.ExpandoValue addValue(HttpPrincipal httpPrincipal,
long columnId,
long rowId,
long classPK,
java.lang.String data)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteColumnValues
public static void deleteColumnValues(HttpPrincipal httpPrincipal,
long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteRowValues
public static void deleteRowValues(HttpPrincipal httpPrincipal,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteTableValues
public static void deleteTableValues(HttpPrincipal httpPrincipal,
long tableId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteValue
public static void deleteValue(HttpPrincipal httpPrincipal,
long valueId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteValues
public static void deleteValues(HttpPrincipal httpPrincipal,
java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteValues
public static void deleteValues(HttpPrincipal httpPrincipal,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getColumnValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(HttpPrincipal httpPrincipal,
long columnId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getColumnValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String columnName,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getColumnValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String columnName,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getColumnValuesCount
public static int getColumnValuesCount(HttpPrincipal httpPrincipal,
long columnId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getColumnValuesCount
public static int getColumnValuesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String columnName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getColumnValuesCount
public static int getColumnValuesCount(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String columnName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultTableColumnValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String columnName,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultTableColumnValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String columnName,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultTableColumnValuesCount
public static int getDefaultTableColumnValuesCount(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String columnName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultTableColumnValuesCount
public static int getDefaultTableColumnValuesCount(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String columnName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRowValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(HttpPrincipal httpPrincipal,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRowValues
public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(HttpPrincipal httpPrincipal,
long rowId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRowValuesCount
public static int getRowValuesCount(HttpPrincipal httpPrincipal,
long rowId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getValue
public static com.liferay.portlet.expando.model.ExpandoValue getValue(HttpPrincipal httpPrincipal,
long valueId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getValue
public static com.liferay.portlet.expando.model.ExpandoValue getValue(HttpPrincipal httpPrincipal,
long columnId,
long rowId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getValue
public static com.liferay.portlet.expando.model.ExpandoValue getValue(HttpPrincipal httpPrincipal,
java.lang.String className,
java.lang.String tableName,
java.lang.String name,
long rowId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getValue
public static com.liferay.portlet.expando.model.ExpandoValue getValue(HttpPrincipal httpPrincipal,
long classNameId,
java.lang.String tableName,
java.lang.String name,
long rowId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException