/** * @param id id of the resource to set the UUID for * @param uuid the new UUID of the resource * @throws org.sakaiproject.exception.IdInvalidException if the given resource already has a UUID * set */ public static void setUuid(java.lang.String id, java.lang.String uuid) throws org.sakaiproject.exception.IdInvalidException { org.sakaiproject.content.api.ContentHostingService service = getInstance(); if (service == null) return; service.setUuid(id, uuid); }