Class DDMFormInstanceRecordLocalServiceWrapper
- All Implemented Interfaces:
DDMFormInstanceRecordLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
DDMFormInstanceRecordLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionDDMFormInstanceRecordLocalServiceWrapper
(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddDDMFormInstanceRecord
(DDMFormInstanceRecord ddmFormInstanceRecord) Adds the ddm form instance record to the database.addFormInstanceRecord
(long userId, long groupId, long ddmFormInstanceId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) createDDMFormInstanceRecord
(long formInstanceRecordId) Creates a new ddm form instance record with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteDDMFormInstanceRecord
(long formInstanceRecordId) Deletes the ddm form instance record with the primary key from the database.deleteDDMFormInstanceRecord
(DDMFormInstanceRecord ddmFormInstanceRecord) Deletes the ddm form instance record from the database.deleteFormInstanceRecord
(long ddmFormInstanceRecordId) deleteFormInstanceRecord
(DDMFormInstanceRecord ddmFormInstanceRecord) void
deleteFormInstanceRecords
(long ddmFormInstanceId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchDDMFormInstanceRecord
(long formInstanceRecordId) fetchDDMFormInstanceRecordByUuidAndGroupId
(String uuid, long groupId) Returns the ddm form instance record matching the UUID and group.fetchFormInstanceRecord
(long ddmFormInstanceRecordId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>
getDDMFormInstanceRecord
(long formInstanceRecordId) Returns the ddm form instance record with the primary key.getDDMFormInstanceRecordByUuidAndGroupId
(String uuid, long groupId) Returns the ddm form instance record matching the UUID and group.getDDMFormInstanceRecords
(int start, int end) Returns a range of all the ddm form instance records.getDDMFormInstanceRecordsByUuidAndCompanyId
(String uuid, long companyId) Returns all the ddm form instance records matching the UUID and company.getDDMFormInstanceRecordsByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns a range of ddm form instance records matching the UUID and company.int
Returns the number of ddm form instance records.getDDMFormValues
(long storageId, DDMForm ddmForm) Deprecated.getDDMFormValues
(DDMForm ddmForm, long storageId, String storageType) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFormInstanceRecord
(long formInstanceRecordId) getFormInstanceRecords
(long ddmFormInstanceId) getFormInstanceRecords
(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) getFormInstanceRecords
(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) int
getFormInstanceRecordsCount
(long ddmFormInstanceId) int
getFormInstanceRecordsCount
(long ddmFormInstanceId, int status) int
getFormInstanceRecordsCount
(long ddmFormInstanceId, long userId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
revertFormInstanceRecord
(long userId, long ddmFormInstanceRecordId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord>
searchFormInstanceRecords
(long formInstanceId, String[] notEmptyFields, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord>
searchFormInstanceRecords
(com.liferay.portal.kernel.search.SearchContext searchContext) void
setWrappedService
(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService) updateDDMFormInstanceRecord
(DDMFormInstanceRecord ddmFormInstanceRecord) Updates the ddm form instance record in the database or adds it if it does not yet exist.updateFormInstanceRecord
(long userId, long ddmFormInstanceRecordId, boolean majorVersion, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus
(long userId, long recordVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
DDMFormInstanceRecordLocalServiceWrapper
public DDMFormInstanceRecordLocalServiceWrapper() -
DDMFormInstanceRecordLocalServiceWrapper
public DDMFormInstanceRecordLocalServiceWrapper(DDMFormInstanceRecordLocalService ddmFormInstanceRecordLocalService)
-
-
Method Details
-
addDDMFormInstanceRecord
Adds the ddm form instance record to the database. Also notifies the appropriate model listeners.Important: Inspect DDMFormInstanceRecordLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
ddmFormInstanceRecord
- the ddm form instance record- Returns:
- the ddm form instance record that was added
-
addFormInstanceRecord
public DDMFormInstanceRecord addFormInstanceRecord(long userId, long groupId, long ddmFormInstanceId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createDDMFormInstanceRecord
Creates a new ddm form instance record with the primary key. Does not add the ddm form instance record to the database.- Specified by:
createDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
formInstanceRecordId
- the primary key for the new ddm form instance record- Returns:
- the new ddm form instance record
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceDDMFormInstanceRecordLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteDDMFormInstanceRecord
public DDMFormInstanceRecord deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) Deletes the ddm form instance record from the database. Also notifies the appropriate model listeners.Important: Inspect DDMFormInstanceRecordLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
ddmFormInstanceRecord
- the ddm form instance record- Returns:
- the ddm form instance record that was removed
-
deleteDDMFormInstanceRecord
public DDMFormInstanceRecord deleteDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException Deletes the ddm form instance record with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DDMFormInstanceRecordLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
formInstanceRecordId
- the primary key of the ddm form instance record- Returns:
- the ddm form instance record that was removed
- Throws:
PortalException
- if a ddm form instance record with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteFormInstanceRecord
public DDMFormInstanceRecord deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFormInstanceRecord
public DDMFormInstanceRecord deleteFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFormInstanceRecords
public void deleteFormInstanceRecords(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceDDMFormInstanceRecordLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceDDMFormInstanceRecordLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceDDMFormInstanceRecordLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceDDMFormInstanceRecordLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
dynamicQuery
- 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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDDMFormInstanceRecord
- Specified by:
fetchDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
-
fetchDDMFormInstanceRecordByUuidAndGroupId
Returns the ddm form instance record matching the UUID and group.- Specified by:
fetchDDMFormInstanceRecordByUuidAndGroupId
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm form instance record, or
null
if a matching ddm form instance record could not be found
-
fetchFormInstanceRecord
- Specified by:
fetchFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceDDMFormInstanceRecordLocalService
-
getDDMFormInstanceRecord
public DDMFormInstanceRecord getDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm form instance record with the primary key.- Specified by:
getDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
formInstanceRecordId
- the primary key of the ddm form instance record- Returns:
- the ddm form instance record
- Throws:
PortalException
- if a ddm form instance record with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMFormInstanceRecordByUuidAndGroupId
public DDMFormInstanceRecord getDDMFormInstanceRecordByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm form instance record matching the UUID and group.- Specified by:
getDDMFormInstanceRecordByUuidAndGroupId
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm form instance record
- Throws:
PortalException
- if a matching ddm form instance record could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMFormInstanceRecords
Returns a range of all the ddm form instance records.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.- Specified by:
getDDMFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
start
- the lower bound of the range of ddm form instance recordsend
- the upper bound of the range of ddm form instance records (not inclusive)- Returns:
- the range of ddm form instance records
-
getDDMFormInstanceRecordsByUuidAndCompanyId
public List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(String uuid, long companyId) Returns all the ddm form instance records matching the UUID and company.- Specified by:
getDDMFormInstanceRecordsByUuidAndCompanyId
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
uuid
- the UUID of the ddm form instance recordscompanyId
- the primary key of the company- Returns:
- the matching ddm form instance records, or an empty list if no matches were found
-
getDDMFormInstanceRecordsByUuidAndCompanyId
public List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) Returns a range of ddm form instance records matching the UUID and company.- Specified by:
getDDMFormInstanceRecordsByUuidAndCompanyId
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
uuid
- the UUID of the ddm form instance recordscompanyId
- the primary key of the companystart
- the lower bound of the range of ddm form instance recordsend
- the upper bound of the range of ddm form instance records (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching ddm form instance records, or an empty list if no matches were found
-
getDDMFormInstanceRecordsCount
public int getDDMFormInstanceRecordsCount()Returns the number of ddm form instance records.- Specified by:
getDDMFormInstanceRecordsCount
in interfaceDDMFormInstanceRecordLocalService
- Returns:
- the number of ddm form instance records
-
getDDMFormValues
public DDMFormValues getDDMFormValues(DDMForm ddmForm, long storageId, String storageType) throws StorageException - Specified by:
getDDMFormValues
in interfaceDDMFormInstanceRecordLocalService
- Throws:
StorageException
-
getDDMFormValues
@Deprecated public DDMFormValues getDDMFormValues(long storageId, DDMForm ddmForm) throws StorageException Deprecated.As of Athanasius (7.3.x), replaced bygetDDMFormValues(DDMForm, long, String)
- Specified by:
getDDMFormValues
in interfaceDDMFormInstanceRecordLocalService
- Throws:
StorageException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecord
public DDMFormInstanceRecord getFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFormInstanceRecords
- Specified by:
getFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecords
public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) - Specified by:
getFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecords
public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) - Specified by:
getFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId) - Specified by:
getFormInstanceRecordsCount
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId, int status) - Specified by:
getFormInstanceRecordsCount
in interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId, long userId) - Specified by:
getFormInstanceRecordsCount
in interfaceDDMFormInstanceRecordLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceDDMFormInstanceRecordLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDDMFormInstanceRecordLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceDDMFormInstanceRecordLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
revertFormInstanceRecord
public void revertFormInstanceRecord(long userId, long ddmFormInstanceRecordId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
revertFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchFormInstanceRecords
public com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(long formInstanceId, String[] notEmptyFields, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchFormInstanceRecords
public com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(com.liferay.portal.kernel.search.SearchContext searchContext) - Specified by:
searchFormInstanceRecords
in interfaceDDMFormInstanceRecordLocalService
-
updateDDMFormInstanceRecord
public DDMFormInstanceRecord updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) Updates the ddm form instance record in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DDMFormInstanceRecordLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateDDMFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Parameters:
ddmFormInstanceRecord
- the ddm form instance record- Returns:
- the ddm form instance record that was updated
-
updateFormInstanceRecord
public DDMFormInstanceRecord updateFormInstanceRecord(long userId, long ddmFormInstanceRecordId, boolean majorVersion, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateFormInstanceRecord
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public DDMFormInstanceRecord updateStatus(long userId, long recordVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceDDMFormInstanceRecordLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
- Specified by:
getCTPersistence
in interfaceDDMFormInstanceRecordLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
- Specified by:
getModelClass
in interfaceDDMFormInstanceRecordLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
- Specified by:
updateWithUnsafeFunction
in interfaceDDMFormInstanceRecordLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
-
getDDMFormValues(DDMForm, long, String)