public class DDMTemplateVersionLocalServiceWrapper extends java.lang.Object implements DDMTemplateVersionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMTemplateVersionLocalService>
DDMTemplateVersionLocalService.DDMTemplateVersionLocalService| Constructor and Description |
|---|
DDMTemplateVersionLocalServiceWrapper() |
DDMTemplateVersionLocalServiceWrapper(DDMTemplateVersionLocalService ddmTemplateVersionLocalService) |
| Modifier and Type | Method and Description |
|---|---|
DDMTemplateVersion |
addDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Adds the ddm template version to the database.
|
DDMTemplateVersion |
createDDMTemplateVersion(long templateVersionId)
Creates a new ddm template version with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
DDMTemplateVersion |
deleteDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Deletes the ddm template version from the database.
|
DDMTemplateVersion |
deleteDDMTemplateVersion(long templateVersionId)
Deletes the ddm template version with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteTemplateVersions(long templateId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(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.
|
DDMTemplateVersion |
fetchDDMTemplateVersion(long templateVersionId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplateVersion> |
getCTPersistence() |
DDMTemplateVersion |
getDDMTemplateVersion(long templateVersionId)
Returns the ddm template version with the primary key.
|
java.util.List<DDMTemplateVersion> |
getDDMTemplateVersions(int start,
int end)
Returns a range of all the ddm template versions.
|
int |
getDDMTemplateVersionsCount()
Returns the number of ddm template versions.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
DDMTemplateVersion |
getLatestTemplateVersion(long templateId) |
java.lang.Class<DDMTemplateVersion> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
DDMTemplateVersion |
getTemplateVersion(long templateVersionId) |
DDMTemplateVersion |
getTemplateVersion(long templateId,
java.lang.String version) |
java.util.List<DDMTemplateVersion> |
getTemplateVersions(long templateId) |
java.util.List<DDMTemplateVersion> |
getTemplateVersions(long templateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) |
int |
getTemplateVersionsCount(long templateId) |
DDMTemplateVersionLocalService |
getWrappedService() |
void |
setWrappedService(DDMTemplateVersionLocalService ddmTemplateVersionLocalService) |
DDMTemplateVersion |
updateDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Updates the ddm template 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<DDMTemplateVersion>,R,E> updateUnsafeFunction) |
public DDMTemplateVersionLocalServiceWrapper()
public DDMTemplateVersionLocalServiceWrapper(DDMTemplateVersionLocalService ddmTemplateVersionLocalService)
public DDMTemplateVersion addDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Important: Inspect DDMTemplateVersionLocalServiceImpl 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.
addDDMTemplateVersion in interface DDMTemplateVersionLocalServiceddmTemplateVersion - the ddm template versionpublic DDMTemplateVersion createDDMTemplateVersion(long templateVersionId)
createDDMTemplateVersion in interface DDMTemplateVersionLocalServicetemplateVersionId - the primary key for the new ddm template versionpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel in interface DDMTemplateVersionLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic DDMTemplateVersion deleteDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Important: Inspect DDMTemplateVersionLocalServiceImpl 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.
deleteDDMTemplateVersion in interface DDMTemplateVersionLocalServiceddmTemplateVersion - the ddm template versionpublic DDMTemplateVersion deleteDDMTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DDMTemplateVersionLocalServiceImpl 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.
deleteDDMTemplateVersion in interface DDMTemplateVersionLocalServicetemplateVersionId - the primary key of the ddm template versionPortalException - if a ddm template 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 DDMTemplateVersionLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic void deleteTemplateVersions(long templateId)
deleteTemplateVersions in interface DDMTemplateVersionLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface DDMTemplateVersionLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface DDMTemplateVersionLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface DDMTemplateVersionLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface DDMTemplateVersionLocalServicedynamicQuery - 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.DDMTemplateVersionModelImpl.
dynamicQuery in interface DDMTemplateVersionLocalServicedynamicQuery - 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.DDMTemplateVersionModelImpl.
dynamicQuery in interface DDMTemplateVersionLocalServicedynamicQuery - 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 DDMTemplateVersionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface DDMTemplateVersionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic DDMTemplateVersion fetchDDMTemplateVersion(long templateVersionId)
fetchDDMTemplateVersion in interface DDMTemplateVersionLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion getDDMTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
getDDMTemplateVersion in interface DDMTemplateVersionLocalServicetemplateVersionId - the primary key of the ddm template versionPortalException - if a ddm template version with the primary key could not be foundpublic java.util.List<DDMTemplateVersion> getDDMTemplateVersions(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.DDMTemplateVersionModelImpl.
getDDMTemplateVersions in interface DDMTemplateVersionLocalServicestart - the lower bound of the range of ddm template versionsend - the upper bound of the range of ddm template versions (not inclusive)public int getDDMTemplateVersionsCount()
getDDMTemplateVersionsCount in interface DDMTemplateVersionLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion getLatestTemplateVersion(long templateId) throws com.liferay.portal.kernel.exception.PortalException
getLatestTemplateVersion in interface DDMTemplateVersionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DDMTemplateVersionLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface DDMTemplateVersionLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic DDMTemplateVersion getTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
getTemplateVersion in interface DDMTemplateVersionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic DDMTemplateVersion getTemplateVersion(long templateId, java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getTemplateVersion in interface DDMTemplateVersionLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId)
getTemplateVersions in interface DDMTemplateVersionLocalServicepublic java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
getTemplateVersions in interface DDMTemplateVersionLocalServicepublic int getTemplateVersionsCount(long templateId)
getTemplateVersionsCount in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion updateDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
Important: Inspect DDMTemplateVersionLocalServiceImpl 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.
updateDDMTemplateVersion in interface DDMTemplateVersionLocalServiceddmTemplateVersion - the ddm template versionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplateVersion> getCTPersistence()
getCTPersistence in interface DDMTemplateVersionLocalServicegetCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMTemplateVersion>public java.lang.Class<DDMTemplateVersion> getModelClass()
getModelClass in interface DDMTemplateVersionLocalServicegetModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMTemplateVersion>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplateVersion>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface DDMTemplateVersionLocalServiceupdateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMTemplateVersion>E extends java.lang.Throwablepublic DDMTemplateVersionLocalService getWrappedService()
getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMTemplateVersionLocalService>public void setWrappedService(DDMTemplateVersionLocalService ddmTemplateVersionLocalService)
setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<DDMTemplateVersionLocalService>