Class ExpandoValueServiceUtil
Object
com.liferay.expando.kernel.service.ExpandoValueServiceUtil
Provides the remote service utility for ExpandoValue. This utility wraps
com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Object data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, String data) static void
addValues
(long companyId, String className, String tableName, long classPK, Map<String, Serializable> attributeValues) static Serializable
static Map<String,
Serializable> getData
(long companyId, String className, String tableName, Collection<String> columnNames, long classPK) static JSONObject
getJSONData
(long companyId, String className, String tableName, String columnName, long classPK) static String
Returns the OSGi service identifier.static ExpandoValueService
static void
setService
(ExpandoValueService service)
-
Constructor Details
-
ExpandoValueServiceUtil
public ExpandoValueServiceUtil()
-
-
Method Details
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Object data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String data) throws PortalException - Throws:
PortalException
-
addValues
public static void addValues(long companyId, String className, String tableName, long classPK, Map<String, Serializable> attributeValues) throws PortalException- Throws:
PortalException
-
getData
public static Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK) throws PortalException - Throws:
PortalException
-
getData
public static Serializable getData(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException - Throws:
PortalException
-
getJSONData
public static JSONObject getJSONData(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getService
-
setService
-