public class DDMTemplateVersionLocalServiceWrapper extends java.lang.Object implements DDMTemplateVersionLocalService, 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.
|
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.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteTemplateVersions(long templateId) |
<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.
|
DDMTemplateVersion |
fetchDDMTemplateVersion(long templateVersionId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
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.
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
DDMTemplateVersion |
getLatestTemplateVersion(long templateId) |
java.lang.Class<DDMTemplateVersion> |
getModelClass() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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,
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(UnsafeFunction<CTPersistence<DDMTemplateVersion>,R,E> updateUnsafeFunction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic DDMTemplateVersionLocalServiceWrapper(DDMTemplateVersionLocalService ddmTemplateVersionLocalService)
public DDMTemplateVersion addDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
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 PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface DDMTemplateVersionLocalServicecreatePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic DDMTemplateVersion deleteDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
deleteDDMTemplateVersion in interface DDMTemplateVersionLocalServiceddmTemplateVersion - the ddm template versionpublic DDMTemplateVersion deleteDDMTemplateVersion(long templateVersionId) throws PortalException
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 PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface DDMTemplateVersionLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalExceptionpublic void deleteTemplateVersions(long templateId)
deleteTemplateVersions in interface DDMTemplateVersionLocalServicepublic <T> T dslQuery(DSLQuery dslQuery)
dslQuery in interface DDMTemplateVersionLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface DDMTemplateVersionLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DDMTemplateVersionLocalServicedynamicQuery - 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.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(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.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(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DDMTemplateVersionLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface DDMTemplateVersionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic DDMTemplateVersion fetchDDMTemplateVersion(long templateVersionId)
fetchDDMTemplateVersion in interface DDMTemplateVersionLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion getDDMTemplateVersion(long templateVersionId) throws 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 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion getLatestTemplateVersion(long templateId) throws PortalException
getLatestTemplateVersion in interface DDMTemplateVersionLocalServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface DDMTemplateVersionLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface DDMTemplateVersionLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalExceptionpublic DDMTemplateVersion getTemplateVersion(long templateVersionId) throws PortalException
getTemplateVersion in interface DDMTemplateVersionLocalServicePortalExceptionpublic DDMTemplateVersion getTemplateVersion(long templateId, java.lang.String version) throws PortalException
getTemplateVersion in interface DDMTemplateVersionLocalServicePortalExceptionpublic java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId)
getTemplateVersions in interface DDMTemplateVersionLocalServicepublic java.util.List<DDMTemplateVersion> getTemplateVersions(long templateId, int start, int end, OrderByComparator<DDMTemplateVersion> orderByComparator)
getTemplateVersions in interface DDMTemplateVersionLocalServicepublic int getTemplateVersionsCount(long templateId)
getTemplateVersionsCount in interface DDMTemplateVersionLocalServicepublic DDMTemplateVersion updateDDMTemplateVersion(DDMTemplateVersion ddmTemplateVersion)
updateDDMTemplateVersion in interface DDMTemplateVersionLocalServiceddmTemplateVersion - the ddm template versionpublic CTPersistence<DDMTemplateVersion> getCTPersistence()
getCTPersistence in interface DDMTemplateVersionLocalServicegetCTPersistence in interface CTService<DDMTemplateVersion>public java.lang.Class<DDMTemplateVersion> getModelClass()
getModelClass in interface DDMTemplateVersionLocalServicegetModelClass in interface CTService<DDMTemplateVersion>public <R,E extends java.lang.Throwable> R updateWithUnsafeFunction(UnsafeFunction<CTPersistence<DDMTemplateVersion>,R,E> updateUnsafeFunction) throws E extends java.lang.Throwable
updateWithUnsafeFunction in interface DDMTemplateVersionLocalServiceupdateWithUnsafeFunction in interface CTService<DDMTemplateVersion>E extends java.lang.Throwablepublic DDMTemplateVersionLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<DDMTemplateVersionLocalService>public void setWrappedService(DDMTemplateVersionLocalService ddmTemplateVersionLocalService)
setWrappedService in interface ServiceWrapper<DDMTemplateVersionLocalService>