/** * Returns the ddm template version with the primary key. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version * @throws PortalException if a ddm template version with the primary key could not be found */ @Override public com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return _ddmTemplateVersionLocalService.getDDMTemplateVersion(templateVersionId); }
/** * Returns the ddm template version with the primary key. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version * @throws PortalException if a ddm template version with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getDDMTemplateVersion(templateVersionId); }