|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.dynamicdatalists.service.base.DDLRecordLocalServiceBaseImpl
com.liferay.portlet.dynamicdatalists.service.impl.DDLRecordLocalServiceImpl
public class DDLRecordLocalServiceImpl
Provides the local service for accessing, adding, deleting, and updating dynamic data list (DDL) records.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DDLRecordLocalServiceImpl()
|
|
| Method Summary | |
|---|---|
DDLRecord |
addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
|
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)
|
DDLRecord |
deleteRecord(DDLRecord record)
|
void |
deleteRecord(long recordId)
|
DDLRecord |
deleteRecordLocale(long recordId,
Locale locale,
ServiceContext serviceContext)
|
void |
deleteRecords(long recordSetId)
|
DDLRecord |
fetchRecord(long recordId)
|
List<DDLRecord> |
getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
|
int |
getCompanyRecordsCount(long companyId,
int status,
int scope)
|
DDLRecordVersion |
getLatestRecordVersion(long recordId)
Deprecated. As of 7.0.0, replaced by DDLRecordVersionLocalServiceImpl.getLatestRecordVersion(
long) |
Long[] |
getMinAndMaxCompanyRecordIds(long companyId,
int status,
int scope)
|
List<DDLRecord> |
getMinAndMaxCompanyRecords(long companyId,
int status,
int scope,
long minRecordId,
long maxRecordId)
|
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<DDLRecord> orderByComparator)
|
List<DDLRecord> |
getRecords(long recordSetId,
long userId)
|
int |
getRecordsCount(long recordSetId,
int status)
|
DDLRecordVersion |
getRecordVersion(long recordVersionId)
Deprecated. As of 7.0.0, replaced by DDLRecordVersionLocalServiceImpl.getRecordVersion(long) |
DDLRecordVersion |
getRecordVersion(long recordId,
String version)
Deprecated. As of 7.0.0, replaced by DDLRecordVersionLocalServiceImpl.getRecordVersion(long,
String) |
List<DDLRecordVersion> |
getRecordVersions(long recordId,
int start,
int end,
OrderByComparator<DDLRecordVersion> orderByComparator)
Deprecated. As of 7.0.0, replaced by DDLRecordVersionLocalServiceImpl.getRecordVersions(long, int,
int, OrderByComparator) |
int |
getRecordVersionsCount(long recordId)
Deprecated. As of 7.0.0, replaced by DDLRecordVersionLocalServiceImpl.getRecordVersionsCount(
long) |
protected boolean |
isKeepRecordVersionLabel(DDLRecordVersion lastRecordVersion,
DDLRecordVersion latestRecordVersion,
ServiceContext serviceContext)
|
void |
revertRecord(long userId,
long recordId,
String version,
ServiceContext serviceContext)
|
void |
revertRecordVersion(long userId,
long recordId,
String version,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by revertRecord(long, long,
String, ServiceContext) |
Hits |
search(SearchContext searchContext)
|
BaseModelSearchResult<DDLRecord> |
searchDDLRecords(SearchContext searchContext)
|
protected Fields |
toFields(long ddmStructureId,
Map<String,Serializable> fieldsMap,
Locale locale,
Locale defaultLocale,
boolean create)
|
void |
updateAsset(long userId,
DDLRecord record,
DDLRecordVersion recordVersion,
long[] assetCategoryIds,
String[] assetTagNames,
Locale locale)
|
DDLRecord |
updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
|
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.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DDLRecordLocalServiceImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX)
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws PortalException
PortalException
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
Fields fields,
ServiceContext serviceContext)
throws PortalException
PortalException
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
Map<String,Serializable> fieldsMap,
ServiceContext serviceContext)
throws PortalException
PortalException
@Indexable(type=DELETE)
@SystemEvent(action=1,
type=1)
public DDLRecord deleteRecord(DDLRecord record)
throws PortalException
PortalException
public void deleteRecord(long recordId)
throws PortalException
PortalException
public DDLRecord deleteRecordLocale(long recordId,
Locale locale,
ServiceContext serviceContext)
throws PortalException
PortalException
public void deleteRecords(long recordSetId)
throws PortalException
PortalExceptionpublic DDLRecord fetchRecord(long recordId)
public List<DDLRecord> getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
public int getCompanyRecordsCount(long companyId,
int status,
int scope)
@Deprecated
public DDLRecordVersion getLatestRecordVersion(long recordId)
throws PortalException
DDLRecordVersionLocalServiceImpl.getLatestRecordVersion(
long)
PortalException
public Long[] getMinAndMaxCompanyRecordIds(long companyId,
int status,
int scope)
public List<DDLRecord> getMinAndMaxCompanyRecords(long companyId,
int status,
int scope,
long minRecordId,
long maxRecordId)
public DDLRecord getRecord(long recordId)
throws PortalException
PortalExceptionpublic List<DDLRecord> getRecords(long recordSetId)
public List<DDLRecord> getRecords(long recordSetId,
int status,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
public List<DDLRecord> getRecords(long recordSetId,
long userId)
public int getRecordsCount(long recordSetId,
int status)
@Deprecated
public DDLRecordVersion getRecordVersion(long recordVersionId)
throws PortalException
DDLRecordVersionLocalServiceImpl.getRecordVersion(long)
PortalException
@Deprecated
public DDLRecordVersion getRecordVersion(long recordId,
String version)
throws PortalException
DDLRecordVersionLocalServiceImpl.getRecordVersion(long,
String)
PortalException
@Deprecated
public List<DDLRecordVersion> getRecordVersions(long recordId,
int start,
int end,
OrderByComparator<DDLRecordVersion> orderByComparator)
DDLRecordVersionLocalServiceImpl.getRecordVersions(long, int,
int, OrderByComparator)
@Deprecated public int getRecordVersionsCount(long recordId)
DDLRecordVersionLocalServiceImpl.getRecordVersionsCount(
long)
public void revertRecord(long userId,
long recordId,
String version,
ServiceContext serviceContext)
throws PortalException
PortalException
@Deprecated
public void revertRecordVersion(long userId,
long recordId,
String version,
ServiceContext serviceContext)
throws PortalException
revertRecord(long, long,
String, ServiceContext)
PortalExceptionpublic Hits search(SearchContext searchContext)
public BaseModelSearchResult<DDLRecord> searchDDLRecords(SearchContext searchContext)
public void updateAsset(long userId,
DDLRecord record,
DDLRecordVersion recordVersion,
long[] assetCategoryIds,
String[] assetTagNames,
Locale locale)
throws PortalException
PortalException
@Indexable(type=REINDEX)
public DDLRecord updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws PortalException
PortalException
public DDLRecord updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
Fields fields,
boolean mergeFields,
ServiceContext serviceContext)
throws PortalException
PortalException
public DDLRecord updateRecord(long userId,
long recordId,
int displayIndex,
Map<String,Serializable> fieldsMap,
boolean mergeFields,
ServiceContext serviceContext)
throws PortalException
PortalException
@Indexable(type=REINDEX)
public DDLRecord updateStatus(long userId,
long recordVersionId,
int status,
ServiceContext serviceContext)
throws PortalException
PortalException
protected DDLRecordVersion addRecordVersion(User user,
DDLRecord record,
long ddmStorageId,
String version,
int displayIndex,
int status)
protected String getNextVersion(String version,
boolean majorVersion,
int workflowAction)
protected boolean isKeepRecordVersionLabel(DDLRecordVersion lastRecordVersion,
DDLRecordVersion latestRecordVersion,
ServiceContext serviceContext)
throws PortalException
PortalExceptionDLFileEntryLocalServiceImpl.isKeepFileVersionLabel(
DLFileEntry, DLFileVersion, DLFileVersion, ServiceContext)
protected Fields toFields(long ddmStructureId,
Map<String,Serializable> fieldsMap,
Locale locale,
Locale defaultLocale,
boolean create)
protected void updateRecordVersion(User user,
DDLRecordVersion recordVersion,
String version,
int displayIndex,
int status,
ServiceContext serviceContext)
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||