Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatalists.service.impl
Class DDLRecordServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.dynamicdatalists.service.base.DDLRecordServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, DDLRecordService

public class DDLRecordServiceImpl
extends DDLRecordServiceBaseImpl

Provides the remote service for accessing, adding, deleting, and updating dynamic data list (DDL) records. Its methods include permission checks.


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddlRecordVersionPersistence, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
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)
           
 DDLRecord getRecord(long recordId)
           
 void revertRecordVersion(long recordId, String version, ServiceContext serviceContext)
           
 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)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecordService, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSetService, getDDLRecordVersionPersistence, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getModelClass, getModelClassName, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBeanIdentifier, setCounterLocalService, setDDLRecordFinder, setDDLRecordLocalService, setDDLRecordPersistence, setDDLRecordService, setDDLRecordSetFinder, setDDLRecordSetLocalService, setDDLRecordSetPersistence, setDDLRecordSetService, setDDLRecordVersionPersistence, setDDMStructureFinder, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordServiceImpl

public DDLRecordServiceImpl()
Method Detail

addRecord

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

addRecord

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

deleteRecord

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

deleteRecordLocale

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

getRecord

public DDLRecord getRecord(long recordId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

revertRecordVersion

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

updateRecord

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

updateRecord

public 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