/** * Deletes the ddm template version from the database. Also notifies the appropriate model listeners. * * @param ddmTemplateVersion the ddm template version * @return the ddm template version that was removed */ @Override public com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( com.liferay.dynamic.data.mapping.model.DDMTemplateVersion ddmTemplateVersion) { return _ddmTemplateVersionLocalService.deleteDDMTemplateVersion(ddmTemplateVersion); }
/** * Deletes the ddm template version with the primary key from the database. Also notifies the appropriate model listeners. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version that was removed * @throws PortalException if a ddm template version with the primary key could not be found */ @Override public com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return _ddmTemplateVersionLocalService.deleteDDMTemplateVersion(templateVersionId); }
/** * @throws PortalException */ @Override public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException { return ddmTemplateVersionLocalService.deleteDDMTemplateVersion((DDMTemplateVersion)persistedModel); }
/** * Deletes the ddm template version from the database. Also notifies the appropriate model listeners. * * @param ddmTemplateVersion the ddm template version * @return the ddm template version that was removed */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( com.liferay.dynamic.data.mapping.model.DDMTemplateVersion ddmTemplateVersion) { return getService().deleteDDMTemplateVersion(ddmTemplateVersion); }
/** * Deletes the ddm template version with the primary key from the database. Also notifies the appropriate model listeners. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version that was removed * @throws PortalException if a ddm template version with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteDDMTemplateVersion(templateVersionId); }