public class DDMFormInstanceRecordVersionLocalServiceWrapper extends java.lang.Object implements DDMFormInstanceRecordVersionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordVersionLocalService>
DDMFormInstanceRecordVersionLocalService
.DDMFormInstanceRecordVersionLocalService
Constructor and Description |
---|
DDMFormInstanceRecordVersionLocalServiceWrapper(DDMFormInstanceRecordVersionLocalService ddmFormInstanceRecordVersionLocalService) |
Modifier and Type | Method and Description |
---|---|
DDMFormInstanceRecordVersion |
addDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Adds the ddm form instance record version to the database.
|
DDMFormInstanceRecordVersion |
createDDMFormInstanceRecordVersion(long formInstanceRecordVersionId)
Creates a new ddm form instance record version with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceRecordVersion |
deleteDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Deletes the ddm form instance record version from the database.
|
DDMFormInstanceRecordVersion |
deleteDDMFormInstanceRecordVersion(long formInstanceRecordVersionId)
Deletes the ddm form instance record version with the primary key from the database.
|
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.
|
DDMFormInstanceRecordVersion |
fetchDDMFormInstanceRecordVersion(long formInstanceRecordVersionId) |
DDMFormInstanceRecordVersion |
fetchLatestFormInstanceRecordVersion(long userId,
long formInstanceId,
java.lang.String formInstanceVersion,
int status) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecordVersion> |
getCTPersistence() |
DDMFormInstanceRecordVersion |
getDDMFormInstanceRecordVersion(long formInstanceRecordVersionId)
Returns the ddm form instance record version with the primary key.
|
java.util.List<DDMFormInstanceRecordVersion> |
getDDMFormInstanceRecordVersions(int start,
int end)
Returns a range of all the ddm form instance record versions.
|
int |
getDDMFormInstanceRecordVersionsCount()
Returns the number of ddm form instance record versions.
|
DDMFormInstanceRecordVersion |
getFormInstanceRecordVersion(long ddmFormInstanceRecordVersionId) |
DDMFormInstanceRecordVersion |
getFormInstanceRecordVersion(long ddmFormInstanceId,
java.lang.String version) |
java.util.List<DDMFormInstanceRecordVersion> |
getFormInstanceRecordVersions(long ddmFormInstanceRecordId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator) |
int |
getFormInstanceRecordVersionsCount(long ddmFormInstanceRecordId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
DDMFormInstanceRecordVersion |
getLatestFormInstanceRecordVersion(long ddmFormInstanceId) |
DDMFormInstanceRecordVersion |
getLatestFormInstanceRecordVersion(long ddmFormInstanceRecordId,
int status) |
java.lang.Class<DDMFormInstanceRecordVersion> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceRecordVersionLocalService |
getWrappedService() |
void |
setWrappedService(DDMFormInstanceRecordVersionLocalService ddmFormInstanceRecordVersionLocalService) |
DDMFormInstanceRecordVersion |
updateDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Updates the ddm form instance record version in the database or adds it if it does not yet exist.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecordVersion>,R,E> updateUnsafeFunction) |
public DDMFormInstanceRecordVersionLocalServiceWrapper(DDMFormInstanceRecordVersionLocalService ddmFormInstanceRecordVersionLocalService)
public DDMFormInstanceRecordVersion addDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Important: Inspect DDMFormInstanceRecordVersionLocalServiceImpl 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.
addDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic DDMFormInstanceRecordVersion createDDMFormInstanceRecordVersion(long formInstanceRecordVersionId)
createDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
formInstanceRecordVersionId
- the primary key for the new ddm form instance record versionpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface DDMFormInstanceRecordVersionLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DDMFormInstanceRecordVersion deleteDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Important: Inspect DDMFormInstanceRecordVersionLocalServiceImpl 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.
deleteDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic DDMFormInstanceRecordVersion deleteDDMFormInstanceRecordVersion(long formInstanceRecordVersionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DDMFormInstanceRecordVersionLocalServiceImpl 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.
deleteDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
formInstanceRecordVersionId
- the primary key of the ddm form instance record versionPortalException
- if a ddm form instance record version with the primary key could not be foundpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface DDMFormInstanceRecordVersionLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DDMFormInstanceRecordVersionLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
dynamicQuery
- the dynamic querypublic <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.DDMFormInstanceRecordVersionModelImpl
.
dynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
dynamicQuery
- 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> 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.DDMFormInstanceRecordVersionModelImpl
.
dynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
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
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface DDMFormInstanceRecordVersionLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface DDMFormInstanceRecordVersionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DDMFormInstanceRecordVersion fetchDDMFormInstanceRecordVersion(long formInstanceRecordVersionId)
fetchDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
public DDMFormInstanceRecordVersion fetchLatestFormInstanceRecordVersion(long userId, long formInstanceId, java.lang.String formInstanceVersion, int status)
fetchLatestFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
public DDMFormInstanceRecordVersion getDDMFormInstanceRecordVersion(long formInstanceRecordVersionId) throws com.liferay.portal.kernel.exception.PortalException
getDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
formInstanceRecordVersionId
- the primary key of the ddm form instance record versionPortalException
- if a ddm form instance record version with the primary key could not be foundpublic java.util.List<DDMFormInstanceRecordVersion> getDDMFormInstanceRecordVersions(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.DDMFormInstanceRecordVersionModelImpl
.
getDDMFormInstanceRecordVersions
in interface DDMFormInstanceRecordVersionLocalService
start
- the lower bound of the range of ddm form instance record versionsend
- the upper bound of the range of ddm form instance record versions (not inclusive)public int getDDMFormInstanceRecordVersionsCount()
getDDMFormInstanceRecordVersionsCount
in interface DDMFormInstanceRecordVersionLocalService
public DDMFormInstanceRecordVersion getFormInstanceRecordVersion(long ddmFormInstanceRecordVersionId) throws com.liferay.portal.kernel.exception.PortalException
getFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecordVersion getFormInstanceRecordVersion(long ddmFormInstanceId, java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DDMFormInstanceRecordVersion> getFormInstanceRecordVersions(long ddmFormInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceRecordVersion> orderByComparator)
getFormInstanceRecordVersions
in interface DDMFormInstanceRecordVersionLocalService
public int getFormInstanceRecordVersionsCount(long ddmFormInstanceRecordId)
getFormInstanceRecordVersionsCount
in interface DDMFormInstanceRecordVersionLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDMFormInstanceRecordVersionLocalService
public DDMFormInstanceRecordVersion getLatestFormInstanceRecordVersion(long ddmFormInstanceId) throws com.liferay.portal.kernel.exception.PortalException
getLatestFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecordVersion getLatestFormInstanceRecordVersion(long ddmFormInstanceRecordId, int status) throws com.liferay.portal.kernel.exception.PortalException
getLatestFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DDMFormInstanceRecordVersionLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DDMFormInstanceRecordVersionLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DDMFormInstanceRecordVersion updateDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
Important: Inspect DDMFormInstanceRecordVersionLocalServiceImpl 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.
updateDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecordVersion> getCTPersistence()
getCTPersistence
in interface DDMFormInstanceRecordVersionLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecordVersion>
public java.lang.Class<DDMFormInstanceRecordVersion> getModelClass()
getModelClass
in interface DDMFormInstanceRecordVersionLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecordVersion>
public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceRecordVersion>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction
in interface DDMFormInstanceRecordVersionLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMFormInstanceRecordVersion>
E extends java.lang.Throwable
public DDMFormInstanceRecordVersionLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordVersionLocalService>
public void setWrappedService(DDMFormInstanceRecordVersionLocalService ddmFormInstanceRecordVersionLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMFormInstanceRecordVersionLocalService>