Liferay 7.0-ce-a2

com.liferay.portlet.expando.service
Interface ExpandoValueService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ExpandoValueServiceBaseImpl, ExpandoValueServiceImpl, 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, ExpandoValueServiceBaseImpl, ExpandoValueServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

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

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

Liferay 7.0-ce-a2