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