public class DDLRecordLocalServiceImpl extends DDLRecordLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, ddlRecordFinder, ddlRecordLocalService, ddlRecordPersistence, ddlRecordService, ddlRecordSetFinder, ddlRecordSetLocalService, ddlRecordSetPersistence, ddlRecordSetService, ddlRecordVersionPersistence, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence| Constructor and Description |
|---|
DDLRecordLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap,
com.liferay.portal.service.ServiceContext serviceContext) |
protected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion |
addRecordVersion(com.liferay.portal.model.User user,
com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
long ddmStorageId,
java.lang.String version,
int displayIndex,
int status) |
void |
deleteRecord(com.liferay.portlet.dynamicdatalists.model.DDLRecord record) |
void |
deleteRecord(long recordId) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
deleteRecordLocale(long recordId,
java.util.Locale locale,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteRecords(long recordSetId) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
fetchRecord(long recordId) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getCompanyRecords(long companyId,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Deprecated.
As of 6.2.0, replaced by
getCompanyRecords(long, int,
int, int, int, OrderByComparator) |
int |
getCompanyRecordsCount(long companyId,
int scope)
Deprecated.
As of 6.2.0, replaced by
getCompanyRecordsCount(long,
int, int) |
int |
getCompanyRecordsCount(long companyId,
int status,
int scope) |
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion |
getLatestRecordVersion(long recordId) |
java.lang.Long[] |
getMinAndMaxCompanyRecordIds(long companyId,
int status,
int scope) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getMinAndMaxCompanyRecords(long companyId,
int status,
int scope,
long minRecordId,
long maxRecordId) |
protected java.lang.String |
getNextVersion(java.lang.String version,
boolean majorVersion,
int workflowAction) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
getRecord(long recordId) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getRecords(long recordSetId) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getRecords(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> |
getRecords(long recordSetId,
long userId) |
int |
getRecordsCount(long recordSetId,
int status) |
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion |
getRecordVersion(long recordVersionId) |
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion |
getRecordVersion(long recordId,
java.lang.String version) |
java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> |
getRecordVersions(long recordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
int |
getRecordVersionsCount(long recordId) |
void |
revertRecordVersion(long userId,
long recordId,
java.lang.String version,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.search.Hits |
search(com.liferay.portal.kernel.search.SearchContext searchContext) |
protected com.liferay.portlet.dynamicdatamapping.storage.Fields |
toFields(long ddmStructureId,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap) |
void |
updateAsset(long userId,
com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
java.util.Locale locale) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
boolean mergeFields,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
updateRecord(long userId,
long recordId,
int displayIndex,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap,
boolean mergeFields,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
updateRecordVersion(com.liferay.portal.model.User user,
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
java.lang.String version,
int displayIndex,
int status,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.dynamicdatalists.model.DDLRecord |
updateStatus(long userId,
long recordVersionId,
int status,
com.liferay.portal.service.ServiceContext serviceContext) |
addDDLRecord, afterPropertiesSet, createDDLRecord, deleteDDLRecord, deleteDDLRecord, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDDLRecord, fetchDDLRecordByUuidAndCompanyId, fetchDDLRecordByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getDDLRecord, getDDLRecordByUuidAndCompanyId, getDDLRecordByUuidAndGroupId, getDDLRecordFinder, getDDLRecordLocalService, getDDLRecordPersistence, getDDLRecords, getDDLRecordsCount, getDDLRecordService, getDDLRecordSetFinder, getDDLRecordSetLocalService, getDDLRecordSetPersistence, getDDLRecordSetService, getDDLRecordVersionPersistence, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getModelClass, getModelClassName, getPersistedModel, 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, updateDDLRecord@Indexable(type=REINDEX)
public com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteRecord(com.liferay.portlet.dynamicdatalists.model.DDLRecord record)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteRecord(long recordId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecord deleteRecordLocale(long recordId,
java.util.Locale locale,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteRecords(long recordSetId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecord fetchRecord(long recordId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getCompanyRecords(long companyId,
int scope,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
getCompanyRecords(long, int,
int, int, int, OrderByComparator)com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyRecordsCount(long companyId,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
getCompanyRecordsCount(long,
int, int)com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyRecordsCount(long companyId,
int status,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getLatestRecordVersion(long recordId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.Long[] getMinAndMaxCompanyRecordIds(long companyId,
int status,
int scope)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getMinAndMaxCompanyRecords(long companyId,
int status,
int scope,
long minRecordId,
long maxRecordId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecord getRecord(long recordId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(long recordSetId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(long recordSetId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecord> getRecords(long recordSetId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getRecordsCount(long recordSetId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(long recordVersionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion getRecordVersion(long recordId,
java.lang.String version)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion> getRecordVersions(long recordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getRecordVersionsCount(long recordId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void revertRecordVersion(long userId,
long recordId,
java.lang.String version,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void updateAsset(long userId,
com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
java.util.Locale locale)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields,
boolean mergeFields,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatalists.model.DDLRecord updateRecord(long userId,
long recordId,
int displayIndex,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap,
boolean mergeFields,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(long userId,
long recordVersionId,
int status,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion addRecordVersion(com.liferay.portal.model.User user,
com.liferay.portlet.dynamicdatalists.model.DDLRecord record,
long ddmStorageId,
java.lang.String version,
int displayIndex,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getNextVersion(java.lang.String version,
boolean majorVersion,
int workflowAction)
protected com.liferay.portlet.dynamicdatamapping.storage.Fields toFields(long ddmStructureId,
java.util.Map<java.lang.String,java.io.Serializable> fieldsMap)
protected void updateRecordVersion(com.liferay.portal.model.User user,
com.liferay.portlet.dynamicdatalists.model.DDLRecordVersion recordVersion,
java.lang.String version,
int displayIndex,
int status,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException