001
014
015 package com.liferay.portlet.dynamicdatalists.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
020 import com.liferay.portal.kernel.transaction.Isolation;
021 import com.liferay.portal.kernel.transaction.Propagation;
022 import com.liferay.portal.kernel.transaction.Transactional;
023 import com.liferay.portal.service.BaseService;
024
025
038 @JSONWebService
039 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
040 PortalException.class, SystemException.class})
041 public interface DDLRecordService extends BaseService {
042
047
048
053 public java.lang.String getBeanIdentifier();
054
055
060 public void setBeanIdentifier(java.lang.String beanIdentifier);
061
062 public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
063 long groupId, long recordSetId, int displayIndex,
064 com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
065 com.liferay.portal.service.ServiceContext serviceContext)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(
070 long groupId, long recordSetId, int displayIndex,
071 java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
072 com.liferay.portal.service.ServiceContext serviceContext)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException;
075
076 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
077 public com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(
078 long recordId)
079 throws com.liferay.portal.kernel.exception.PortalException,
080 com.liferay.portal.kernel.exception.SystemException;
081
082 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
083 long recordId, boolean majorVersion, int displayIndex,
084 com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
085 boolean mergeFields,
086 com.liferay.portal.service.ServiceContext serviceContext)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException;
089
090 public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(
091 long recordId, int displayIndex,
092 java.util.Map<java.lang.String, java.io.Serializable> fieldsMap,
093 boolean mergeFields,
094 com.liferay.portal.service.ServiceContext serviceContext)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException;
097 }