Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Interface ExpandoValueService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ExpandoValueServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ExpandoValueService
extends BaseService

Provides the remote service interface for ExpandoValue. 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:
ExpandoValueServiceUtil, com.liferay.portlet.expando.service.base.ExpandoValueServiceBaseImpl, com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl

Method Summary
 ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Object data)
           
 ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String data)
           
 void addValues(long companyId, String className, String tableName, long classPK, Map<String,Serializable> attributeValues)
           
 Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK)
           
 Serializable getData(long companyId, String className, String tableName, String columnName, long classPK)
           
 JSONObject getJSONData(long companyId, String className, String tableName, String columnName, long classPK)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

Method Detail

addValue

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

addValue

@JSONWebService(mode=IGNORE)
ExpandoValue addValue(long companyId,
                                               String className,
                                               String tableName,
                                               String columnName,
                                               long classPK,
                                               Object data)
                      throws PortalException
Throws:
PortalException

addValues

void addValues(long companyId,
               String className,
               String tableName,
               long classPK,
               Map<String,Serializable> attributeValues)
               throws PortalException
Throws:
PortalException

getData

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Serializable getData(long companyId,
                                                              String className,
                                                              String tableName,
                                                              String columnName,
                                                              long classPK)
                     throws PortalException
Throws:
PortalException

getData

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Map<String,Serializable> getData(long companyId,
                                                                          String className,
                                                                          String tableName,
                                                                          Collection<String> columnNames,
                                                                          long classPK)
                                 throws PortalException
Throws:
PortalException

getJSONData

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONObject getJSONData(long companyId,
                                                                String className,
                                                                String tableName,
                                                                String columnName,
                                                                long classPK)
                       throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4