public class DDMFormInstanceVersionLocalServiceWrapper extends java.lang.Object implements DDMFormInstanceVersionLocalService, ServiceWrapper<DDMFormInstanceVersionLocalService>
DDMFormInstanceVersionLocalService.DDMFormInstanceVersionLocalService| Constructor and Description |
|---|
DDMFormInstanceVersionLocalServiceWrapper(DDMFormInstanceVersionLocalService ddmFormInstanceVersionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DDMFormInstanceVersion |
addDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
Adds the ddm form instance version to the database.
|
DDMFormInstanceVersion |
createDDMFormInstanceVersion(long formInstanceVersionId)
Creates a new ddm form instance version with the primary key.
|
PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
void |
deleteByFormInstanceId(long ddmFormInstanceId) |
DDMFormInstanceVersion |
deleteDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
Deletes the ddm form instance version from the database.
|
DDMFormInstanceVersion |
deleteDDMFormInstanceVersion(long formInstanceVersionId)
Deletes the ddm form instance version with the primary key from the database.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
<T> T |
dslQuery(DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(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(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
DDMFormInstanceVersion |
fetchDDMFormInstanceVersion(long formInstanceVersionId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
CTPersistence<DDMFormInstanceVersion> |
getCTPersistence() |
DDMFormInstanceVersion |
getDDMFormInstanceVersion(long formInstanceVersionId)
Returns the ddm form instance version with the primary key.
|
java.util.List<DDMFormInstanceVersion> |
getDDMFormInstanceVersions(int start,
int end)
Returns a range of all the ddm form instance versions.
|
int |
getDDMFormInstanceVersionsCount()
Returns the number of ddm form instance versions.
|
DDMFormInstanceVersion |
getFormInstanceVersion(long ddmFormInstanceVersionId) |
DDMFormInstanceVersion |
getFormInstanceVersion(long ddmFormInstanceId,
java.lang.String version) |
java.util.List<DDMFormInstanceVersion> |
getFormInstanceVersions(long ddmFormInstanceId) |
java.util.List<DDMFormInstanceVersion> |
getFormInstanceVersions(long ddmFormInstanceId,
int start,
int end,
OrderByComparator<DDMFormInstanceVersion> orderByComparator) |
int |
getFormInstanceVersionsCount(long ddmFormInstanceId) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
DDMFormInstanceVersion |
getLatestFormInstanceVersion(long ddmFormInstanceId) |
DDMFormInstanceVersion |
getLatestFormInstanceVersion(long formInstanceId,
int status) |
java.lang.Class<DDMFormInstanceVersion> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMFormInstanceVersionLocalService |
getWrappedService() |
void |
setWrappedService(DDMFormInstanceVersionLocalService ddmFormInstanceVersionLocalService) |
DDMFormInstanceVersion |
updateDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
Updates the ddm form instance version in the database or adds it if it does not yet exist.
|
<R,E extends java.lang.Throwable> |
updateWithUnsafeFunction(UnsafeFunction<CTPersistence<DDMFormInstanceVersion>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic DDMFormInstanceVersionLocalServiceWrapper(DDMFormInstanceVersionLocalService ddmFormInstanceVersionLocalService)
public DDMFormInstanceVersion addDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
addDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceddmFormInstanceVersion - the ddm form instance versionpublic DDMFormInstanceVersion createDDMFormInstanceVersion(long formInstanceVersionId)
createDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceformInstanceVersionId - the primary key for the new ddm form instance versionpublic PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface DDMFormInstanceVersionLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void deleteByFormInstanceId(long ddmFormInstanceId)
deleteByFormInstanceId in interface DDMFormInstanceVersionLocalServicepublic DDMFormInstanceVersion deleteDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
deleteDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceddmFormInstanceVersion - the ddm form instance versionpublic DDMFormInstanceVersion deleteDDMFormInstanceVersion(long formInstanceVersionId) throws PortalException
deleteDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceformInstanceVersionId - the primary key of the ddm form instance versionPortalException - if a ddm form instance version with the primary key could not be foundpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface DDMFormInstanceVersionLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface DDMFormInstanceVersionLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DDMFormInstanceVersionLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DDMFormInstanceVersionLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(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.DDMFormInstanceVersionModelImpl.
dynamicQuery in interface DDMFormInstanceVersionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery, int start, int end, 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.DDMFormInstanceVersionModelImpl.
dynamicQuery in interface DDMFormInstanceVersionLocalServicedynamicQuery - 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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DDMFormInstanceVersionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DDMFormInstanceVersionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic DDMFormInstanceVersion fetchDDMFormInstanceVersion(long formInstanceVersionId)
fetchDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDMFormInstanceVersionLocalServicepublic DDMFormInstanceVersion getDDMFormInstanceVersion(long formInstanceVersionId) throws PortalException
getDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceformInstanceVersionId - the primary key of the ddm form instance versionPortalException - if a ddm form instance version with the primary key could not be foundpublic java.util.List<DDMFormInstanceVersion> getDDMFormInstanceVersions(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.DDMFormInstanceVersionModelImpl.
getDDMFormInstanceVersions in interface DDMFormInstanceVersionLocalServicestart - the lower bound of the range of ddm form instance versionsend - the upper bound of the range of ddm form instance versions (not inclusive)public int getDDMFormInstanceVersionsCount()
getDDMFormInstanceVersionsCount in interface DDMFormInstanceVersionLocalServicepublic DDMFormInstanceVersion getFormInstanceVersion(long ddmFormInstanceVersionId) throws PortalException
getFormInstanceVersion in interface DDMFormInstanceVersionLocalServicePortalExceptionpublic DDMFormInstanceVersion getFormInstanceVersion(long ddmFormInstanceId, java.lang.String version) throws PortalException
getFormInstanceVersion in interface DDMFormInstanceVersionLocalServicePortalExceptionpublic java.util.List<DDMFormInstanceVersion> getFormInstanceVersions(long ddmFormInstanceId)
getFormInstanceVersions in interface DDMFormInstanceVersionLocalServicepublic java.util.List<DDMFormInstanceVersion> getFormInstanceVersions(long ddmFormInstanceId, int start, int end, OrderByComparator<DDMFormInstanceVersion> orderByComparator)
getFormInstanceVersions in interface DDMFormInstanceVersionLocalServicepublic int getFormInstanceVersionsCount(long ddmFormInstanceId)
getFormInstanceVersionsCount in interface DDMFormInstanceVersionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DDMFormInstanceVersionLocalServicepublic DDMFormInstanceVersion getLatestFormInstanceVersion(long ddmFormInstanceId) throws PortalException
getLatestFormInstanceVersion in interface DDMFormInstanceVersionLocalServicePortalExceptionpublic DDMFormInstanceVersion getLatestFormInstanceVersion(long formInstanceId, int status) throws PortalException
getLatestFormInstanceVersion in interface DDMFormInstanceVersionLocalServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DDMFormInstanceVersionLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface DDMFormInstanceVersionLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic DDMFormInstanceVersion updateDDMFormInstanceVersion(DDMFormInstanceVersion ddmFormInstanceVersion)
updateDDMFormInstanceVersion in interface DDMFormInstanceVersionLocalServiceddmFormInstanceVersion - the ddm form instance versionpublic CTPersistence<DDMFormInstanceVersion> getCTPersistence()
getCTPersistence in interface DDMFormInstanceVersionLocalServicegetCTPersistence in interface CTService<DDMFormInstanceVersion>public java.lang.Class<DDMFormInstanceVersion> getModelClass()
getModelClass in interface DDMFormInstanceVersionLocalServicegetModelClass in interface CTService<DDMFormInstanceVersion>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<DDMFormInstanceVersion>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface DDMFormInstanceVersionLocalServiceupdateWithUnsafeFunction in interface CTService<DDMFormInstanceVersion>E extends java.lang.Throwablepublic DDMFormInstanceVersionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DDMFormInstanceVersionLocalService>public void setWrappedService(DDMFormInstanceVersionLocalService ddmFormInstanceVersionLocalService)
setWrappedService in interface ServiceWrapper<DDMFormInstanceVersionLocalService>