Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
          extended by com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DDLRecordLocalService

public class DDLRecordLocalServiceImpl
extends DDLRecordLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddlRecordVersionPersistence, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Constructor Summary
DDLRecordLocalServiceImpl()
           
 
Method Summary
 DDLRecord addRecord(long userId, long groupId, long recordSetId, int displayIndex, Fields fields, ServiceContext serviceContext)
           
 DDLRecord addRecord(long userId, long groupId, long recordSetId, int displayIndex, Map<String,Serializable> fieldsMap, ServiceContext serviceContext)
           
protected  DDLRecordVersion addRecordVersion(User user, DDLRecord record, long ddmStorageId, String version, int displayIndex, int status)
           
 void deleteRecord(DDLRecord record)
           
 void deleteRecord(long recordId)
           
 void deleteRecords(long recordSetId)
           
 DDLRecord fetchRecord(long recordId)
           
 DDLRecordVersion getLatestRecordVersion(long recordId)
           
protected  String getNextVersion(String version, boolean majorVersion, int workflowAction)
           
 DDLRecord getRecord(long recordId)
           
 List<DDLRecord> getRecords(long recordSetId)
           
 List<DDLRecord> getRecords(long recordSetId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<DDLRecord> getRecords(long recordSetId, long userId)
           
 int getRecordsCount(long recordSetId, int status)
           
 DDLRecordVersion getRecordVersion(long recordVersionId)
           
 DDLRecordVersion getRecordVersion(long recordId, String version)
           
 List<DDLRecordVersion> getRecordVersions(long recordId, int start, int end, OrderByComparator orderByComparator)
           
 int getRecordVersionsCount(long recordId)
           
 void revertRecordVersion(long userId, long recordId, String version, ServiceContext serviceContext)
           
protected  Fields toFields(long ddmStructureId, Map<String,Serializable> fieldsMap)
           
 void updateAsset(long userId, DDLRecord record, DDLRecordVersion recordVersion, long[] assetCategoryIds, String[] assetTagNames, Locale locale)
           
 DDLRecord updateRecord(long userId, long recordId, boolean majorVersion, int displayIndex, Fields fields, boolean mergeFields, ServiceContext serviceContext)
           
 DDLRecord updateRecord(long userId, long recordId, int displayIndex, Map<String,Serializable> fieldsMap, boolean mergeFields, ServiceContext serviceContext)
           
protected  void updateRecordVersion(User user, DDLRecordVersion recordVersion, String version, int displayIndex, int status, ServiceContext serviceContext)
           
 DDLRecord updateStatus(long userId, long recordVersionId, int status, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
addDDLRecord, afterPropertiesSet, createDDLRecord, deleteDDLRecord, deleteDDLRecord, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDDLRecord, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getDDLRecord, getDDLRecordByUuidAndGroupId, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecords, getDDLRecordsCount, getDDLRecordService, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSetService, getDDLRecordVersionPersistence, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, 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, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateDDLRecord, updateDDLRecord
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLRecordLocalServiceImpl

public DDLRecordLocalServiceImpl()
Method Detail

addRecord

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

addRecord

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

deleteRecord

public void deleteRecord(DDLRecord record)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteRecord

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

deleteRecords

public void deleteRecords(long recordSetId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

fetchRecord

public DDLRecord fetchRecord(long recordId)
                      throws SystemException
Throws:
SystemException

getLatestRecordVersion

public DDLRecordVersion getLatestRecordVersion(long recordId)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getRecord

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

getRecords

public List<DDLRecord> getRecords(long recordSetId)
                           throws SystemException
Throws:
SystemException

getRecords

public List<DDLRecord> getRecords(long recordSetId,
                                  int status,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

getRecords

public List<DDLRecord> getRecords(long recordSetId,
                                  long userId)
                           throws SystemException
Throws:
SystemException

getRecordsCount

public int getRecordsCount(long recordSetId,
                           int status)
                    throws SystemException
Throws:
SystemException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordVersionId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getRecordVersion

public DDLRecordVersion getRecordVersion(long recordId,
                                         String version)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getRecordVersions

public List<DDLRecordVersion> getRecordVersions(long recordId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException

getRecordVersionsCount

public int getRecordVersionsCount(long recordId)
                           throws SystemException
Throws:
SystemException

revertRecordVersion

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

updateAsset

public void updateAsset(long userId,
                        DDLRecord record,
                        DDLRecordVersion recordVersion,
                        long[] assetCategoryIds,
                        String[] assetTagNames,
                        Locale locale)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateRecord

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

updateRecord

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

updateStatus

public DDLRecord updateStatus(long userId,
                              long recordVersionId,
                              int status,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

addRecordVersion

protected DDLRecordVersion addRecordVersion(User user,
                                            DDLRecord record,
                                            long ddmStorageId,
                                            String version,
                                            int displayIndex,
                                            int status)
                                     throws SystemException
Throws:
SystemException

getNextVersion

protected String getNextVersion(String version,
                                boolean majorVersion,
                                int workflowAction)

toFields

protected Fields toFields(long ddmStructureId,
                          Map<String,Serializable> fieldsMap)

updateRecordVersion

protected void updateRecordVersion(User user,
                                   DDLRecordVersion recordVersion,
                                   String version,
                                   int displayIndex,
                                   int status,
                                   ServiceContext serviceContext)
                            throws SystemException
Throws:
SystemException

Liferay 6.1.2-ce-ga3