@ProviderType 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.
|
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) |
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() |
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) |
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.
|
public DDMFormInstanceRecordVersionLocalServiceWrapper(DDMFormInstanceRecordVersionLocalService ddmFormInstanceRecordVersionLocalService)
public DDMFormInstanceRecordVersion addDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
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 DDMFormInstanceRecordVersion deleteDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
deleteDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic DDMFormInstanceRecordVersion deleteDDMFormInstanceRecordVersion(long formInstanceRecordVersionId) throws com.liferay.portal.kernel.exception.PortalException
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 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 QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface 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 QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface 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 QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceRecordVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 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
com.liferay.portal.kernel.exception.PortalException
public DDMFormInstanceRecordVersion updateDDMFormInstanceRecordVersion(DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion)
updateDDMFormInstanceRecordVersion
in interface DDMFormInstanceRecordVersionLocalService
ddmFormInstanceRecordVersion
- the ddm form instance record versionpublic 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>