Liferay 6.2-ce-ga5

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