|
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.portlet.dynamicdatalists.service.DDLRecordLocalServiceWrapper
@ProviderType public class DDLRecordLocalServiceWrapper
Provides a wrapper for DDLRecordLocalService.
DDLRecordLocalService| Constructor Summary | |
|---|---|
DDLRecordLocalServiceWrapper(DDLRecordLocalService ddlRecordLocalService)
|
|
| Method Summary | ||
|---|---|---|
DDLRecord |
addDDLRecord(DDLRecord ddlRecord)
Adds the d d l record to the database. |
|
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)
|
|
DDLRecord |
createDDLRecord(long recordId)
Creates a new d d l record with the primary key. |
|
DDLRecord |
deleteDDLRecord(DDLRecord ddlRecord)
Deletes the d d l record from the database. |
|
DDLRecord |
deleteDDLRecord(long recordId)
Deletes the d d l record with the primary key from the database. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
DDLRecord |
deleteRecord(DDLRecord record)
|
|
void |
deleteRecord(long recordId)
|
|
DDLRecord |
deleteRecordLocale(long recordId,
Locale locale,
ServiceContext serviceContext)
|
|
void |
deleteRecords(long recordSetId)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
DDLRecord |
fetchDDLRecord(long recordId)
|
|
DDLRecord |
fetchDDLRecordByUuidAndGroupId(String uuid,
long groupId)
Returns the d d l record matching the UUID and group. |
|
DDLRecord |
fetchRecord(long recordId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
List<DDLRecord> |
getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
|
|
int |
getCompanyRecordsCount(long companyId,
int status,
int scope)
|
|
DDLRecord |
getDDLRecord(long recordId)
Returns the d d l record with the primary key. |
|
DDLRecord |
getDDLRecordByUuidAndGroupId(String uuid,
long groupId)
Returns the d d l record matching the UUID and group. |
|
List<DDLRecord> |
getDDLRecords(int start,
int end)
Returns a range of all the d d l records. |
|
List<DDLRecord> |
getDDLRecordsByUuidAndCompanyId(String uuid,
long companyId)
Returns all the d d l records matching the UUID and company. |
|
List<DDLRecord> |
getDDLRecordsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
Returns a range of d d l records matching the UUID and company. |
|
int |
getDDLRecordsCount()
Returns the number of d d l records. |
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
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)
|
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
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) |
|
DDLRecordLocalService |
getWrappedDDLRecordLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
|
DDLRecordLocalService |
getWrappedService()
|
|
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)
|
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
void |
setWrappedDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService) |
|
void |
setWrappedService(DDLRecordLocalService ddlRecordLocalService)
|
|
void |
updateAsset(long userId,
DDLRecord record,
DDLRecordVersion recordVersion,
long[] assetCategoryIds,
String[] assetTagNames,
Locale locale)
|
|
DDLRecord |
updateDDLRecord(DDLRecord ddlRecord)
Updates the d d l record in the database or adds it if it does not yet exist. |
|
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)
|
|
DDLRecord |
updateStatus(long userId,
long recordVersionId,
int status,
ServiceContext serviceContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DDLRecordLocalServiceWrapper(DDLRecordLocalService ddlRecordLocalService)
| Method Detail |
|---|
public DDLRecord addDDLRecord(DDLRecord ddlRecord)
addDDLRecord in interface DDLRecordLocalServiceddlRecord - the d d l record
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws PortalException
addRecord in interface DDLRecordLocalServicePortalException
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
Fields fields,
ServiceContext serviceContext)
throws PortalException
addRecord in interface DDLRecordLocalServicePortalException
public DDLRecord addRecord(long userId,
long groupId,
long recordSetId,
int displayIndex,
Map<String,Serializable> fieldsMap,
ServiceContext serviceContext)
throws PortalException
addRecord in interface DDLRecordLocalServicePortalExceptionpublic DDLRecord createDDLRecord(long recordId)
createDDLRecord in interface DDLRecordLocalServicerecordId - the primary key for the new d d l record
public DDLRecord deleteDDLRecord(DDLRecord ddlRecord)
deleteDDLRecord in interface DDLRecordLocalServiceddlRecord - the d d l record
public DDLRecord deleteDDLRecord(long recordId)
throws PortalException
deleteDDLRecord in interface DDLRecordLocalServicerecordId - the primary key of the d d l record
PortalException - if a d d l record with the primary key could not be found
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface DDLRecordLocalServicePortalException
public DDLRecord deleteRecord(DDLRecord record)
throws PortalException
deleteRecord in interface DDLRecordLocalServicePortalException
public void deleteRecord(long recordId)
throws PortalException
deleteRecord in interface DDLRecordLocalServicePortalException
public DDLRecord deleteRecordLocale(long recordId,
Locale locale,
ServiceContext serviceContext)
throws PortalException
deleteRecordLocale in interface DDLRecordLocalServicePortalException
public void deleteRecords(long recordSetId)
throws PortalException
deleteRecords in interface DDLRecordLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface DDLRecordLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DDLRecordLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDLRecordModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface DDLRecordLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDLRecordModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface DDLRecordLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DDLRecordLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface DDLRecordLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public DDLRecord fetchDDLRecord(long recordId)
fetchDDLRecord in interface DDLRecordLocalService
public DDLRecord fetchDDLRecordByUuidAndGroupId(String uuid,
long groupId)
fetchDDLRecordByUuidAndGroupId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDgroupId - the primary key of the group
null if a matching d d l record could not be foundpublic DDLRecord fetchRecord(long recordId)
fetchRecord in interface DDLRecordLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDLRecordLocalServicepublic String getBeanIdentifier()
getBeanIdentifier in interface DDLRecordLocalService
public List<DDLRecord> getCompanyRecords(long companyId,
int status,
int scope,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
getCompanyRecords in interface DDLRecordLocalService
public int getCompanyRecordsCount(long companyId,
int status,
int scope)
getCompanyRecordsCount in interface DDLRecordLocalService
public DDLRecord getDDLRecord(long recordId)
throws PortalException
getDDLRecord in interface DDLRecordLocalServicerecordId - the primary key of the d d l record
PortalException - if a d d l record with the primary key could not be found
public DDLRecord getDDLRecordByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getDDLRecordByUuidAndGroupId in interface DDLRecordLocalServiceuuid - the d d l record's UUIDgroupId - the primary key of the group
PortalException - if a matching d d l record could not be found
public List<DDLRecord> getDDLRecords(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDLRecordModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getDDLRecords in interface DDLRecordLocalServicestart - the lower bound of the range of d d l recordsend - the upper bound of the range of d d l records (not inclusive)
public List<DDLRecord> getDDLRecordsByUuidAndCompanyId(String uuid,
long companyId)
getDDLRecordsByUuidAndCompanyId in interface DDLRecordLocalServiceuuid - the UUID of the d d l recordscompanyId - the primary key of the company
public List<DDLRecord> getDDLRecordsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
getDDLRecordsByUuidAndCompanyId in interface DDLRecordLocalServiceuuid - the UUID of the d d l recordscompanyId - the primary key of the companystart - the lower bound of the range of d d l recordsend - the upper bound of the range of d d l records (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getDDLRecordsCount()
getDDLRecordsCount in interface DDLRecordLocalServicepublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DDLRecordLocalService
@Deprecated
public DDLRecordVersion getLatestRecordVersion(long recordId)
throws PortalException
DDLRecordVersionLocalServiceImpl#getLatestRecordVersion(
long)
getLatestRecordVersion in interface DDLRecordLocalServicePortalException
public Long[] getMinAndMaxCompanyRecordIds(long companyId,
int status,
int scope)
getMinAndMaxCompanyRecordIds in interface DDLRecordLocalService
public List<DDLRecord> getMinAndMaxCompanyRecords(long companyId,
int status,
int scope,
long minRecordId,
long maxRecordId)
getMinAndMaxCompanyRecords in interface DDLRecordLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DDLRecordLocalServicePortalException
public DDLRecord getRecord(long recordId)
throws PortalException
getRecord in interface DDLRecordLocalServicePortalException
@Deprecated
public DDLRecordVersion getRecordVersion(long recordId,
String version)
throws PortalException
DDLRecordVersionLocalServiceImpl#getRecordVersion(long,
String)
getRecordVersion in interface DDLRecordLocalServicePortalException
@Deprecated
public DDLRecordVersion getRecordVersion(long recordVersionId)
throws PortalException
DDLRecordVersionLocalServiceImpl#getRecordVersion(long)
getRecordVersion in interface DDLRecordLocalServicePortalException
@Deprecated
public List<DDLRecordVersion> getRecordVersions(long recordId,
int start,
int end,
OrderByComparator<DDLRecordVersion> orderByComparator)
DDLRecordVersionLocalServiceImpl#getRecordVersions(long, int,
int, OrderByComparator)
getRecordVersions in interface DDLRecordLocalService@Deprecated public int getRecordVersionsCount(long recordId)
DDLRecordVersionLocalServiceImpl#getRecordVersionsCount(
long)
getRecordVersionsCount in interface DDLRecordLocalServicepublic List<DDLRecord> getRecords(long recordSetId)
getRecords in interface DDLRecordLocalService
public List<DDLRecord> getRecords(long recordSetId,
int status,
int start,
int end,
OrderByComparator<DDLRecord> orderByComparator)
getRecords in interface DDLRecordLocalService
public List<DDLRecord> getRecords(long recordSetId,
long userId)
getRecords in interface DDLRecordLocalService
public int getRecordsCount(long recordSetId,
int status)
getRecordsCount in interface DDLRecordLocalService
public void revertRecord(long userId,
long recordId,
String version,
ServiceContext serviceContext)
throws PortalException
revertRecord in interface DDLRecordLocalServicePortalException
@Deprecated
public void revertRecordVersion(long userId,
long recordId,
String version,
ServiceContext serviceContext)
throws PortalException
revertRecord(long, long,
String, ServiceContext)
revertRecordVersion in interface DDLRecordLocalServicePortalExceptionpublic Hits search(SearchContext searchContext)
search in interface DDLRecordLocalServicepublic BaseModelSearchResult<DDLRecord> searchDDLRecords(SearchContext searchContext)
searchDDLRecords in interface DDLRecordLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface DDLRecordLocalServicebeanIdentifier - the Spring bean ID for this bean
public void updateAsset(long userId,
DDLRecord record,
DDLRecordVersion recordVersion,
long[] assetCategoryIds,
String[] assetTagNames,
Locale locale)
throws PortalException
updateAsset in interface DDLRecordLocalServicePortalExceptionpublic DDLRecord updateDDLRecord(DDLRecord ddlRecord)
updateDDLRecord in interface DDLRecordLocalServiceddlRecord - the d d l record
public DDLRecord updateRecord(long userId,
long recordId,
int displayIndex,
Map<String,Serializable> fieldsMap,
boolean mergeFields,
ServiceContext serviceContext)
throws PortalException
updateRecord in interface DDLRecordLocalServicePortalException
public DDLRecord updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
DDMFormValues ddmFormValues,
ServiceContext serviceContext)
throws PortalException
updateRecord in interface DDLRecordLocalServicePortalException
public DDLRecord updateRecord(long userId,
long recordId,
boolean majorVersion,
int displayIndex,
Fields fields,
boolean mergeFields,
ServiceContext serviceContext)
throws PortalException
updateRecord in interface DDLRecordLocalServicePortalException
public DDLRecord updateStatus(long userId,
long recordVersionId,
int status,
ServiceContext serviceContext)
throws PortalException
updateStatus in interface DDLRecordLocalServicePortalException@Deprecated public DDLRecordLocalService getWrappedDDLRecordLocalService()
getWrappedService()
@Deprecated public void setWrappedDDLRecordLocalService(DDLRecordLocalService ddlRecordLocalService)
setWrappedService(com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService)
public DDLRecordLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DDLRecordLocalService>public void setWrappedService(DDLRecordLocalService ddlRecordLocalService)
setWrappedService in interface ServiceWrapper<DDLRecordLocalService>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||