public class DDMTemplateVersionLocalServiceWrapper extends java.lang.Object implements DDMTemplateVersionLocalService, com.liferay.portal.kernel.service.ServiceWrapper<DDMTemplateVersionLocalService>
DDMTemplateVersionLocalService
.DDMTemplateVersionLocalService
Constructor and Description |
---|
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(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 DDMTemplateVersionLocalService
ddmTemplateVersion
- the ddm template versionpublic DDMTemplateVersion createDDMTemplateVersion(long templateVersionId)
createDDMTemplateVersion
in interface DDMTemplateVersionLocalService
templateVersionId
- 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 DDMTemplateVersionLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public 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 DDMTemplateVersionLocalService
ddmTemplateVersion
- 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 DDMTemplateVersionLocalService
templateVersionId
- 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 DDMTemplateVersionLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public void deleteTemplateVersions(long templateId)
deleteTemplateVersions
in interface DDMTemplateVersionLocalService
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface DDMTemplateVersionLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface DDMTemplateVersionLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMTemplateVersionLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface DDMTemplateVersionLocalService
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.DDMTemplateVersionModelImpl
.
dynamicQuery
in interface DDMTemplateVersionLocalService
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.DDMTemplateVersionModelImpl
.
dynamicQuery
in interface DDMTemplateVersionLocalService
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 DDMTemplateVersionLocalService
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 DDMTemplateVersionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic DDMTemplateVersion fetchDDMTemplateVersion(long templateVersionId)
fetchDDMTemplateVersion
in interface DDMTemplateVersionLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDMTemplateVersionLocalService
public DDMTemplateVersion getDDMTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
getDDMTemplateVersion
in interface DDMTemplateVersionLocalService
templateVersionId
- 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 DDMTemplateVersionLocalService
start
- 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 DDMTemplateVersionLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDMTemplateVersionLocalService
public DDMTemplateVersion getLatestTemplateVersion(long templateId) throws com.liferay.portal.kernel.exception.PortalException
getLatestTemplateVersion
in interface DDMTemplateVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface DDMTemplateVersionLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface DDMTemplateVersionLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public DDMTemplateVersion getTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
getTemplateVersion
in interface DDMTemplateVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMTemplateVersion getTemplateVersion(long templateId, java.lang.String version) throws com.liferay.portal.kernel.exception.PortalException
getTemplateVersion
in interface DDMTemplateVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId)
getTemplateVersions
in interface DDMTemplateVersionLocalService
public java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
getTemplateVersions
in interface DDMTemplateVersionLocalService
public int getTemplateVersionsCount(long templateId)
getTemplateVersionsCount
in interface DDMTemplateVersionLocalService
public 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 DDMTemplateVersionLocalService
ddmTemplateVersion
- the ddm template versionpublic com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplateVersion> getCTPersistence()
getCTPersistence
in interface DDMTemplateVersionLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMTemplateVersion>
public java.lang.Class<DDMTemplateVersion> getModelClass()
getModelClass
in interface DDMTemplateVersionLocalService
getModelClass
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 DDMTemplateVersionLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<DDMTemplateVersion>
E extends java.lang.Throwable
public 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>