@ProviderType 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.
|
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) |
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() |
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.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,
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.
|
public DDMTemplateVersionLocalServiceWrapper(DDMTemplateVersionLocalService ddmTemplateVersionLocalService)
public DDMTemplateVersion addDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
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 DDMTemplateVersion deleteDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
deleteDDMTemplateVersion
in interface DDMTemplateVersionLocalService
ddmTemplateVersion
- the ddm template versionpublic DDMTemplateVersion deleteDDMTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
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 DDMTemplateVersion fetchDDMTemplateVersion(long templateVersionId)
fetchDDMTemplateVersion
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 DDMTemplateVersion getLatestTemplateVersion(long templateId) throws com.liferay.portal.kernel.exception.PortalException
getLatestTemplateVersion
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 DDMTemplateVersion getTemplateVersion(long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException
getTemplateVersion
in interface DDMTemplateVersionLocalService
com.liferay.portal.kernel.exception.PortalException
public DDMTemplateVersion updateDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
updateDDMTemplateVersion
in interface DDMTemplateVersionLocalService
ddmTemplateVersion
- the ddm template versionpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface DDMTemplateVersionLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMTemplateVersionLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface DDMTemplateVersionLocalService
public 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 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
com.liferay.portal.kernel.exception.PortalException
public int getDDMTemplateVersionsCount()
getDDMTemplateVersionsCount
in interface DDMTemplateVersionLocalService
public int getTemplateVersionsCount(long templateId)
getTemplateVersionsCount
in interface DDMTemplateVersionLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
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 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 DDMTemplateVersionModelImpl
. 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 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 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 DDMTemplateVersionModelImpl
. 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 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 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 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 DDMTemplateVersionModelImpl
. 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.
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 java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
getTemplateVersions
in interface DDMTemplateVersionLocalService
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 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>