/** * Returns the ddm content with the primary key. * * @param contentId the primary key of the ddm content * @return the ddm content * @throws PortalException if a ddm content with the primary key could not be found */ @Override public com.liferay.dynamic.data.mapping.model.DDMContent getDDMContent( long contentId) throws com.liferay.portal.kernel.exception.PortalException { return _ddmContentLocalService.getDDMContent(contentId); }
/** * Returns the ddm content with the primary key. * * @param contentId the primary key of the ddm content * @return the ddm content * @throws PortalException if a ddm content with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMContent getDDMContent( long contentId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getDDMContent(contentId); }