@CTAware @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface DDMFormInstanceRecordLocalService extends com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>, com.liferay.portal.kernel.service.PersistedModelLocalService
DDMFormInstanceRecordLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
DDMFormInstanceRecord |
addDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Adds the ddm form instance record to the database.
|
DDMFormInstanceRecord |
addFormInstanceRecord(long userId,
long groupId,
long ddmFormInstanceId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstanceRecord |
createDDMFormInstanceRecord(long formInstanceRecordId)
Creates a new ddm form instance record with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceRecord |
deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Deletes the ddm form instance record from the database.
|
DDMFormInstanceRecord |
deleteDDMFormInstanceRecord(long formInstanceRecordId)
Deletes the ddm form instance record with the primary key from the database.
|
DDMFormInstanceRecord |
deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) |
DDMFormInstanceRecord |
deleteFormInstanceRecord(long ddmFormInstanceRecordId) |
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) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
DDMFormInstanceRecord |
fetchDDMFormInstanceRecord(long formInstanceRecordId) |
DDMFormInstanceRecord |
fetchDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance record matching the UUID and group.
|
DDMFormInstanceRecord |
fetchFormInstanceRecord(long ddmFormInstanceRecordId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord> |
getCTPersistence() |
DDMFormInstanceRecord |
getDDMFormInstanceRecord(long formInstanceRecordId)
Returns the ddm form instance record with the primary key.
|
DDMFormInstanceRecord |
getDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the ddm form instance record matching the UUID and group.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecords(int start,
int end)
Returns a range of all the ddm form instance records.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the ddm form instance records matching the UUID and company.
|
java.util.List<DDMFormInstanceRecord> |
getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.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 |
getDDMFormInstanceRecordsCount()
Returns the number of ddm form instance records.
|
DDMFormValues |
getDDMFormValues(DDMForm ddmForm,
long storageId,
java.lang.String storageType) |
DDMFormValues |
getDDMFormValues(long storageId,
DDMForm ddmForm)
Deprecated.
As of Athanasius (7.3.x), replaced by
getDDMFormValues(DDMForm, long, String) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
DDMFormInstanceRecord |
getFormInstanceRecord(long formInstanceRecordId) |
java.util.List<DDMFormInstanceRecord> |
getFormInstanceRecords(long ddmFormInstanceId) |
java.util.List<DDMFormInstanceRecord> |
getFormInstanceRecords(long ddmFormInstanceId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator) |
java.util.List<DDMFormInstanceRecord> |
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 |
getIndexableActionableDynamicQuery() |
java.lang.Class<DDMFormInstanceRecord> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
void |
revertFormInstanceRecord(long userId,
long ddmFormInstanceRecordId,
java.lang.String version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> |
searchFormInstanceRecords(long formInstanceId,
java.lang.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) |
DDMFormInstanceRecord |
updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
Updates the ddm form instance record in the database or adds it if it does not yet exist.
|
DDMFormInstanceRecord |
updateFormInstanceRecord(long userId,
long ddmFormInstanceRecordId,
boolean majorVersion,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormInstanceRecord |
updateStatus(long userId,
long recordVersionId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>,R,E> updateUnsafeFunction) |
@Indexable(type=REINDEX) DDMFormInstanceRecord addDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
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.
ddmFormInstanceRecord
- the ddm form instance record@Indexable(type=REINDEX) DDMFormInstanceRecord addFormInstanceRecord(long userId, long groupId, long ddmFormInstanceId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(enabled=false) DDMFormInstanceRecord createDDMFormInstanceRecord(long formInstanceRecordId)
formInstanceRecordId
- the primary key for the new ddm form instance recordcom.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) DDMFormInstanceRecord deleteDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
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.
ddmFormInstanceRecord
- the ddm form instance record@Indexable(type=DELETE) DDMFormInstanceRecord deleteDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
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.
formInstanceRecordId
- the primary key of the ddm form instance recordcom.liferay.portal.kernel.exception.PortalException
- if a ddm form instance record with the primary key could not be found@Indexable(type=DELETE) @SystemEvent(action=1, type=1) DDMFormInstanceRecord deleteFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=DELETE) DDMFormInstanceRecord deleteFormInstanceRecord(long ddmFormInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFormInstanceRecords(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.
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 (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord fetchDDMFormInstanceRecord(long formInstanceRecordId)
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord fetchDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the groupnull
if a matching ddm form instance record could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord fetchFormInstanceRecord(long ddmFormInstanceRecordId)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord getDDMFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
formInstanceRecordId
- the primary key of the ddm form instance recordcom.liferay.portal.kernel.exception.PortalException
- if a ddm form instance record with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord getDDMFormInstanceRecordByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the ddm form instance record's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching ddm form instance record could not be found@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecords(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordModelImpl
.
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)@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the ddm form instance recordscompanyId
- the primary key of the company@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getDDMFormInstanceRecordsByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
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 (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) int getDDMFormInstanceRecordsCount()
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormValues getDDMFormValues(DDMForm ddmForm, long storageId, java.lang.String storageType) throws StorageException
StorageException
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) DDMFormValues getDDMFormValues(long storageId, DDMForm ddmForm) throws StorageException
getDDMFormValues(DDMForm, long, String)
StorageException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
@Transactional(propagation=SUPPORTS, readOnly=true) DDMFormInstanceRecord getFormInstanceRecord(long formInstanceRecordId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DDMFormInstanceRecord> getFormInstanceRecords(long ddmFormInstanceId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecord> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFormInstanceRecordsCount(long ddmFormInstanceId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFormInstanceRecordsCount(long ddmFormInstanceId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFormInstanceRecordsCount(long ddmFormInstanceId, long userId)
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
void revertFormInstanceRecord(long userId, long ddmFormInstanceRecordId, java.lang.String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(long formInstanceId, java.lang.String[] notEmptyFields, int status, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<DDMFormInstanceRecord> searchFormInstanceRecords(com.liferay.portal.kernel.search.SearchContext searchContext)
@Indexable(type=REINDEX) DDMFormInstanceRecord updateDDMFormInstanceRecord(DDMFormInstanceRecord ddmFormInstanceRecord)
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.
ddmFormInstanceRecord
- the ddm form instance record@Indexable(type=REINDEX) DDMFormInstanceRecord updateFormInstanceRecord(long userId, long ddmFormInstanceRecordId, boolean majorVersion, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) DDMFormInstanceRecord updateStatus(long userId, long recordVersionId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(enabled=false) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord> getCTPersistence()
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
@Transactional(enabled=false) java.lang.Class<DDMFormInstanceRecord> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecord>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecord>
E extends java.lang.Throwable