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.PersistedModelcreatePersistedModel(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) voiddeleteFormInstanceRecords(long ddmFormInstanceId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.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.intReturns 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.ExportActionableDynamicQuerygetExportActionableDynamicQuery(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) intgetFormInstanceRecordsCount(long ddmFormInstanceId) intgetFormInstanceRecordsCount(long ddmFormInstanceId, int status) intgetFormInstanceRecordsCount(long ddmFormInstanceId, long userId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidrevertFormInstanceRecord(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) voidsetWrappedService(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, waitMethods 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:
addDDMFormInstanceRecordin 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:
addFormInstanceRecordin 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:
createDDMFormInstanceRecordin 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:
createPersistedModelin interfaceDDMFormInstanceRecordLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteDDMFormInstanceRecordin 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:
deleteDDMFormInstanceRecordin 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:
deleteFormInstanceRecordin interfaceDDMFormInstanceRecordLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFormInstanceRecord
public DDMFormInstanceRecord deleteFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFormInstanceRecordin interfaceDDMFormInstanceRecordLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFormInstanceRecords
public void deleteFormInstanceRecords(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteFormInstanceRecordsin 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:
deletePersistedModelin interfaceDDMFormInstanceRecordLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceDDMFormInstanceRecordLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceDDMFormInstanceRecordLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceDDMFormInstanceRecordLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Specified by:
dynamicQueryin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchDDMFormInstanceRecordin interfaceDDMFormInstanceRecordLocalService
-
fetchDDMFormInstanceRecordByUuidAndGroupId
Returns the ddm form instance record matching the UUID and group.- Specified by:
fetchDDMFormInstanceRecordByUuidAndGroupIdin interfaceDDMFormInstanceRecordLocalService- Parameters:
uuid- the ddm form instance record's UUIDgroupId- the primary key of the group- Returns:
- the matching ddm form instance record, or
nullif a matching ddm form instance record could not be found
-
fetchFormInstanceRecord
- Specified by:
fetchFormInstanceRecordin interfaceDDMFormInstanceRecordLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin 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:
getDDMFormInstanceRecordin 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:
getDDMFormInstanceRecordByUuidAndGroupIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl.- Specified by:
getDDMFormInstanceRecordsin 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:
getDDMFormInstanceRecordsByUuidAndCompanyIdin 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:
getDDMFormInstanceRecordsByUuidAndCompanyIdin 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:
getDDMFormInstanceRecordsCountin interfaceDDMFormInstanceRecordLocalService- Returns:
- the number of ddm form instance records
-
getDDMFormValues
public DDMFormValues getDDMFormValues(DDMForm ddmForm, long storageId, String storageType) throws StorageException - Specified by:
getDDMFormValuesin 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:
getDDMFormValuesin interfaceDDMFormInstanceRecordLocalService- Throws:
StorageException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecord
public DDMFormInstanceRecord getFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFormInstanceRecordin interfaceDDMFormInstanceRecordLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFormInstanceRecords
- Specified by:
getFormInstanceRecordsin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecords
public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) - Specified by:
getFormInstanceRecordsin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecords
public List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) - Specified by:
getFormInstanceRecordsin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId) - Specified by:
getFormInstanceRecordsCountin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId, int status) - Specified by:
getFormInstanceRecordsCountin interfaceDDMFormInstanceRecordLocalService
-
getFormInstanceRecordsCount
public int getFormInstanceRecordsCount(long ddmFormInstanceId, long userId) - Specified by:
getFormInstanceRecordsCountin interfaceDDMFormInstanceRecordLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceDDMFormInstanceRecordLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceDDMFormInstanceRecordLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
revertFormInstanceRecordin 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:
searchFormInstanceRecordsin 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:
searchFormInstanceRecordsin 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:
updateDDMFormInstanceRecordin 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:
updateFormInstanceRecordin 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:
updateStatusin interfaceDDMFormInstanceRecordLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>- Specified by:
getCTPersistencein interfaceDDMFormInstanceRecordLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>- Specified by:
updateWithUnsafeFunctionin interfaceDDMFormInstanceRecordLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordLocalService>
-
getDDMFormValues(DDMForm, long, String)