Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Class ExpandoValueServiceUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.ExpandoValueServiceUtil

@ProviderType
public class ExpandoValueServiceUtil
extends Object

Provides the remote service utility for ExpandoValue. This utility wraps com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl and is the primary 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.

See Also:
ExpandoValueService, com.liferay.portlet.expando.service.base.ExpandoValueServiceBaseImpl, com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl

Constructor Summary
ExpandoValueServiceUtil()
           
 
Method Summary
static 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 Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK)
           
static Serializable getData(long companyId, String className, String tableName, String columnName, long classPK)
           
static JSONObject getJSONData(long companyId, String className, String tableName, String columnName, long classPK)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static ExpandoValueService getService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoValueServiceUtil

public ExpandoValueServiceUtil()
Method Detail

addValue

public static ExpandoValue addValue(long companyId,
                                    String className,
                                    String tableName,
                                    String columnName,
                                    long classPK,
                                    String data)
                             throws PortalException
Throws:
PortalException

addValue

public static ExpandoValue addValue(long companyId,
                                    String className,
                                    String tableName,
                                    String columnName,
                                    long classPK,
                                    Object 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 Serializable getData(long companyId,
                                   String className,
                                   String tableName,
                                   String columnName,
                                   long classPK)
                            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

getJSONData

public static JSONObject getJSONData(long companyId,
                                     String className,
                                     String tableName,
                                     String columnName,
                                     long classPK)
                              throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getService

public static ExpandoValueService getService()

Liferay 7.0-ce-b4