Liferay 6.2.0

com.liferay.portlet.dynamicdatalists.service
Interface DDLRecordService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDLRecordServiceWrapper

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

Provides the remote service interface for DDLRecord. 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:
DDLRecordServiceUtil, com.liferay.portlet.dynamicdatalists.service.base.DDLRecordServiceBaseImpl, com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordServiceImpl

Method Summary
abstract  DDLRecord addRecord(long groupId, long recordSetId, int displayIndex, Fields fields, ServiceContext serviceContext)
           
abstract  DDLRecord addRecord(long groupId, long recordSetId, int displayIndex, Map<String,Serializable> fieldsMap, ServiceContext serviceContext)
           
abstract  void deleteRecord(long recordId)
           
abstract  DDLRecord deleteRecordLocale(long recordId, Locale locale, ServiceContext serviceContext)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  DDLRecord getRecord(long recordId)
           
abstract  void revertRecordVersion(long recordId, String version, ServiceContext serviceContext)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  DDLRecord updateRecord(long recordId, boolean majorVersion, int displayIndex, Fields fields, boolean mergeFields, ServiceContext serviceContext)
           
abstract  DDLRecord updateRecord(long recordId, int displayIndex, Map<String,Serializable> fieldsMap, boolean mergeFields, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addRecord

DDLRecord addRecord(long groupId,
                    long recordSetId,
                    int displayIndex,
                    Fields fields,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

addRecord

DDLRecord addRecord(long groupId,
                    long recordSetId,
                    int displayIndex,
                    Map<String,Serializable> fieldsMap,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteRecord

void deleteRecord(long recordId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteRecordLocale

DDLRecord deleteRecordLocale(long recordId,
                             Locale locale,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getRecord

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDLRecord getRecord(long recordId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

revertRecordVersion

void revertRecordVersion(long recordId,
                         String version,
                         ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateRecord

DDLRecord updateRecord(long recordId,
                       boolean majorVersion,
                       int displayIndex,
                       Fields fields,
                       boolean mergeFields,
                       ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateRecord

DDLRecord updateRecord(long recordId,
                       int displayIndex,
                       Map<String,Serializable> fieldsMap,
                       boolean mergeFields,
                       ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0